Learn common patterns and build real-world applications with these guides.
Tutorials
Understanding Agents
How agents use tools and run in loops
RAG Agent
Build a retrieval-augmented generation agent
Patterns
Background Tasks
Run long-running tasks asynchronously
Chat with History
Persist conversation history
Cron with Storage
Schedule tasks that read and write data
LLM as a Judge
Use LLMs to evaluate agent outputs
Server Utilities
Common server-side utilities
Product Search
Build a semantic product search
Tailwind Setup
Configure Tailwind CSS for your frontend
Webhook Handler
Handle incoming webhooks