Build an agent that orchestrates multiple tool calls in sequence, using the AI SDK's maxSteps and automatic tool result forwarding.
Loading interactive preview...
Automatically installs the pattern and its dependencies in your project.
Download the complete pattern as a standalone Next.js project.
Add your AI provider API key to enable real functionality.
Open http://localhost:3000 to see the pattern in action.
The pattern is ready to use. Modify the components, API routes, and styling to fit your application.
app/page.tsxapp/api/Build agents that research destinations, compare prices, book flights, and create itineraries through multiple coordinated steps.
Create agents that gather information from multiple sources, synthesize findings, and generate comprehensive reports.
Develop agents that break down projects, assign tasks, track progress, and generate status updates automatically.
Build agents that tackle multi-step problems like legal research, medical diagnosis, or engineering analysis.
The multi-step-agent pattern demo is being prepared.
Download the pattern to try it with your API key