Use the TypeScript Agent SDK when your app needs more than one-shot generation:Documentation Index
Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
Use this file to discover all available pages before exploring further.
- multi-step local tool loops
- resumable run state
- gateway-backed model turns
- structured outputs and plugin-aware routing
@ai-stats/sdk and is the most feature-complete Agent SDK in the current language set.
What you get
createAgent()defineTool()createGatewayAgentClient()continueRun()and richer lifecycle hooks- support for local tool concurrency, human review pauses, and typed output parsing