Trigger.dev logo

Trigger.dev

Open source platform for building AI workflows in TypeScript with long-running tasks, retries, queues, and observability

Open Source Alternative to
Repository activity
  • Stars15.3k
  • Forks1.3k
  • Open Issues360
License

Apache-2.0

Languages
  • TypeScript
  • JavaScript
  • Shell
Trigger.dev screenshot

About Trigger.dev

Trigger.dev is an open source platform for building AI workflows in TypeScript. It is built for long-running tasks that need retries, queues, observability, and elastic scaling without the limits of short-lived serverless jobs.

You write tasks in your codebase with a JavaScript and TypeScript SDK, then use durable tasks, cron schedules, waits, batch triggering, and structured inputs and outputs. It also adds human-in-the-loop waitpoints, realtime run updates and LLM streaming, logging and tracing, preview branches, and configurable machines.

Trigger.dev is licensed under Apache-2.0 and runs on the managed cloud service or self-hosted. Self-hosting uses Docker Compose to spin up an instance or an official Helm chart to deploy to a Kubernetes cluster, with support for DEV, STAGING, PREVIEW, and PROD environments.

Key features

  • JavaScript and TypeScript SDK for background tasks
  • Long-running tasks with retries, queues, and idempotency
  • Durable cron schedules and waits
  • Realtime run updates and LLM streaming
  • Human-in-the-loop waitpoints and full run tracing

Details

First released
2022
Self-hosting
Docker Compose · Kubernetes
Platforms
Web · Docker
Deployment
cloud · self-hostable
Language
TypeScript
Observability
Tracing, logs, alerts