Topic
AI Agent Tools
A tool is where the agent touches the real world, so most production issues live here. This topic covers the whole tool lifecycle: typed definitions with Zod, input/output hooks, repairing malformed tool calls, generating tools at runtime, and gating destructive actions behind human approval. Then the capabilities themselves — neural web search with Exa, scraping with Cheerio and Firecrawl, and PDF ingestion — each wired into a working chat you can test.
Featured patterns
A curated starting point for this topic — open a live preview, then adapt the source.

Exa Web Search Tool
Search with Exa's semantic API and real-time crawling. Includes live content extraction and relevance scoring.

Web Search Tool
Search the web using OpenAI's tool with real-time results. Includes source verification, citation tracking, and contextual answers.

Cheerio Web Scraper
Extract content from websites using Cheerio. Includes parsing, link discovery, and rate limiting.

PDF Analysis Tool
Process PDFs with AI analysis. Extract text, generate summaries, and identify key insights.

Dynamic Tool
Create dynamic tools with runtime-generated schemas using dynamicTool. Demonstrates unit conversion tools where schema adapts based on conversion type (temperature, length, weight, currency) and supports dynamic model selection.

Tool Input Lifecycle Hooks
Explore tool input lifecycle hooks: onInputStart, onInputDelta, and onInputAvailable. See how to track tool input generation in real-time during streaming.

HIL Tool Approval Basic
Chat assistant with human approval workflows for safe tool execution.

HIL Needs Approval
Demonstrate tool approval with async generators. Includes real-time feedback, approval workflows, and interactive management.
More patterns
Additional patterns that fit this topic.
Related topics
Continue with adjacent topics that share the same building blocks.
AI Agent Orchestration
7Working orchestration code, not diagrams: routing, sub-agent delegation, parallel fan-out, and orchestrator-worker patterns in TypeScript on the AI SDK. Live previews + full source.
Durable AI Agents
11Agents that survive restarts: durable execution with the Workflow DevKit, plus Eve agents with long-term memory, cron schedules, and approval gates that park and resume. TypeScript, full source.
AI SDK Examples
71Complete, running examples for the AI SDK: generateText, streamText, structured output, tool calling, agent loop control, prepareStep, and tool-call repair. Copy the source, keep shipping.
Browse by category
Jump into the catalog filtered by category.
You’ve reached the end of AI Agent Tools.













