Requirements
Node.js
Node.js LTS (20+)
Zod
Zod 3.25.76+ or 4.0.0+ (peer dependency)
Install Package
Install AI Provider
Install the AI provider you want to use. The agent framework works with any Vercel AI SDK provider.Environment Variables
Set up your API keys as environment variables:.env
Verify Installation
Create a simple test file to verify your installation:test.ts
TypeScript Configuration
Ensure yourtsconfig.json includes these settings:
tsconfig.json
Next Steps
Create Your First Agent
Build a simple agent
Add Tools
Integrate tools with your agent