Trigger.dev

Platforms & APIs 💻 TypeScript ⚖️ Apache-2.0 🟢 Actively maintained
16.2k stars

Trigger.dev is an open-source platform for building and deploying AI workflows in TypeScript. It provides durable, long-running tasks with retries, queues, observability, and elastic scaling, eliminating timeouts common in serverless platforms. It is designed for developers building AI agents and background jobs that require reliability and scalability.

✨ Key features

  • Long-running tasks with no timeouts
  • Durable tasks with automatic retries and queues
  • Human-in-the-loop waitpoints for approvals
  • Realtime subscriptions and LLM streaming support
  • Build extensions for customizing runtime (Python, FFmpeg, browsers)
  • Observability with full tracing and logs

🎯 Use cases

  • Build AI agents that run long, complex workflows
  • Schedule recurring background jobs with cron
  • Orchestrate human-in-the-loop approval processes
  • Stream AI responses to frontend apps in realtime
  • Run resource-intensive tasks like browser automation or Python scripts

📦 Installation

🧰 Requirements: Requires Node.js and TypeScript; an account at cloud.trigger.dev for cloud deployment, or self-hosting via Docker or Kubernetes.

npm install @trigger.dev/sdk

Or follow the quick start guide at https://trigger.dev/docs/quick-start to create an account and project.

🚀 Usage

import { task } from "@trigger.dev/sdk";

export const helloWorld = task({
  id: "hello-world",
  run: async (payload: { message: string }) => {
    console.log(payload.message);
  },
});

❓ FAQ

How do I get started with Trigger.dev?

The quickest way is to create an account and project in the web app at cloud.trigger.dev and follow the onboarding instructions. You can also follow the quick start guide in the docs.

Can I self-host Trigger.dev?

Yes, you can self-host using Docker Compose or Kubernetes with the official Helm chart, as described in the self-hosting guides.

Does Trigger.dev support long-running tasks without timeouts?

Yes, tasks can run indefinitely without timeouts, unlike AWS Lambda or Vercel, thanks to the checkpointing system.

What is human-in-the-loop support?

You can programmatically pause tasks until a human approves, rejects, or gives feedback using waitpoints.

📊 Repository

Stars★ 16,219
Forks🍴 1,436
Open issues🐛 349
Last commit🕒 Sep 4, 2026
Created📅 Nov 2022
Language💻 TypeScript
License⚖️ Apache-2.0

🤖 Overview, features, install steps and FAQ were generated from the project's README on Sep 4, 2026. Always check the original source before running commands.