Skip to content

Docs

Python SDK Usage

The full usage guide for the Python SDK, covering typed calls, model selection, retries, error handling, logging, environment variables, and forward compatibility.
Format
Docs
Reading time
2 min
Published by
TypeSafe AI
Last verified
Sep 2026

Highlights

  • Shows sync and async client.system_one calls with Noul, Choice, and Score questions.
  • Documents base URL overrides for OpenRouter and the Vercel AI Gateway.
  • RetryPolicy defaults are shown as max_retries 3, backoff_max 0.2, and timeout 1.0.
  • Environment variables include TYPESAFE_API_KEY, TYPESAFE_BASE_URL, and TYPESAFE_DEFAULT_MODEL.

Watch out

Official but vendor-written; it notes request and response bodies are not redacted in debug logs.

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