a0-typesafe-ai
Agent Zero plugin adding a typesafe_query tool that asks Jev Choice, Noul and Score questions and shows probability cards in chat.
Overview
A community plugin that brings Jev into Agent Zero. It adds a typesafe_query tool so the agent can ask focused questions over the same evidence in one call, mixing Choice, Noul and Score, and see typed answers as probability cards in the chat. It uses the official TypeSafe Python SDK and bundles the official TypeSafe agent skill unchanged.
Settings cover the API key (with fallback to TYPESAFE_API_KEY from Agent Zero's secret store or the environment), model alias (jev-latest by default) and request timeout. Only the explicit state and questions are sent, keys are never tool arguments, and the SDK retries transient failures once. It is not an official TypeSafe or Agent Zero product.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Choice | Which team should handle `message`? | billing · technical · other |
| Yes / no | Does `message` request a refund? | yes · no |
| Score | How time-sensitive is the request in `message`? | No deadline · Within a week · Today or immediately |
How it works
- Agent Zero decides to call typesafe_query with state and questions
- Plugin sends them via the TypeSafe Python SDK
- Jev returns distributions per question
- Results appear as cards in an expandable JEV process step
Strengths
- Several typed questions in one call
- Keys kept out of tool arguments and results
- Project and agent-profile scoped settings
Caveats
- Unofficial community plugin
- Requests incur TypeSafe usage charges
Getting started
Install the plugin in Agent Zero, set the API key in its settings or TYPESAFE_API_KEY, then ask the agent to use Jev.At a glance
- Type
- Project
- Status
- beta
- Language
- Python
- Runtime
- Agent Zero plugin
- Has code
- yes
Use cases and integrations
How curated lists describe it
TypeSafe AI Jev judgments for Agent Zero, with typed tools and probability cards.
hellogumbo/awesome-jev
Frequently asked questions
What does the plugin add?
A typesafe_query tool for Agent Zero that returns typed Jev answers with probability cards.
Where does the key come from?
The plugin setting, or TYPESAFE_API_KEY from Agent Zero secrets or the process environment.
Is it official?
No, it is a community plugin using the official SDK and skill.
Related projects
Go integration bringing TypeSafe Choice, Score and Noul to Google's adk-go agents, with a typed client, routing agent and callbacks.
ProjectbetaGoDeepSeek Harness plugin exposing Jev noul, choice and score as agent tools, with configurable guardrails and Web UI result cards.
PluginbetaTypeScriptRuby gem for probabilistic conditionals like Feelings(msg).like?("urgent"), answered by Jev or other decision models.
ProjectbetaRubyJava/Spring Boot MCP server exposing Jev classify, score, check and patch-gate tools over HTTP instead of stdio.
MCP serverbetaJavaCLI and MCP tool that finds hard-coded judgment calls in your code, scores how well Jev fits, and replaces strong fits with a fallback.
ProjectbetaTypeScriptBAML library adding a typed .feels() 'AI if statement' backed by Jev, with .how() for probabilities and an LLM only for writing.
ProjectprototypeBAML