Libraries
Framework
Start
Router
Data & State
Query
DB
Store
AI
UI
Table
Charts
Form
Markdown
Highlight
UX
Virtual
Pacer
Hotkeys
Tooling
Devtools
Config
CLI
Intent
Browse all libraries
Blog
Blog & Release Notes
About
YouTube
The official TanStack channel.
Workshops
Live sessions from the maintainers.
Release Notes
The latest releases and changelog.
Community
Channels
Discord
Real-time community support.
GitHub
Source, issues, discussions, and releases.
People & Work
Maintainers
Meet the people maintaining the stack.
Showcase
Projects selected by the TanStack team.
Community projects
Tools
Tools
Application Starter
Alpha
Generate TanStack app starters.
Builder
Alpha
Build and share TanStack projects.
Stats
NPM and ecosystem usage data.
Merch
View all
Support
Support
Support Overview
Find the right support path.
Partners
Companies supporting TanStack.
OSS Sponsors
Sponsors keeping TanStack open source.
Enterprise Support
Private consulting and expert support.
Contact
Get in touch with the TanStack team.
About
Ethos
How we approach open source.
Tenets
The values that shape TanStack libraries.
Design System
Logos, tokens, and UI components.
Search
Ask AI
Libraries
Blog
Community
Tools
Merch
Support
Search
Ask AI
Sign In
Back
TanStack Intent
/
Registry
/
trigger.dev
Fetching package from npm...
TanStack Intent
/
Registry
/
trigger.dev
trigger.dev
4.7.2 (latest) — 6 skills
4.7.1 — 6 skills
4.7.0 — 6 skills
0.0.0-prerelease-windows-bundle-fix-20260928100448 — 6 skills
4.6.4 — 6 skills
4.6.3 — 6 skills
4.6.2 — 6 skills
4.6.1 — 6 skills
4.6.0 — 6 skills
0.0.0-prerelease-20260911153544 — 6 skills
0.0.0-prerelease-20260911094758 — 6 skills
0.0.0-bun-prerelease-20260909132648 — 6 skills
0.0.0-bun-runtimes-20260909131057 — 6 skills
0.0.0-prerelease-20260909121655 — 6 skills
0.0.0-prerelease-streamfix-20260909094302 — 6 skills
0.0.0-prerelease-20260909071038 — 6 skills
0.0.0-prerelease-20260908122921 — 6 skills
4.5.16 — 6 skills
0.0.0-prerelease-nodemodule-exclude-fix-20260902142214 — 6 skills
0.0.0-prerelease-nodemodule-copy-fix-20260902124940 — 6 skills
4.5.15 — 6 skills
4.5.14 — 6 skills
0.0.0-prerelease-20260828141059 — 6 skills
4.5.13 — 6 skills
0.0.0-prerelease-server-set-build-path-20260828082517 — 6 skills
0.0.0-prerelease-20260827143549 — 6 skills
0.0.0-prerelease-20260827125919 — 6 skills
0.0.0-prerelease-local-bundle-20260825080823 — 6 skills
0.0.0-prerelease-local-bundle-20260824142657 — 6 skills
4.5.12 — 6 skills
0.0.0-prerelease-deployment-base-image-20260814120901 — 6 skills
4.5.11 — 6 skills
0.0.0-prerelease-20260810145618 — 6 skills
4.5.10 — 6 skills
0.0.0-v4-prerelease-20260807113753 — 6 skills
4.5.9 — 6 skills
4.5.8 — 6 skills
4.5.7 — 6 skills
4.5.6 — 6 skills
4.5.5 — 6 skills
4.5.4 — 6 skills
4.5.3 — 6 skills
4.5.2 — 6 skills
4.5.1 — 6 skills
4.5.0 — 6 skills
Copy install prompt
A Command-Line Interface for Trigger.dev projects
Skills
(6)
Skills
All Skills
6
trigger-authoring-chat-agent
core
trigger-authoring-tasks
core
trigger-chat-agent-advanced
core
trigger-cost-savings
core
trigger-getting-started
core
trigger-realtime-and-frontend
core
Skills
6
History
trigger-authoring-chat-agent
core
Author and run a durable AI chat agent with chat.agent from @trigger.dev/sdk/ai: the per-turn run loop, why you MUST take streamText from the run argument rather than importing it from ai, returning a StreamTextResult vs calling chat.pipe(), the two server actions (chat.createStartSessionAction + auth.createPublicToken), and wiring useChat to useTriggerChatTransport. Load this when building, modifying, or debugging a chat backend (the agent task or its lifecycle hooks) or its React transport, when declaring typed tools or custom data parts, or when migrating a plain AI SDK streamText route to chat.agent.
65 lines
trigger-authoring-tasks
core
Covers writing backend Trigger.dev tasks with @trigger.dev/sdk: defining task() and schemaTask(), the run function and its ctx, retries, waits, queues and concurrency, idempotency keys, run metadata, logging, triggering other tasks (and the Result shape), scheduled/cron tasks, and the essentials of trigger.config.ts. Load this whenever you are authoring or editing code inside a /trigger directory, defining a task, or writing backend code that triggers tasks. Realtime/React hooks and AI chat are covered by separate skills.
58 lines
trigger-chat-agent-advanced
core
Advanced and operational chat.agent capabilities for Trigger.dev, loaded on demand. Load this when working on the raw Sessions primitive (sessions / SessionHandle), a custom chat transport or the realtime wire protocol, durable sub-agents (AgentChat, chat.stream.writer), human-in-the-loop, steering, actions, background injection (chat.defer / chat.inject), fast starts (preload, Head Start via @trigger.dev/sdk/chat-server), context resilience (compaction, recovery boot, OOM, large payloads), chat.local run-scoped state, offline testing with mockChatAgent, or prerelease/version upgrades. For the everyday chat.agent({...}) definition and the useTriggerChatTransport happy path, use the trigger-authoring-chat-agent skill instead.
71 lines
trigger-cost-savings
core
Analyze Trigger.dev tasks, schedules, and runs for cost optimization opportunities. Use when asked to reduce spend, optimize costs, audit usage, right-size machines, or review task efficiency. Combines static source analysis with live run analysis via the Trigger.dev MCP tools (list_runs, get_run_details, get_current_worker).
36 lines
trigger-getting-started
core
Bootstrap Trigger.dev into an existing project from scratch: authenticate the CLI, install @trigger.dev/sdk and @trigger.dev/build, write trigger.config.ts with the project ref and task dirs, scaffold a /trigger directory with a first task, wire tsconfig and .gitignore, set TRIGGER_SECRET_KEY, and run the dev server. Load this when a project has no trigger.config.ts yet and the user asks to "add Trigger.dev", "set up Trigger.dev", "initialize Trigger.dev", or get a first task running, including in a monorepo. Once the project is set up and you are writing task code, switch to the trigger-authoring-tasks skill.
226 lines
trigger-realtime-and-frontend
core
Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @trigger.dev/react-hooks hook useRealtimeRun), consume metadata and AI/text streams in React (useRealtimeStream), trigger tasks from the browser (useTaskTrigger, useRealtimeTaskTrigger), and mint scoped frontend credentials with auth.createPublicToken / auth.createTriggerPublicToken. Load when wiring a frontend (React/Next.js/Remix) or backend-for-frontend to show live run progress, status badges, token streams, trigger buttons, or wait-token approval UIs. NOT for writing the backend task itself (streams.define / metadata.set is trigger-authoring-tasks territory); this is the consumer side.
59 lines