Trigger.dev
Tool / library · Free + paid
Background tasks and workflows in TypeScript: queues, retries, schedules, logs, and long-running tasks. Unlike a prompt collection, it provides a reusable SDK and examples of working backend code.

What you can use for free
Apache-2.0 self-hosting; hosted Free provides $5 in monthly credits according to the source documentation.
Paid features and costs
A hosted upgrade after credits are spent, external APIs, and infrastructure.
Access and limitations
Apache-2.0 code and self-hosting are available free under the license. Hosted Free provides $5 in monthly credits; an upgrade is required after they are spent. External LLMs/APIs and your own infrastructure are billed separately. Self-hosting requires your own containers, Postgres, Redis, and workers. According to the current documentation table, warm starts, autoscaling, and checkpoints are cloud-only; full equivalence between free self-hosting and the cloud must not be promised. The MCP can run tasks and deploy; access choices and dev-only mode must be considered for a future connection.
Use cases
- Process uploads, video, or documents in the background
- Synchronize external APIs on a schedule
- Orchestrate AI pipeline steps with retries and human-in-the-loop
Example workflow
A possible workflow; this is not a report of hands-on testing.
Example workflow with Trigger.dev: Process uploads, video, or documents in the background.
Before you start
- An event source and sample input data; the required action after processing.
- Your own service connections and a list of possible errors or repeat runs.
Steps
- For the task “Process uploads, video, or documents in the background”: build a short input → processing → result sequence using test data.
- Check transformations and authorization for each connection separately.
- Test normal operation, an error, and a repeat run; only then expand the sequence.
Check your result
- Data reaches the intended recipient without losing fields; repeats do not create extra results.
- External API costs, data access, and license restrictions on the workflow are accounted for separately.
Choosing Trigger.dev
Process uploads, video, or documents in the background
Choose this when
- Process uploads, video, or documents in the background
- Synchronize external APIs on a schedule
- Orchestrate AI pipeline steps with retries and human-in-the-loop
Requirements
- For self-hosting, pin a version-tagged release and align it with the CLI; choose a supported SDK major version.
Things to consider
- Costs and limits of free use: A hosted upgrade after credits are spent, external APIs, and infrastructure.
- Terms of use: Apache-2.0.
- The documentation considers v3 EOL: 4.5.0 is the last release with v3 tasks; 4.5.1+ rejects v3 triggers/deploys. Full Cloud/self-hosted feature parity must not be promised.
Frequently asked questions
What can you use for free in Trigger.dev?
Apache-2.0 self-hosting; hosted Free provides $5 in monthly credits according to the source documentation.
What additional costs might arise with Trigger.dev?
A hosted upgrade after credits are spent, external APIs, and infrastructure.
How does Trigger.dev fit into an AI agent workflow?
The official agent skills explicitly list Codex CLI; release notes describe version-pinned Trigger.dev skills for Codex. An official MCP and AGENTS.md rules are also available. This is documented support; it was not connected locally.
Which environment can you use Trigger.dev in?
Tech stack: TypeScript.
How do you get started with Trigger.dev?
For the task “Process uploads, video, or documents in the background”: build a short input → processing → result sequence using test data. Check transformations and authorization for each connection separately. Test normal operation, an error, and a repeat run; only then expand the sequence.
How does self-hosted Trigger.dev differ from Cloud, and is task duration limited?
TypeScript tasks use queues/retries/schedules/logs. Self-hosting comprises webapp and worker containers; updates and infrastructure remain your responsibility. According to the documentation, warm starts, auto-scaling, and checkpoints are available in Cloud but not self-hosting. maxDuration limits compute time and stops tasks that exceed it; waits with wait.for/triggerAndWait/batchTriggerAndWait do not count toward this limit.
Related tasks and approaches
Tech stack
- TypeScript
Agent compatibility
The official agent skills explicitly list Codex CLI; release notes describe version-pinned Trigger.dev skills for Codex. An official MCP and AGENTS.md rules are also available. This is documented support; it was not connected locally.
License
Apache-2.0.
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsTechnologies and topics
- TypeScript
- Queues
- Retries