Installation
Quick Start
Multi-Agent Workflows
Agent Handoffs
Context Variables
Share context between agents:Streaming
Error Handling
Best Practices
- Agent Specialization: Create focused agents for specific domains
- Clear Instructions: Write explicit agent instructions
- Tool Scoping: Limit tools to what each agent needs
- Context Management: Use context variables for shared state
- Error Recovery: Implement error handling in agents
TypeScript Types
Differences from OpenAI Provider
| Feature | OpenAI Provider | OpenAI Agents Provider |
|---|---|---|
| Tool Execution | Manual | Automatic |
| Multi-Agent | No | Yes |
| Handoffs | No | Yes |
| Context Sharing | No | Yes |
| Streaming | Manual | Built-in |
Next Steps
OpenAI Provider
Standard OpenAI integration
Tools API
Learn about tools
Connected Accounts
Set up user authentication
Examples
View example code