Skip to main content
Back

TypeSafe Opens a Playbook So Coding Agents Make Smarter Decisions With Jev

TypeSafe released an open agent-skills pack that teaches Claude Code, Cursor, and Codex how to call its Jev model for typed, calibrated decisions.

Pro

Repo, Full Access
  • TypeSafe published an open agent-skills repo for its System One API, MIT licensed.
  • Installs as a Claude Code plugin or via npx skills add typesafe-ai/skills for other agents.
  • Wraps Jev, a model returning typed decisions with calibrated probabilities instead of free-form text.
  • Uses a new training algorithm called Reinforcement Learning for Calibrated Decisions (RLCD).
  • Skill teaches agents to keep policy in code and route uncertain cases to human review.
  • Targets ticket routing, moderation gates, tool selection, and search pruning in agent loops.

TypeSafe has released an open-source skills repository for coding agents including Claude Code, Cursor, and Codex. Its core artifact is a single SKILL.md file that teaches agents how to build workflows around Jev, TypeSafe’s model for typed decisions with calibrated probabilities.

Installing the skill adds integration guidance to an agent’s context. Jev remains available through TypeSafe’s System One API, which requires the usual credentials and client configuration.

One file defines the pattern

TypeSafe uses the term “System One Models” for models designed to make bounded decisions inside software. Jev accepts structured questions, selects from allowed values, and returns a probability distribution that application code can evaluate.

TypeSafe says Jev uses a new architecture, sampler, and training method called Reinforcement Learning for Calibrated Decisions, or RLCD. The skill presents these model calls as small, reusable judgments that can be composed into larger workflows. Application code retains control of orchestration, retries, thresholds, business rules, and final actions.

Probabilities become policy inputs

A machine-consumable decision needs a stable type and a useful uncertainty signal. Jev returns an allowed value alongside probabilities for the available choices, giving software a direct input for automation and escalation rules.

Calibration describes performance across many comparable predictions. When a well-calibrated model assigns a probability of 0.8 to a set of decisions, roughly 80% of those decisions should be correct on representative data. The score does not guarantee that any individual prediction is correct.

A ticket router can use the top probability to choose among three outcomes:

  • Automatic routing: Send high-confidence tickets directly to the predicted queue.
  • Human review: Escalate decisions that fall below a threshold established through testing.
  • Fallback handling: Apply a deterministic rule when the distribution is ambiguous or the input is incomplete.

Thresholds remain application policy. Teams need representative evaluations to set them, monitor drift, and measure error rates for each decision class.

Install paths for coding agents

Claude Code users can add the marketplace and install the plugin with two commands:

claude plugin marketplace add typesafe-ai/skills
claude plugin install typesafe@typesafe-ai

A generic skills installer supports other compatible agents:

npx skills add typesafe-ai/skills --skill typesafe-ai

The generic installer uses project-local scope by default. Adding -g installs the skill globally. Within Claude Code, /typesafe:typesafe-ai invokes it explicitly, while a natural-language request such as routing support tickets can allow the agent to select the skill automatically.

Keep business rules visible

The skill’s design guidance separates reusable model judgments from application policy. Its main recommendations include:

  • Keep weights in code. Scoring weights, display filters, and operational thresholds should remain inspectable and testable.
  • Reuse unchanged judgments. Updating a weight or display filter does not require another inference call when the evidence and question semantics remain unchanged.
  • Evaluate accuracy separately. Schema validity and decision accuracy are independent properties, so production data must test both.
  • Model vetoes explicitly. Weighted scores work for compensating preferences, while serious violations require separate conditions.
  • Protect credentials. Web applications should store API keys on the server and expose only the required results to clients.

The skill also directs agents to consult live documentation for current API contracts, SDK usage, model availability, limits, prompting guidance, and examples. Agents start from the documentation index and retrieve targeted pages instead of loading the entire site or relying on memorized interfaces.

Four places the pattern fits

Workflow Typed decision Application policy
Ticket routing Queue or issue category Route, escalate, or request more information
Content moderation Policy category or severity Allow, review, restrict, or block
Agent tool selection Tool identifier Execute the tool or ask for clarification
Search pruning Branch relevance Retain, deprioritize, or discard a branch

These workflows share a finite answer set, repeatable evaluations, and explicit escalation rules. Jev supplies the bounded judgment, while application code records the result and determines the next step.

SDKs complete the integration path

TypeSafe maintains an adapter repository with a drop-in TypeSafeClient replacement backed by standard LLM APIs. It also provides an official Python SDK and a TypeScript SDK. Accuracy and calibration remain backend-specific, so each model configuration requires separate evaluation.

The skills pack gives existing agent harnesses a concise route to their first typed decision call. Its strongest use cases involve narrow questions whose outputs can feed directly into tested, observable software policy.