← back to the directory
Library / SDK Guardrails & Structure

TypeChat

1Get 2typed, 3schema-safe 4responses 5from 6LLMs.

the six Ws · specification

W1 Who

Built by Microsoft.

W2 What

Uses TypeScript types to constrain and validate model responses.

W3 Where

A TypeScript/Python library in your app.

W4 When

When you need structured output as types.

W5 Why

Replaces brittle prompt engineering with type schemas.

W6 With

An LLM API and TypeScript.

W7 Watch

Microsoft open-source, MIT; you supply your own model API key.

MicrosoftTypeScriptSchema

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.