← Back to Leaderboard
Ttriggerdotdev

triggerdotdev/trigger.dev

A TypeScript task platform for durable AI agents and long-running workflows

Engineering Health (Methodology)
A+ · 96/100
Maintenance Activity
● Updated today
Latest Release
v4.9.1
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption21/25
Release Cadence20/20
License Clarity20/20
MCPDockerSelf-HostedCLI
Total Stars
★ 16,872
24h Growth
+4
7d Growth
+51
Forks
1,557

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

triggerdotdev/trigger.dev Star History (2023-01-02 - 2026-12-04) ALL-TIME STAR HISTORY (2023-01 – 2026-12) +16.9k in 1432d · avg +12/day 17.8k 8.9k 0 2023-01-02: ★ 12023-04-01: ★ 3,2622023-07-01: ★ 3,5332023-09-30: ★ 4,3632023-12-30: ★ 6,0392024-03-30: ★ 6,6802024-06-29: ★ 7,3372024-09-28: ★ 8,4582024-12-28: ★ 9,4722025-03-29: ★ 10,3102025-06-28: ★ 11,3112025-09-27: ★ 12,2592025-12-27: ★ 12,9442026-03-28: ★ 14,1062026-06-27: ★ 15,3692026-09-26: ★ 16,3432026-12-04: ★ 16,872 ★ 16.9k 2023-01 2024-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Trigger.dev separates application-owned task code from the service that executes and tracks it. Developers define tasks with the TypeScript SDK and run them on Trigger.dev Cloud or a self-hosted instance. The platform manages queues, retries, and run state, while the application can subscribe to run updates or stream results. For multi-turn chat, chat from @trigger.dev/sdk/ai exposes chat.agent, which gives each conversation its own task lifecycle.

The pnpm workspace separates apps/, packages/, and internal-packages/, with deployment material under docker/ and hosting/. The root manifest lists @changesets/cli, @remix-run/changelog-github, and agentcrumbs; it is not a complete inventory of execution-service dependencies. MCP is a project integration interface for assistants, distinct from the TypeScript task-authoring API and from model inference.

Key Capabilities & Differentiators

The execution model supports long-running jobs, approval waits, and input streams that let backend code send data to an active run. Applications can expose progress through run subscriptions or stream AI output to users. The chat example uses streamText from the Vercel AI SDK with the @ai-sdk/anthropic adapter. This establishes one concrete provider integration, not an exhaustive compatibility list or evidence of bundled model serving.

Prompt templates can live in code, be versioned on deploy, and be overridden from the dashboard without a redeploy. Vercel AI SDK calls surface as spans with model identity, token usage, cost, and latency. TRQL powers custom real-time dashboards, while the health report separates Flow, Execution, and Liveness. Provider webhooks can route verified events to tasks, agents, or waiting runs, but the feature is in public beta.

Trade-offs & Limitations

Compared with a plain queue worker, Trigger.dev puts retries, run traces, approval waits, and live app updates behind one task interface. That is useful when background work has a user-visible lifecycle. For short, independent jobs, the separate deployment and execution service may add more operational surface than it removes. Retries also do not make application side effects exactly-once: tasks that write externally or call third-party APIs still need idempotent behavior at those boundaries.

Cloud hosting avoids running the orchestration service yourself. Self-hosting gives you control over that service but makes capacity planning, monitoring, and upgrades your responsibility. If tasks still call external model APIs, those services remain separate dependencies. Before adopting, test how representative workflows behave across failures and deployments, and verify which operational features your chosen deployment mode provides rather than assuming cloud and self-hosted parity.

Hardware & Deployment Guide

The shortest path is to create a Trigger.dev Cloud project, add SDK tasks to the application, and use the CLI as part of development and deployment. Development, Staging, Preview, and Production environments are available, and development branches isolate concurrent local sessions. For self-hosting, use Docker Compose or the official Helm chart on Kubernetes. Running the orchestration service on your own infrastructure does not make an external model API available offline.

