Skip to content

typesafe-go

Go utilities for TypeSafe: a grep-like qgrep CLI, a kubectl plugin for asking questions about pod logs, and an SDK.

Servicebeta

Overview

This repository collects TypeSafe API utilities written in Go. qgrep is a grep-like CLI that reads text from stdin and asks noul, choice and score questions written inline, such as whether a file contains personal information or whether it is a log or meeting note. kubectl qlog is a kubectl plugin that asks questions about Kubernetes pod logs, for example whether logs contain RBAC errors.

Underneath is a standard-library-only Go SDK that reads the usual TypeSafe environment variables, is safe for concurrent use, and supports custom transports and per-call retry policies. It suits operators who want quick typed judgments in shell and Kubernetes workflows. The qgrep syntax lets you write choices and score levels inline, for example a choice between application log, meeting note or other, which makes ad hoc checks over files quick to try.

What the decision model decides

TypeQuestionAnswers
Yes / noDoes this file contain personal information?yes · no
ChoiceIs this file an application log, meeting note, or other?application log · meeting note · other
Yes / noDo these logs contain RBAC errors?yes · no

How it works

  1. Pipe text into qgrep or run kubectl qlog on a deployment.
  2. The tool sends the text and inline questions to System One.
  3. Answers are printed in the chosen output format.
  4. Scripts or operators act on them.

Strengths

  • Inline question syntax for quick shell use.
  • kubectl integration for log triage.
  • Concurrency-safe SDK with no dependencies.

Caveats

  • Requires a TypeSafe key.
  • Log content is sent to the hosted API.

Getting started

cat file.txt | qgrep --noul "Does this file contain personal information?"

At a glance

Type
Service
Status
beta
Language
Go
Runtime
CLI, kubectl plugin, library
Has code
yes

Use cases and integrations

How curated lists describe it

Frequently asked questions

What is qgrep?

A grep-like CLI that asks natural-language typed questions about piped text.

What does kubectl qlog do?

Asks TypeSafe questions about Kubernetes pod logs.

Is there an SDK?

Yes, a standard-library-only Go client.

Related projects

  • Jev★ 8

    PowerShell module that builds Jev Noul, Choice and Score questions and returns answers as pipeline-friendly properties.

    LibrarybetaPowerShell
  • Python SDK for typed Jev judgments that masks state before sending and returns 'undecided' instead of raising on any failure.

    LibrarybetaPython
  • Python CLI that analyses JSON, NDJSON and JSONC logs and artifacts with Jev question packs, anchoring each answer to source lines.

    CLIbetaPython
  • Adds Jev semantic rules to Zod 4 schemas: Zod checks the shape, Jev checks the meaning, all rules in one request.

    LibrarybetaTypeScript
  • Hack Club's lightweight LLM proxy, listed for adding a Jev forwarding endpoint behind its auth, limits and usage logging.

    MCP serverproductionTypeScript
  • Ax, a DSPy-style multi-language LLM framework, listed with a native TypeSafe provider for Boolean, Choice, Score and raw Jev questions.

    PluginproductionTypeScript