Trigger.dev

Build, deploy, and observe durable AI agents and background workflows.

Stars
★ 17k
Last updated
6d ago
License
Apache-2.0
Primary language
TypeScript

At a glance

How it runs
Library / SDKHosted serviceSelf-hosted service
Works with
Universal · cross-platform
Cost
Free tier plus a paid hosted plan
Setup effort
Medium · a few setup steps
You'll need
JavaScript or TypeScript@trigger.dev/sdkNetwork access
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

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.

  1. 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.
  2. A backend team needs resource-heavy background jobs with configurable CPU and memory plus system packages for browsers, Python scripts, or FFmpeg.
  3. An operations or review team needs automation to stop at a critical decision point until a person approves, rejects, or supplies feedback.
  4. A product team wants a React interface that displays background-run progress, changing metadata, or streamed AI output in real time.
  5. A platform team needs to schedule and batch work with queues and concurrency limits, then investigate failures through retries, traces, logs, and alerts.
  6. 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?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Major gaps
57/ 100 5-point scale 2.9 / 5
This review covers the source as of Aug 09, 2026. The project has shipped 29 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 12/29
Reliability 8/14
Adaptability 12/18
Convention 12/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

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.

Reliability8 / 14 · 2.9/5

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.

Adaptability12 / 18 · 3.3/5

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.

Convention12 / 18 · 3.3/5

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.

Effectiveness9 / 13 · 3.5/5

Output usability high with SDK and docs. Marginal value clear with unique features. Cost-benefit reasonable, open-source free.

Verifiability4 / 8 · 2.5/5

Claims supported by docs, but cross-source verification limited. Fact-inference separation good, but no executed tests.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Aug 09, 2026 Reviewed revision 90e8bd5c1205 New commits since this review; the score may not cover them
See the full review method →

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. 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 ↗
  2. 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 ↗
  3. 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 ↗

FAQ

Is Trigger.dev Cloud mandatory?
No. Tasks can use its managed, auto-scaling cloud, while the platform also documents self-hosting through Docker Compose and an official Kubernetes Helm chart.
Does it include an LLM or require a particular model provider?
No bundled model or exclusive provider is documented. The platform is described as working with the frameworks, services, and LLMs developers already use, but the relevant adapter code and credentials are not shown.
What happens when a task fails?
An uncaught error triggers automatic retry behavior. Durable execution, checkpoint-based resume, logs, traces, and configurable error alerts are also documented, although retry counts and backoff defaults are not supplied.
Can a workflow wait for a human reviewer?
Yes. A waitpoint can pause execution until a person approves, rejects, or provides feedback; timed waits are also supported.
What costs should be checked before adoption?
Cloud pricing, machine charges, and self-hosting resource estimates are not included in the supplied material. An evaluation should separately verify managed-service pricing and the infrastructure and staffing cost of operating Docker or Kubernetes.
View on GitHub ↗ Install ↓

Related agents