Back to Trigger

AI agents overview

docs/guides/ai-agents/overview.mdx

4.5.114.0 KB
Original Source

Example projects using AI agents

<CardGroup cols={2}> <Card icon="scroll" title="Claude changelog generator" href="/guides/example-projects/claude-changelog-generator" > Automatically generate professional changelogs from git commits using Claude. </Card> <Card icon="book" title="Claude GitHub wiki agent" href="/guides/example-projects/claude-github-wiki" > Generate and maintain GitHub wiki documentation with Claude-powered analysis. </Card>

<Card icon="chart-column" title="ClickHouse chat agent" href="/guides/example-projects/clickhouse-chat-agent"

Build a chat agent that answers questions about your ClickHouse data with charts, tables and maps
using `chat.agent()` and generative UI.
</Card> <Card icon="hand" title="Human-in-the-loop workflow" href="/guides/example-projects/human-in-the-loop-workflow" > Create audio summaries of newspaper articles using a human-in-the-loop workflow built with ReactFlow and Trigger.dev waitpoint tokens. </Card> <Card title="Mastra agents with memory" icon="database" href="/guides/example-projects/mastra-agents-with-memory" > Use Mastra to create a weather agent that can collect live weather data and generate clothing recommendations. </Card> <Card title="OpenAI Agent Python SDK guardrails" icon="snake" href="/guides/example-projects/openai-agent-sdk-guardrails" > Use the OpenAI Agent SDK to create a guardrails system for your AI agents. </Card> <Card title="OpenAI Agent TypeScript SDK playground" icon="rocket" href="/guides/example-projects/openai-agents-sdk-typescript-playground" > A playground containing 7 AI agents using the OpenAI Agent SDK for TypeScript with Trigger.dev. </Card> <Card title="Vercel AI SDK deep research agent" icon="triangle" href="/guides/example-projects/vercel-ai-sdk-deep-research" > Use the Vercel AI SDK to generate comprehensive PDF reports using a deep research agent. </Card> <Card title="Smart Spreadsheet" icon="table" href="/guides/example-projects/smart-spreadsheet" > Enrich company data using Exa search and Claude with real-time streaming results. </Card> </CardGroup>

Chat agents

Build a durable, multi-turn chat agent with chat.agent(). A durable session per conversation, with streaming and resumability handled for you.

<CardGroup cols={2}> <Card title="Chat agent" icon="message-bot" href="/guides/ai-agents/chat-agent" > Create a durable, multi-turn chat agent with `chat.agent()`, then add tools to it. </Card> </CardGroup>

Agent fundamentals

These guides will show you how to set up different types of AI agent workflows with Trigger.dev. The examples take inspiration from Anthropic's blog post on building effective agents.

<CardGroup cols={2}> <Card title="Prompt chaining" img="/guides/ai-agents/prompt-chaining.png" href="/guides/ai-agents/generate-translate-copy" > Chain prompts together to generate and translate marketing copy automatically </Card> <Card title="Routing" img="/guides/ai-agents/routing.png" href="/guides/ai-agents/route-question"> Send questions to different AI models based on complexity analysis </Card> <Card title="Parallelization" img="/guides/ai-agents/parallelization.png" href="/guides/ai-agents/respond-and-check-content" > Simultaneously check for inappropriate content while responding to customer inquiries </Card> <Card title="Orchestrator" img="/guides/ai-agents/orchestrator-workers.png" href="/guides/ai-agents/verify-news-article" > Coordinate multiple AI workers to verify news article accuracy </Card> <Card title="Evaluator-optimizer" img="/guides/ai-agents/evaluator-optimizer.png" href="/guides/ai-agents/translate-and-refine" > Translate text and automatically improve quality through feedback loops </Card> </CardGroup>