Skip to content

Commit d16c228

Browse files
jackbridgerTrigger.dev RepoOps
authored andcommitted
docs: lead with agents, refresh screenshots and drop dated pages
Mono-RevId: 7642b9bb92383602514f9184321cb1e4f2804c56
1 parent e9461cb commit d16c228

56 files changed

Lines changed: 225 additions & 266 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/ai-chat/changelog.mdx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22
title: "AI Agents SDK changelog"
33
sidebarTitle: "Changelog"
44
description: "Changelog for the AI Agents SDK."
5+
hidden: true
56
---
67

8+
<Note>
9+
This page covers releases up to 4.5.0. For newer releases, see the [Trigger.dev changelog](https://trigger.dev/changelog).
10+
</Note>
11+
712
<Update label="July 2, 2026" description="4.5.0" tags={["SDK", "Bug fix"]}>
813

914
## Point chat sessions at a different project or environment

‎docs/ai-chat/mcp.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebarTitle: "MCP Server"
44
description: "Chat with your agents from any AI coding tool using the Trigger.dev MCP server."
55
---
66

7-
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.
7+
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.
88

99
## Available tools
1010

‎docs/building-with-ai.mdx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ We provide multiple tools to help AI coding assistants write correct Trigger.dev
1212
<Steps>
1313

1414
<Step title="Install the MCP Server">
15-
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.
15+
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.
1616

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

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

62-
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.
62+
`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.
6363

6464
<Accordion title="Copy the snippet">
6565

‎docs/config/config-file.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Read more about task lifecycle functions in the [tasks overview](/tasks/overview
118118

119119
## Instrumentations
120120

121-
We use OpenTelemetry (OTEL) for our run logs. This means you get a lot of information about your tasks with no effort. But you probably want to add more information to your logs. For example, here's all the Prisma calls automatically logged:
121+
We use OpenTelemetry (OTEL) for our run logs. This means you get a lot of information about your tasks with no effort. But you probably want to add more information to your logs. For example, here are a task's HTTP requests traced automatically:
122122

123123
![The run log](/images/auto-instrumentation.png)
124124

‎docs/deploy-environment-variables.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ We deploy your tasks and scale them up and down when they are triggered. So any
2121
</Step>
2222

2323
<Step title="Add your environment variables">
24-
You can add values for your local dev environment, staging and prod. ![Environment variables
24+
Choose the environments the variables apply to (Development, Staging, Production or Preview), then add each key and value. Use **Add another** for more rows. ![Environment variables
2525
page](/images/environment-variables-panel.jpg)
2626
</Step>
2727

‎docs/docs.json‎

Lines changed: 110 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://mintlify.com/docs.json",
33
"theme": "maple",
44
"name": "Trigger.dev",
5-
"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.",
5+
"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.",
66
"colors": {
77
"primary": "#A8FF53",
88
"light": "#A8FF53",
@@ -21,13 +21,86 @@
2121
"groups": [
2222
{
2323
"group": "Getting started",
24+
"pages": ["introduction", "quick-start", "manual-setup", "how-it-works", "limits"]
25+
},
26+
{
27+
"group": "Agents",
2428
"pages": [
25-
"introduction",
26-
"quick-start",
27-
"manual-setup",
28-
"video-walkthrough",
29-
"how-it-works",
30-
"limits"
29+
"ai-chat/overview",
30+
"ai-chat/quick-start",
31+
"ai-chat/migrating-from-a-route-handler",
32+
{
33+
"group": "Building agents",
34+
"pages": [
35+
"ai-chat/anatomy",
36+
"ai-chat/backend",
37+
"ai-chat/lifecycle-hooks",
38+
"ai-chat/tools",
39+
"ai-chat/frontend",
40+
"ai-chat/server-chat",
41+
"ai-chat/sessions",
42+
"ai-chat/side-channels",
43+
"ai-chat/chat-local",
44+
"ai-chat/types",
45+
"ai-chat/custom-agents",
46+
"ai-chat/how-it-works"
47+
]
48+
},
49+
{
50+
"group": "Features",
51+
"pages": [
52+
"ai/prompts",
53+
"ai/observability",
54+
"ai-chat/fast-starts",
55+
"ai-chat/compaction",
56+
"ai-chat/prompt-caching",
57+
"ai-chat/pending-messages",
58+
"ai-chat/background-injection",
59+
"ai-chat/actions",
60+
"ai-chat/transcript-storage",
61+
"ai-chat/migrating-from-hydrate-messages",
62+
"ai-chat/error-handling"
63+
]
64+
},
65+
{
66+
"group": "Channels",
67+
"pages": [
68+
"webhooks/channels",
69+
"webhooks/slack",
70+
"webhooks/linear",
71+
"webhooks/human-in-the-loop"
72+
]
73+
},
74+
{
75+
"group": "Patterns",
76+
"pages": [
77+
"ai-chat/patterns/sub-agents",
78+
"ai-chat/patterns/version-upgrades",
79+
"ai-chat/patterns/database-persistence",
80+
"ai-chat/patterns/persistence-and-replay",
81+
"ai-chat/patterns/branching-conversations",
82+
"ai-chat/patterns/code-sandbox",
83+
"ai-chat/patterns/human-in-the-loop",
84+
"ai-chat/patterns/tool-result-auditing",
85+
"ai-chat/patterns/large-payloads",
86+
"ai-chat/patterns/skills",
87+
"ai-chat/patterns/oom-resilience",
88+
"ai-chat/patterns/recovery-boot",
89+
"ai-chat/patterns/trusted-edge-signals",
90+
"ai-chat/patterns/redacting-telemetry",
91+
"ai-chat/patterns/native-compaction"
92+
]
93+
},
94+
{
95+
"group": "Reference",
96+
"pages": [
97+
"ai-chat/reference",
98+
"ai-chat/client-protocol",
99+
"ai-chat/testing",
100+
"ai-chat/mcp",
101+
"ai-chat/upgrade-guide"
102+
]
103+
}
31104
]
32105
},
33106
{
@@ -108,87 +181,6 @@
108181
"runs/bulk-actions"
109182
]
110183
},
111-
{
112-
"group": "Agents",
113-
"pages": [
114-
"ai-chat/overview",
115-
"ai-chat/quick-start",
116-
"ai-chat/migrating-from-a-route-handler",
117-
{
118-
"group": "Building agents",
119-
"pages": [
120-
"ai-chat/anatomy",
121-
"ai-chat/backend",
122-
"ai-chat/lifecycle-hooks",
123-
"ai-chat/tools",
124-
"ai-chat/frontend",
125-
"ai-chat/server-chat",
126-
"ai-chat/sessions",
127-
"ai-chat/side-channels",
128-
"ai-chat/chat-local",
129-
"ai-chat/types",
130-
"ai-chat/custom-agents",
131-
"ai-chat/how-it-works"
132-
]
133-
},
134-
{
135-
"group": "Features",
136-
"pages": [
137-
"ai/prompts",
138-
"ai/observability",
139-
"ai-chat/fast-starts",
140-
"ai-chat/compaction",
141-
"ai-chat/prompt-caching",
142-
"ai-chat/pending-messages",
143-
"ai-chat/background-injection",
144-
"ai-chat/actions",
145-
"ai-chat/transcript-storage",
146-
"ai-chat/migrating-from-hydrate-messages",
147-
"ai-chat/error-handling"
148-
]
149-
},
150-
{
151-
"group": "Channels",
152-
"pages": [
153-
"webhooks/channels",
154-
"webhooks/slack",
155-
"webhooks/linear",
156-
"webhooks/human-in-the-loop"
157-
]
158-
},
159-
{
160-
"group": "Patterns",
161-
"pages": [
162-
"ai-chat/patterns/sub-agents",
163-
"ai-chat/patterns/version-upgrades",
164-
"ai-chat/patterns/database-persistence",
165-
"ai-chat/patterns/persistence-and-replay",
166-
"ai-chat/patterns/branching-conversations",
167-
"ai-chat/patterns/code-sandbox",
168-
"ai-chat/patterns/human-in-the-loop",
169-
"ai-chat/patterns/tool-result-auditing",
170-
"ai-chat/patterns/large-payloads",
171-
"ai-chat/patterns/skills",
172-
"ai-chat/patterns/oom-resilience",
173-
"ai-chat/patterns/recovery-boot",
174-
"ai-chat/patterns/trusted-edge-signals",
175-
"ai-chat/patterns/redacting-telemetry",
176-
"ai-chat/patterns/native-compaction"
177-
]
178-
},
179-
{
180-
"group": "Reference",
181-
"pages": [
182-
"ai-chat/reference",
183-
"ai-chat/client-protocol",
184-
"ai-chat/testing",
185-
"ai-chat/mcp",
186-
"ai-chat/upgrade-guide",
187-
"ai-chat/changelog"
188-
]
189-
}
190-
]
191-
},
192184
{
193185
"group": "Webhooks",
194186
"pages": [
@@ -621,38 +613,34 @@
621613
"group": "Introduction",
622614
"pages": ["guides/introduction"]
623615
},
616+
{
617+
"group": "AI agents",
618+
"pages": [
619+
"guides/ai-agents/overview",
620+
"guides/ai-agents/chat-agent",
621+
"guides/ai-agents/generate-translate-copy",
622+
"guides/ai-agents/route-question",
623+
"guides/ai-agents/respond-and-check-content",
624+
"guides/ai-agents/translate-and-refine",
625+
"guides/ai-agents/verify-news-article",
626+
"guides/ai-agents/claude-code-trigger"
627+
]
628+
},
624629
{
625630
"group": "Frameworks",
626631
"pages": [
627-
"guides/frameworks/bun",
628632
"guides/frameworks/nextjs",
629633
"guides/frameworks/nodejs",
630-
"guides/frameworks/remix",
634+
"guides/frameworks/bun",
631635
"guides/frameworks/nextjs-webhooks",
632-
"guides/frameworks/remix-webhooks",
633-
"guides/community/sveltekit"
636+
"guides/community/sveltekit",
637+
"guides/frameworks/remix",
638+
"guides/frameworks/remix-webhooks"
634639
]
635640
},
636641
{
637642
"group": "Guides",
638643
"pages": [
639-
{
640-
"group": "AI Agents",
641-
"icon": {
642-
"name": "microchip-ai",
643-
"style": "regular"
644-
},
645-
"pages": [
646-
"guides/ai-agents/overview",
647-
"guides/ai-agents/chat-agent",
648-
"guides/ai-agents/generate-translate-copy",
649-
"guides/ai-agents/route-question",
650-
"guides/ai-agents/respond-and-check-content",
651-
"guides/ai-agents/translate-and-refine",
652-
"guides/ai-agents/verify-news-article"
653-
]
654-
},
655-
"guides/ai-agents/claude-code-trigger",
656644
"guides/frameworks/drizzle",
657645
"guides/frameworks/prisma",
658646
"guides/frameworks/nango",
@@ -672,10 +660,6 @@
672660
}
673661
]
674662
},
675-
{
676-
"group": "Migration guides",
677-
"pages": ["migrating-from-v3", "migration-mergent", "migration-n8n"]
678-
},
679663
{
680664
"group": "Use cases",
681665
"pages": [
@@ -694,15 +678,13 @@
694678
"guides/example-projects/batch-llm-evaluator",
695679
"guides/example-projects/claude-changelog-generator",
696680
"guides/example-projects/claude-github-wiki",
697-
"guides/example-projects/claude-thinking-chatbot",
698681
"guides/example-projects/clickhouse-chat-agent",
699682
"guides/example-projects/cursor-background-agent",
700683
"guides/example-projects/elevenlabs-voice-agent",
701684
"guides/example-projects/granola-meeting-agent",
702685
"guides/example-projects/grok-ai-teammates",
703686
"guides/example-projects/human-in-the-loop-workflow",
704687
"guides/example-projects/mastra-agents-with-memory",
705-
"guides/example-projects/meme-generator-human-in-the-loop",
706688
"guides/example-projects/openai-agents-sdk-typescript-playground",
707689
"guides/example-projects/product-image-generator",
708690
"guides/example-projects/realtime-csv-importer",
@@ -711,8 +693,7 @@
711693
"guides/example-projects/resend-email-agent",
712694
"guides/example-projects/smart-spreadsheet",
713695
"guides/example-projects/turborepo-monorepo-prisma",
714-
"guides/example-projects/vercel-ai-sdk-deep-research",
715-
"guides/example-projects/vercel-ai-sdk-image-generator"
696+
"guides/example-projects/vercel-ai-sdk-deep-research"
716697
]
717698
},
718699
{
@@ -728,7 +709,6 @@
728709
{
729710
"group": "Example tasks",
730711
"pages": [
731-
"guides/examples/dall-e3-generate-image",
732712
"guides/examples/deepgram-transcribe-audio",
733713
"guides/examples/fal-ai-image-to-cartoon",
734714
"guides/examples/fal-ai-realtime",
@@ -762,6 +742,18 @@
762742
"guides/community/rate-limiter",
763743
"guides/community/sveltekit"
764744
]
745+
},
746+
{
747+
"group": "Migration guides",
748+
"pages": [
749+
"migration-n8n",
750+
{
751+
"group": "Legacy",
752+
"hidden": true,
753+
"searchable": true,
754+
"pages": ["migrating-from-v3"]
755+
}
756+
]
765757
}
766758
]
767759
}

‎docs/guides/ai-agents/overview.mdx‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,6 @@ description: "Real world AI agent example tasks using Trigger.dev"
8282
Evaluate multiple LLM models in parallel with the Vercel AI SDK and stream the results to a
8383
Next.js frontend using Trigger.dev Realtime.
8484
</Card>
85-
<Card
86-
title="Claude thinking chatbot"
87-
icon="brain"
88-
href="/guides/example-projects/claude-thinking-chatbot"
89-
>
90-
Build a Next.js chatbot that streams Claude's extended thinking to the frontend with the Vercel
91-
AI SDK and Trigger.dev Realtime.
92-
</Card>
9385
</CardGroup>
9486

9587
## Chat agents

‎docs/guides/example-projects/claude-thinking-chatbot.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: "Claude 3.7 thinking chatbot"
33
sidebarTitle: "Claude thinking chatbot"
44
description: "This example Next.js project uses Vercel's AI SDK and Anthropic's Claude 3.7 model to create a thinking chatbot."
5+
hidden: true
56
---
67

78
import RealtimeLearnMore from "/snippets/realtime-learn-more.mdx";

0 commit comments

Comments
 (0)