Skip to content

Docs

Python SDK Guide

Usage guide for typesafe-sdk: sync and async clients, uv and pip installs, and one request mixing Noul, Choice, and Score questions with answers grouped by type.
Format
Docs
Reading time
1 min
Published by
TypeSafe AI
Last verified
Sep 2026

Highlights

  • Install with uv add typesafe-sdk or pip install typesafe-sdk.
  • AsyncTypeSafeClient covers async code; TypeSafeClient is synchronous.
  • The quickstart asks three questions in one request and reads response.nouls, response.choices, and response.scores.

Quickstart

python
questions={
    "billing": Noul(instructions="Is this ticket about billing?"),
    "tone": Choice(
        instructions="What is the customer's tone?",
        criteria={"calm": None, "frustrated": None, "angry": None},
    ),
    "urgency": Score(
        instructions="How urgent is this ticket?",
        criteria=["can wait", "this week", "today"],
    ),
},

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: Getting started: install the skill

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