Trigger.dev
Build, deploy, and observe durable AI agents and background workflows.
- Source repo
- triggerdotdev/trigger.dev
- Stars
- ★ 17k
- Last updated
- 6d ago
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 57/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A TypeScript product team needs AI workflows that may outlive ordinary serverless execution limits, such as multi-stage model calls with waits on external services.
- Not a fit if
- Teams that need fully offline operation or data that never leaves their network
- Teams wanting a ready-made conversational agent or bundled model, not execution infrastructure
- Teams unwilling to integrate task, queue, and environment abstractions into their architecture
- Source review
- 57/100 · Major gaps
What does this agent do, and when should you use it?
Trigger.dev is an open-source platform for building AI workflows and background tasks in TypeScript. Developers define tasks inside their own codebase with its JavaScript/TypeScript SDK, then connect them to Trigger.dev Cloud or deploy the platform using its documented self-hosting paths. Its execution model targets long-running work and includes checkpoint-based durability, automatic retries, queues, concurrency controls, idempotency, and elastic scaling. Tasks can pause for time or human judgment, while Realtime subscriptions can deliver run updates and streamed AI responses to applications. Each run exposes tracing, logs, mutable metadata, and operational controls across Development, Preview, Staging, and Production environments. It fits teams that need reliable execution infrastructure and run visibility, rather than adopters seeking a prebuilt conversational agent, bundled model, or predefined agent behavior.
A developer imports task from @trigger.dev/sdk, assigns a unique id, and implements an asynchronous run function that reads a typed payload and executes application code. Tasks can be triggered individually or in batches, started on recurring schedules, and paused with waits or waitpoints; waitpoints support human approval, rejection, or feedback. The platform queues runs, enforces concurrency rules, retries uncaught failures, and resumes durable work through checkpointing. Trigger.dev Realtime and its React hooks let frontends subscribe to runs, receive live updates, and stream AI responses. Runs produce logs and traces and can carry tags and progressively updated metadata; operators can also replay or cancel runs in bulk and configure failure alerts. Tasks can run on the managed, auto-scaling cloud, while the platform also offers Docker Compose and Kubernetes self-hosting paths.
- A TypeScript product team needs AI workflows that may outlive ordinary serverless execution limits, such as multi-stage model calls with waits on external services.
- A backend team needs resource-heavy background jobs with configurable CPU and memory plus system packages for browsers, Python scripts, or FFmpeg.
- An operations or review team needs automation to stop at a critical decision point until a person approves, rejects, or supplies feedback.
- A product team wants a React interface that displays background-run progress, changing metadata, or streamed AI output in real time.
- A platform team needs to schedule and batch work with queues and concurrency limits, then investigate failures through retries, traces, logs, and alerts.
- An organization with deployment-control requirements wants a choice between a managed cloud and Docker Compose or Kubernetes self-hosting.
How do you install or deploy this agent?
The supplied material does not include a copyable SDK installation command, supported Node.js version, package-manager command, cloud credential names, or self-hosting environment variables. The documented fastest path is to create an account and project at https://cloud.trigger.dev and follow its onboarding flow. Task code requires @trigger.dev/sdk, but the exact installation command must be confirmed from the quick-start documentation. Docker Compose and an official Kubernetes Helm chart are named as self-hosting options, but no reproducible deployment commands or configuration are included here.
How do you use this agent?
Define and export a task in the application codebase. This is the minimal task shown in the supplied material:
import { task } from "@trigger.dev/sdk";
//1. You need to export each task
export const helloWorld = task({
//2. Use a unique id for each task
id: "hello-world",
//3. The run function is the main function of the task
run: async (payload: { message: string }) => {
//4. You can write code that runs for a long time here, there are no timeouts
console.log(payload.message);
},
});This task accepts a payload containing message and logs it from run. The supplied material does not show the first API request, CLI command, endpoint, authentication variable, or deployment command needed to trigger it, so completing a first run requires the additional steps from the cloud onboarding or quick-start documentation.
What are this agent's strengths and limitations?
- Long-running tasks are presented as having no execution timeout and are backed by checkpointing, automatic retries, queues, and idempotency.
- Deployed tasks can include system packages and run browsers, Python scripts, and FFmpeg, providing a broader execution boundary than a JavaScript-only function.
- Human participation is a first-class workflow operation: waitpoints can hold a task for approval, rejection, or feedback.
- Every run includes tracing and logs, with metadata, tags, failure alerts, replay, cancellation, and bulk operational actions.
- Adopters can choose between managed auto-scaling infrastructure and explicit Docker Compose or Kubernetes self-hosting paths.
- The primary development interface is JavaScript and TypeScript; other languages are only described as scripts that a task may run, not as equivalent SDKs.
- The managed path depends on connectivity to Trigger.dev, while self-hosting transfers Docker Compose or Kubernetes deployment and operational work to the adopter.
- The supplied material omits the SDK install command, Node.js version, authentication setup, first trigger call, and complete self-hosting configuration.
- This is execution and orchestration infrastructure, not a bundled model, prompt set, agent personality, or documented provider adapter; teams must supply that application logic.
- Its task, queue, environment, and versioning abstractions must be integrated into an application's architecture and release process.
How does this agent compare with similar options?
Compared with AWS Lambda, Vercel, and other serverless platforms, Trigger.dev explicitly positions its tasks as long-running work without the execution timeouts associated with those alternatives. The supplied material provides no quantitative comparison of cost, latency, throughput, or total feature coverage.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Trigger.dev This agent | 57 · Major gaps | Library / SDKFreemium | ★ 17k | 6d ago | TypeScript | — |
| Agentspan | 62 · Some gaps | CLIFree + model costs | ★ 498 | 1mo ago | TypeScript | OpenAI API · Claude API |
| Dagu Workflow Orchestrator | 74 · Some gaps | CLIFreemium | ★ 4.5k | today | Go | Codex · Claude Code · Claude API |
| Conductor Workflow Engine | 68 · Some gaps | CLIFree + model costs | ★ 32k | 1d ago | Java | Claude Code · OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows security policy (SECURITY.md) and dependency overrides (package.json), but no explicit least-privilege design or user confirmation mechanism. Data flow transparency is limited. Sensitive data handling has tests (env var redaction) but not comprehensive. External effects and rollback not clearly defined. Source attribution has contributor list but publisher unverified.
Self-consistency is good, docs and code examples align. Dependency availability has pnpm lockfile and overrides but not verified. Failure messages not evident in provided files.
Target audience clear (AI workflow developers), scenarios broad. Capability boundaries documented, trigger precision via task IDs and schedules. Environment fit includes self-hosting and cloud options.
Information architecture clear, install notes have quick start and self-hosting guides. Naming stable, examples and FAQ present. Known limitations not explicitly listed. License Apache-2.0, versioning with changesets. Maintenance responsibility has contributing guide and community support.
Output usability high with SDK and docs. Marginal value clear with unique features. Cost-benefit reasonable, open-source free.
Claims supported by docs, but cross-source verification limited. Fact-inference separation good, but no executed tests.
- Publisher identity unverified, treat with caution.
- No explicit least-privilege or user confirmation mechanisms found, need code review.
- Dependency overrides may mask vulnerabilities, check specific versions.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
helm-v4.8.3 Helm Chart 4.8.3
Release notes excerpt
Installation ```bash helm upgrade --install trigger \ oci://ghcr.io/triggerdotdev/charts/trigger \ --version "4.8.3" ``` Changes See commit history for detailed changes in this release.View on GitHub ↗ -
v4.8.3 trigger.dev v4.8.3
Release notes excerpt
trigger.dev v4.8.3 Upgrade ```sh npx trigger.dev@latest update # npm pnpm dlx trigger.dev@latest update # pnpm yarn dlx trigger.dev@latest update # yarn bunx trigger.dev@latest update # bun ``` Self-hosted Docker image: [ghcr.io/triggerdotdev/trigger.dev:v4.8.3](https://github.com/triggerdotdev/trigger.dev/pkgs/container/trigger.dev/1473927796?tag=v4.8.3) Release notes Read the full release notes: https://trigger.dev/changelog/v4-8-3 What's changed Improvements …View on GitHub ↗ -
helm-v4.8.2 Helm Chart 4.8.2
Release notes excerpt
Installation ```bash helm upgrade --install trigger \ oci://ghcr.io/triggerdotdev/charts/trigger \ --version "4.8.2" ``` Changes See commit history for detailed changes in this release.View on GitHub ↗