Let the AI model call functions and use external tools with the multi-step tool loop.
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 weather applications that call real weather APIs, parse data, and present forecasts in natural language.
Create smart financial tools that perform complex calculations, market analysis, and investment recommendations.
Develop natural language interfaces for database operations, data analysis, and report generation.
Build shopping assistants that check inventory, process orders, calculate shipping, and handle customer inquiries.