Skip to content

Article

Jev in practice: typed decisions, scoped authority

Tenuo's engineering write-up of safe-upgrade, a dependency-upgrade agent built on Jev, LangGraph and Tenuo: Jev turns repository evidence into typed probabilistic choices, the graph routes on confidence, and each action gets a short-lived task-scoped warrant.
Format
Article
Reading time
2 min
Published by
Community
Author
Tenuo Engineering
Last verified
Oct 2026

Highlights

  • Design rule from the post: keep judgment, control flow and authority separate across Jev, LangGraph and Tenuo.
  • Jev returns choice, confidence and a probability per option; low confidence or malformed output takes a deterministic fallback.
  • The candidate action set is computed before the request and validated again after it, in ordinary TypeScript.
  • Workers get narrowed warrants: smaller tool sets, run_check restricted to tests, 600-second TTL, terminal so they cannot delegate.
  • Built with @typesafe-ai/sdk; a run shows authoring a regression test chosen at confidence 0.82.

Quickstart

ts
import { choice, TypeSafeClient } from "@typesafe-ai/sdk";

const client = new TypeSafeClient();
const criteria = Object.fromEntries(
  input.eligibleActions.map(({ action, reason }) => [action, reason]),
);
const result = await client.systemOne({
  state: JSON.parse(JSON.stringify(input)),
  questions: {
    next: choice("Choose the eligible action that most directly reduces the unresolved risk in this upgrade. Every option is already permitted; pick the most useful one.", criteria),
  },
});

Watch out

Grounded in the tenuo.ai engineering post captured on 2026-10-15; the article is truncated in this batch, and the example run is illustrative, with no published benchmarks for the upgrade agent's decision quality.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai