API Reference
Learn more about what Agents can do, the Agent class, and the APIs that Agents expose:
- Agents API
- Routing
- Configuration
- Chat agents
- Client SDK
- Callable methods
- Store and sync state
- WebSockets
- HTTP and Server-Sent Events
- Schedule tasks
- Durable execution
- Queue tasks
- Retries
- Run Workflows
- Sub-agents
- Agent tools
- Think
- Sessions
- Codemode
- Using AI Models
- Retrieval Augmented Generation
- Browse the web
- Voice agents
- createMcpHandler
- McpAgent
- McpClient
- Protocol messages
- Readonly connections
- getCurrentAgent()
- Observability