Skip to content
JevDirectory.org
OfficialRepos & SDKs

JavaScript SDK API Reference

The generated API reference for the official JavaScript SDK, listing every exported class, interface, function, and type.

Category
Repos & SDKs
Format
Docs
Published by
TypeSafe AI
Author
—
Added
2026-09-25
Last verified
2026-09-25

Highlights

  • Classes include TypeSafeClient and a full error hierarchy from APIError to RateLimitError.
  • Interfaces cover ChoiceQuestion, ScoreQuestion, NoulQuestion, SystemOneRequest, and RetryPolicy.
  • Helper functions choice(), noul(), and score() are documented alongside ENV and LOG_LEVELS.

Watch out

An index with no prose or examples; pair it with the JavaScript usage guide.

Related terms

Glossary definitions related to this entry.

More like this

Quickstart for @typesafe-ai/sdk on Node 20+: answer types inferred from your questions, a choice() helper, and one systemOne call to classify a support ticket.
Repos & SDKsDocs#official#docs#sdk
Official
Official TypeScript/JavaScript client with inferred answer types, retries, and a question DSL. `npm install @typesafe-ai/sdk`.
Repos & SDKs#official#sdk#typescript
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.
Repos & SDKsDocs#official#docs#sdk
Official
Back to all resources

From the community

Posts from builders shipping with Jev right now.

Follow @typesafeai

A Claude session from 1M to 86K tokens

This is actually insane. This uses @typesafeai Jev model, as a plugin in Claude to review all the un-nesseasary tool calls, and it takes 1s to run! Like, literally, 1 second to take my Claude session from nearly 1M to ... 86K tokens! 😮 Ask your claude to install it and be  Show more

Image
Image
tamara
tamara
@tamarajtran

found the perfect use case for @typesafeai Jev: instant compaction in 2026, why is compaction still a summarization prompt? Jev can make it instant by scoring every tool call and dropping what’s irrelevant

Reply

Vercel's fx safety reviewer, 18x faster

We're seeing extraordinary results from @typesafeai. Default mode in 𝚏𝚡 is auto, with a safety reviewer analyzing every command. That reviewer runs on GPT Luna today. Jev is up to 18x faster (p95) *and* more accurate. It's coming to @vercel AI Gateway and likely new default.

Pranit
Pranit
Vercel
@fazxes

We benchmarked fx auto mode (safety) classifier with @typesafeai's Jev. tl;dr: ~5-18x faster and more accurate than 𝚐𝚙𝚝-𝟻.𝟼-𝚕𝚞𝚗𝚊, our current top choice

Image
Reply

Jev lands on OpenRouter

700 leads scored for $0.09

Beating Gemini Flash Lite on an eval

Browser Use Ultrafast, powered by Jev