Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/ai-chat/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
title: "AI Agents SDK changelog"
sidebarTitle: "Changelog"
description: "Changelog for the AI Agents SDK."
hidden: true
---

<Note>
This page covers releases up to 4.5.0. For newer releases, see the [Trigger.dev changelog](https://trigger.dev/changelog).
</Note>

<Update label="July 2, 2026" description="4.5.0" tags={["SDK", "Bug fix"]}>

## Point chat sessions at a different project or environment
Expand Down
2 changes: 1 addition & 1 deletion docs/ai-chat/mcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebarTitle: "MCP Server"
description: "Chat with your agents from any AI coding tool using the Trigger.dev MCP server."
---

The Trigger.dev MCP server includes tools for having conversations with your chat agents directly from AI coding tools like Claude Code, Cursor, Windsurf, and others. This lets your AI assistant interact with your agents without writing any code.
The Trigger.dev MCP server includes tools for having conversations with your chat agents directly from AI coding tools like Claude Code, Codex, Cursor and others. This lets your AI assistant interact with your agents without writing any code.

## Available tools

Expand Down
8 changes: 4 additions & 4 deletions docs/building-with-ai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ We provide multiple tools to help AI coding assistants write correct Trigger.dev
<Steps>

<Step title="Install the MCP Server">
Give your AI assistant direct access to Trigger.dev tools — search docs, trigger tasks, deploy projects, and monitor runs. Works with Claude Code, Cursor, Windsurf, VS Code (Copilot), and Zed.
Give your AI assistant direct access to Trigger.dev tools — search docs, trigger tasks, deploy projects, and monitor runs. Works with Claude Code, Codex, Cursor, VS Code (Copilot), Gemini CLI, Zed and other MCP clients.

```bash
npx trigger.dev@latest install-mcp
Expand Down Expand Up @@ -53,13 +53,13 @@ If you prefer a lightweight/passive approach, paste the snippet below into a con

| File | Read by |
|:-----|:--------|
| `AGENTS.md` | Most coding agents, including Codex, Cursor, GitHub Copilot, Devin Desktop, Cline, Jules and opencode |
| `CLAUDE.md` | Claude Code |
| `AGENTS.md` | OpenAI Codex, Jules, OpenCode |
| `.cursor/rules/*.md` | Cursor |
| `.github/copilot-instructions.md` | GitHub Copilot |
| `CONVENTIONS.md` | Windsurf, Cline, and others |
| `CONVENTIONS.md` | Aider (load it with `aider --read CONVENTIONS.md`) |

Create the file that matches your AI tool (or multiple files if your team uses different tools) and paste the snippet below. This gives the AI essential Trigger.dev context without installing anything.
`AGENTS.md` covers most tools, so start there and add `CLAUDE.md` if your team uses Claude Code. Create the file that matches your AI tool (or multiple files if your team uses different tools) and paste the snippet below. This gives the AI essential Trigger.dev context without installing anything.

<Accordion title="Copy the snippet">

Expand Down
228 changes: 110 additions & 118 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://mintlify.com/docs.json",
"theme": "maple",
"name": "Trigger.dev",
"description": "Trigger.dev is an open source background jobs framework that lets you write reliable workflows in plain async code. Run long-running AI tasks, handle complex background jobs, and build AI agents with built-in queuing, automatic retries, and real-time monitoring. No timeouts, elastic scaling, and zero infrastructure management required.",
"description": "Build and run durable AI agents and workflows in TypeScript. Long-running tasks with retries, queues, webhooks, observability, and elastic scaling. Open source and self-hostable.",
"colors": {
"primary": "#A8FF53",
"light": "#A8FF53",
Expand All @@ -21,13 +21,86 @@
"groups": [
{
"group": "Getting started",
"pages": ["introduction", "quick-start", "manual-setup", "how-it-works", "limits"]
},
{
"group": "Agents",
"pages": [
"introduction",
"quick-start",
"manual-setup",
"video-walkthrough",
"how-it-works",
"limits"
"ai-chat/overview",
"ai-chat/quick-start",
"ai-chat/migrating-from-a-route-handler",
{
"group": "Building agents",
"pages": [
"ai-chat/anatomy",
"ai-chat/backend",
"ai-chat/lifecycle-hooks",
"ai-chat/tools",
"ai-chat/frontend",
"ai-chat/server-chat",
"ai-chat/sessions",
"ai-chat/side-channels",
"ai-chat/chat-local",
"ai-chat/types",
"ai-chat/custom-agents",
"ai-chat/how-it-works"
]
},
{
"group": "Features",
"pages": [
"ai/prompts",
"ai/observability",
"ai-chat/fast-starts",
"ai-chat/compaction",
"ai-chat/prompt-caching",
"ai-chat/pending-messages",
"ai-chat/background-injection",
"ai-chat/actions",
"ai-chat/transcript-storage",
"ai-chat/migrating-from-hydrate-messages",
"ai-chat/error-handling"
]
},
{
"group": "Channels",
"pages": [
"webhooks/channels",
"webhooks/slack",
"webhooks/linear",
"webhooks/human-in-the-loop"
]
},
{
"group": "Patterns",
"pages": [
"ai-chat/patterns/sub-agents",
"ai-chat/patterns/version-upgrades",
"ai-chat/patterns/database-persistence",
"ai-chat/patterns/persistence-and-replay",
"ai-chat/patterns/branching-conversations",
"ai-chat/patterns/code-sandbox",
"ai-chat/patterns/human-in-the-loop",
"ai-chat/patterns/tool-result-auditing",
"ai-chat/patterns/large-payloads",
"ai-chat/patterns/skills",
"ai-chat/patterns/oom-resilience",
"ai-chat/patterns/recovery-boot",
"ai-chat/patterns/trusted-edge-signals",
"ai-chat/patterns/redacting-telemetry",
"ai-chat/patterns/native-compaction"
]
},
{
"group": "Reference",
"pages": [
"ai-chat/reference",
"ai-chat/client-protocol",
"ai-chat/testing",
"ai-chat/mcp",
"ai-chat/upgrade-guide"
]
}
]
},
{
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
Expand Down Expand Up @@ -108,87 +181,6 @@
"runs/bulk-actions"
]
},
{
"group": "Agents",
"pages": [
"ai-chat/overview",
"ai-chat/quick-start",
"ai-chat/migrating-from-a-route-handler",
{
"group": "Building agents",
"pages": [
"ai-chat/anatomy",
"ai-chat/backend",
"ai-chat/lifecycle-hooks",
"ai-chat/tools",
"ai-chat/frontend",
"ai-chat/server-chat",
"ai-chat/sessions",
"ai-chat/side-channels",
"ai-chat/chat-local",
"ai-chat/types",
"ai-chat/custom-agents",
"ai-chat/how-it-works"
]
},
{
"group": "Features",
"pages": [
"ai/prompts",
"ai/observability",
"ai-chat/fast-starts",
"ai-chat/compaction",
"ai-chat/prompt-caching",
"ai-chat/pending-messages",
"ai-chat/background-injection",
"ai-chat/actions",
"ai-chat/transcript-storage",
"ai-chat/migrating-from-hydrate-messages",
"ai-chat/error-handling"
]
},
{
"group": "Channels",
"pages": [
"webhooks/channels",
"webhooks/slack",
"webhooks/linear",
"webhooks/human-in-the-loop"
]
},
{
"group": "Patterns",
"pages": [
"ai-chat/patterns/sub-agents",
"ai-chat/patterns/version-upgrades",
"ai-chat/patterns/database-persistence",
"ai-chat/patterns/persistence-and-replay",
"ai-chat/patterns/branching-conversations",
"ai-chat/patterns/code-sandbox",
"ai-chat/patterns/human-in-the-loop",
"ai-chat/patterns/tool-result-auditing",
"ai-chat/patterns/large-payloads",
"ai-chat/patterns/skills",
"ai-chat/patterns/oom-resilience",
"ai-chat/patterns/recovery-boot",
"ai-chat/patterns/trusted-edge-signals",
"ai-chat/patterns/redacting-telemetry",
"ai-chat/patterns/native-compaction"
]
},
{
"group": "Reference",
"pages": [
"ai-chat/reference",
"ai-chat/client-protocol",
"ai-chat/testing",
"ai-chat/mcp",
"ai-chat/upgrade-guide",
"ai-chat/changelog"
]
}
]
},
{
"group": "Webhooks",
"pages": [
Expand Down Expand Up @@ -621,38 +613,34 @@
"group": "Introduction",
"pages": ["guides/introduction"]
},
{
"group": "AI agents",
"pages": [
"guides/ai-agents/overview",
"guides/ai-agents/chat-agent",
"guides/ai-agents/generate-translate-copy",
"guides/ai-agents/route-question",
"guides/ai-agents/respond-and-check-content",
"guides/ai-agents/translate-and-refine",
"guides/ai-agents/verify-news-article",
"guides/ai-agents/claude-code-trigger"
]
},
{
"group": "Frameworks",
"pages": [
"guides/frameworks/bun",
"guides/frameworks/nextjs",
"guides/frameworks/nodejs",
"guides/frameworks/remix",
"guides/frameworks/bun",
"guides/frameworks/nextjs-webhooks",
"guides/frameworks/remix-webhooks",
"guides/community/sveltekit"
"guides/community/sveltekit",
"guides/frameworks/remix",
"guides/frameworks/remix-webhooks"
]
},
{
"group": "Guides",
"pages": [
{
"group": "AI Agents",
"icon": {
"name": "microchip-ai",
"style": "regular"
},
"pages": [
"guides/ai-agents/overview",
"guides/ai-agents/chat-agent",
"guides/ai-agents/generate-translate-copy",
"guides/ai-agents/route-question",
"guides/ai-agents/respond-and-check-content",
"guides/ai-agents/translate-and-refine",
"guides/ai-agents/verify-news-article"
]
},
"guides/ai-agents/claude-code-trigger",
"guides/frameworks/drizzle",
"guides/frameworks/prisma",
"guides/frameworks/nango",
Expand All @@ -672,10 +660,6 @@
}
]
},
{
"group": "Migration guides",
"pages": ["migrating-from-v3", "migration-mergent", "migration-n8n"]
},
{
"group": "Use cases",
"pages": [
Expand All @@ -694,23 +678,20 @@
"guides/example-projects/batch-llm-evaluator",
"guides/example-projects/claude-changelog-generator",
"guides/example-projects/claude-github-wiki",
"guides/example-projects/claude-thinking-chatbot",
"guides/example-projects/clickhouse-chat-agent",
"guides/example-projects/cursor-background-agent",
"guides/example-projects/elevenlabs-voice-agent",
"guides/example-projects/grok-ai-teammates",
"guides/example-projects/human-in-the-loop-workflow",
"guides/example-projects/mastra-agents-with-memory",
"guides/example-projects/meme-generator-human-in-the-loop",
"guides/example-projects/openai-agents-sdk-typescript-playground",
"guides/example-projects/product-image-generator",
"guides/example-projects/realtime-csv-importer",
"guides/example-projects/realtime-fal-ai",
"guides/example-projects/resend-email-agent",
"guides/example-projects/smart-spreadsheet",
"guides/example-projects/turborepo-monorepo-prisma",
"guides/example-projects/vercel-ai-sdk-deep-research",
"guides/example-projects/vercel-ai-sdk-image-generator"
"guides/example-projects/vercel-ai-sdk-deep-research"
]
},
{
Expand All @@ -726,7 +707,6 @@
{
"group": "Example tasks",
"pages": [
"guides/examples/dall-e3-generate-image",
"guides/examples/deepgram-transcribe-audio",
"guides/examples/fal-ai-image-to-cartoon",
"guides/examples/fal-ai-realtime",
Expand Down Expand Up @@ -760,6 +740,18 @@
"guides/community/rate-limiter",
"guides/community/sveltekit"
]
},
{
"group": "Migration guides",
"pages": [
"migration-n8n",
{
"group": "Legacy",
"hidden": true,
"searchable": true,
"pages": ["migrating-from-v3"]
}
]
}
]
}
Expand Down
8 changes: 0 additions & 8 deletions docs/guides/ai-agents/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,6 @@ description: "Real world AI agent example tasks using Trigger.dev"
Evaluate multiple LLM models in parallel with the Vercel AI SDK and stream the results to a
Next.js frontend using Trigger.dev Realtime.
</Card>
<Card
title="Claude thinking chatbot"
icon="brain"
href="/guides/example-projects/claude-thinking-chatbot"
>
Build a Next.js chatbot that streams Claude's extended thinking to the frontend with the Vercel
AI SDK and Trigger.dev Realtime.
</Card>
</CardGroup>

## Chat agents
Expand Down
1 change: 1 addition & 0 deletions docs/guides/example-projects/claude-thinking-chatbot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "Claude 3.7 thinking chatbot"
sidebarTitle: "Claude thinking chatbot"
description: "This example Next.js project uses Vercel's AI SDK and Anthropic's Claude 3.7 model to create a thinking chatbot."
hidden: true
---

import RealtimeLearnMore from "/snippets/realtime-learn-more.mdx";
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/example-projects/mastra-agents-with-memory.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ By combining Mastra's persistent memory system and agent orchestration with Trig
- **[Mastra](https://mastra.ai)** for AI agent orchestration and memory management (Mastra is a Typescript framework for building AI agents, and uses Vercel's AI Agent SDK under the hood.)
- **[PostgreSQL](https://postgresql.org)** for persistent storage and memory sharing
- **[Trigger.dev](https://trigger.dev)** for task orchestration, batching, and observability
- **[OpenAI GPT-4](https://openai.com)** for natural language processing
- **[OpenAI GPT-4o](https://openai.com)** for the agents' responses
- **[Open-Meteo API](https://open-meteo.com)** for weather data (no API key required)
- **[Zod](https://zod.dev)** for schema validation and type safety

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "Meme generator with human-in-the-loop approval"
sidebarTitle: "AI meme generator"
description: "This example project creates memes using OpenAI's DALL-E 3 with a human-in-the-loop approval workflow built using Trigger.dev waitpoint tokens."
hidden: true
---

## Overview
Expand Down
Loading
Loading