Hello World
The simplest possible agent - 5 lines
Weather Agent
Tools + external API + structured output
Chat App
Multi-turn conversation with Vercel AI frontend
Bank Support
Canonical Pydantic AI teaching example ported to TypeScript
RAG
Retrieval-augmented generation with tool-based vector search
Graph Workflow
Multi-step FSM pipeline using BaseNode and Graph
Human-in-the-Loop
End-to-end deferred tool approval flow
A2A
Two agents communicating via the A2A protocol