Trace Jev in TypeScript
The TypeScript SDK now traces TypeSafe AI's Jev calls as decision spans with model, tokens and cost.

You can now trace Jev, TypeSafe AI's decision model, from TypeScript. Each call appears as a decision span with the resolved model version, input and output tokens, and cost, next to the questions Jev was asked and the answers and probabilities it returned.
Upgrade to @traceroot-ai/traceroot 0.5.0 and pass the TypeSafe SDK to initialize:
ts
import * as typeSafe from "@typesafe-ai/sdk";
import { TraceRoot } from "@traceroot-ai/traceroot";
TraceRoot.initialize({ instrumentModules: { typeSafe } });
Every systemOne call made after that is traced. See the release notes for details.
Start tracing your Jev calls in TraceRoot today.