The v4.9.1 release provides ghcr.io/triggerdotdev/trigger.dev:v4.9.1 and lists npx trigger.dev@latest update as a CLI upgrade path. The Helm release publishes chart version 4.9.1 at oci://ghcr.io/triggerdotdev/charts/trigger. For production sizing, measure concurrent runs with representative task workloads. The external Anthropic API example does not require local GPU inference, but browsers, Python scripts, and FFmpeg can materially change worker resource needs.

Task execution: TypeScript SDK tasks with queues, retries, and idempotency for long-running application work.
Conversation lifecycle: chat.agent runs one task per conversation across refreshes, deployments, and crashes.
Human interaction: Approval waits and backend input streams let external decisions reach a run already in progress.
LLM tracing: Vercel AI SDK calls appear as run spans with model, token usage, cost, and latency.
Operational interfaces: MCP connects assistants to Trigger.dev projects; health reports are available via CLI, MCP, or HTTP API.
Deployment artifacts: Hosted service, Docker Compose self-hosting, and an official Kubernetes Helm chart.
Best For

TypeScript teams building long-running AI conversations or background workflows that need retries, human approvals, run traces, and live progress in the product.

Skip If

A simple queue or scheduled job already meets your needs, or your primary requirement is an offline model-serving stack rather than task orchestration.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPDockerSelf-HostedCLI
import { chat } from "@trigger.dev/sdk/ai";
import { stepCountIs } from "ai";
import { anthropic } from "@ai-sdk/anthropic";

export const myChat = chat.agent({
  id: "my-chat",
  run: async ({ messages, signal, streamText }) => {
    return streamText({
      model: anthropic("claude-opus-5-5"),
      messages,
      abortSignal: signal,
      stopWhen: stepCountIs(15),
    });
  },
});

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
trigger.dev ★16.9k+51TypeScriptApache-2.0A TypeScript task platform for durable AI agents and long-running workflows
activepieces25.9k+104TypeScript—Self-hosted TypeScript automation with visual workflows and reusable MCP tools
n8n213.1k+787TypeScript—Visual Node.js platform for self-hosted workflows and multi-step AI agents
hermes-agent268.1k+1.5kPythonMITSelf-hosted Python agent with persistent memory and automation across chat and C

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/triggerdotdev/trigger.dev.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

triggerdotdev/trigger.dev Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about trigger.dev

How do I wire a Trigger.dev task into an existing TypeScript app?

Define the task in your application with the Trigger.dev SDK, then subscribe to the run or stream its output to the frontend. For a multi-turn chat, chat.agent maps one task to one conversation. The TypeScript example passes the task's abort signal to streamText and uses stepCountIs(15) to stop after 15 model steps in that example; it is not a platform-wide limit.

Do I need a GPU, and how should I size a self-hosted deployment?

The example calls Anthropic through the Vercel AI SDK, so the orchestration host does not need GPU or VRAM for that inference path. Size self-hosted capacity for concurrent runs and the CPU and memory profile of each task. Browser jobs, Python scripts, and FFmpeg work can change that profile substantially. There are no published hardware minimums in the supplied material; measure the intended task mix before sizing production.

Can I self-host Trigger.dev for commercial use?

Apache-2.0 permits commercial use and self-hosting. If you redistribute the software or a modified version, provide the license, retain applicable notices, mark modified files, and preserve NOTICE attributions where applicable. The repository license does not govern external model APIs or confer trademark rights.

When should I choose Trigger.dev over a queue worker or a general-purpose workflow engine?

Choose Trigger.dev when TypeScript application code needs managed run state, queueing, approval waits, run traces, or live output in the product. A plain queue worker is often simpler for short, independent jobs that only need execution and retries. Consider a general-purpose workflow engine if cross-language orchestration is a hard requirement; the observed task-authoring interface is TypeScript, even though deployed tasks can invoke Python and other tools.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining triggerdotdev/trigger.dev? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature triggerdotdev/trigger.dev on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare