|
15 | 15 |
|
16 | 16 | A better TypeScript agent SDK for Azure OpenAI. Build multi-agent systems with tools, handoffs, guardrails, streaming, structured output, and more. |
17 | 17 |
|
18 | | -- **One framework, two swappable backends** — Chat Completions and Responses API through the same interface. Switch with one line. |
19 | | -- **No more 404 config spiral** — auto-endpoint detection for standard, foundry, and full URLs. Built-in retry with exponential backoff and unified content filter errors. |
20 | | -- **One call, entire tool loop** — model calls, parallel tool execution, result appending, and looping back. No manual message array management. |
21 | | -- **Client-side agent state** — no server-side threads or opaque IDs. Save, resume, and fork conversations with portable snapshots. |
22 | | -- **Budget enforcement built in** — set a dollar limit and the run stops before you get a surprise bill. Cost estimation accounts for cached and reasoning tokens. |
23 | | -- **Auth validated at construction** — API key or Entra ID, enforced mutually exclusive. No silent misconfiguration that surfaces as a mysterious 401 three calls later. |
| 18 | +- **Built for Azure, not bolted on** — auto-endpoint detection, Entra ID auth, content filter errors as typed exceptions, and built-in retry. No 404 config spirals, no "which SDK do I use" confusion. |
| 19 | +- **Two API backends, one interface** — Chat Completions and Responses API through the same agent, tool, and session code. Start with one, switch with a single line. |
| 20 | +- **Multi-agent orchestration** — handoffs, subagents, guardrails, and hooks compose through a single run loop. Hooks can deny or modify tool calls at runtime. |
| 21 | +- **Client-side state you control** — save, resume, and fork conversations as portable JSON snapshots. No server-side threads, no opaque session IDs. |
| 22 | +- **Type-safe from schema to output** — Zod schemas drive tool parameters, structured output, and validation. Context types flow through agents, hooks, and guardrails at compile time. |
| 23 | +- **Zero dependencies** — only Zod as a peer dep. No transitive dependency sprawl, no framework lock-in. |
24 | 24 |
|
25 | 25 | `agents` `tools` `streaming` `structured output` `handoffs` `subagents` `guardrails` `hooks` `tracing` `sessions` `abort signals` `todo tracking` `cost tracking` |
26 | 26 |
|
|
0 commit comments