Skip to content

Jev directory

OpenInference Instrumentation for TypeSafe AI SDK

OpenInference instrumentation package for the TypeSafe AI Node.js SDK. Each client.systemOne call emits one OpenTelemetry DECISION span carrying JSON input and output, decision model metadata, and token usage.
Reading time
2 min
Published by
Community
Added
Oct 2026

Highlights

  • Each TypeSafeClient.systemOne call produces one OpenInference DECISION span with JSON input.value and output.value.
  • Model and usage are recorded under decision.* attributes rather than llm.*, following decision span conventions.
  • Trace config supports hideInputs and hideOutputs for masking or redaction of decision payloads.
  • Requires Node.js 20+ and is compatible with @typesafe-ai/sdk >=0.6.0 paired with instrumentation ^0.1.0.
  • client.models.list() is not instrumented, and the wrapped return value stays an SDK APIPromise.

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