Skip to content

Docs

Client SDKs

The official SDK hub: Python and JavaScript/TypeScript clients with typed questions and answers plus automatic retries, and the HTTP API for every other language.
Format
Docs
Reading time
1 min
Published by
TypeSafe AI
Last verified
Sep 2026

Highlights

  • Two official SDKs: Python and JavaScript/TypeScript.
  • Both provide typed questions and answers and retry automatically with a default policy.
  • Other languages call the HTTP API directly.

Quickstart

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

const client = new TypeSafeClient();
const response = await client.systemOne({
  state: { document: "I was charged twice. Please fix this ASAP." },
  questions: {
    category: choice("What is this ticket about?", { billing: null, technical: null, other: null }),
  },
});
console.log(response.answers.category.choice);

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