Skip to main content
intro-quickstart

Quick start

Get started with Trigger.dev and run your first task in 3 minutes
intro-examples

Guides, frameworks & examples

Browse our wide range of guides, frameworks and example projects
intro-ai

Building with AI

Learn how to build Trigger.dev projects using AI coding assistants
intro-video

Video walkthrough

Watch an end-to-end demo of Trigger.dev in 10 minutes

What is Trigger.dev?

Trigger.dev is an open source background jobs framework that lets you write reliable workflows in plain async code. Run long-running AI tasks, handle complex background jobs, and build AI agents with built-in queuing, automatic retries, and real-time monitoring. No timeouts, elastic scaling, and zero infrastructure management required. We provide everything you need to build and manage background tasks: a CLI and SDK for writing tasks in your existing codebase, support for both regular and scheduled tasks, full observability through our dashboard, and a Realtime API with React hooks for showing task status in your frontend. You can use Trigger.dev Cloud or self-host on your own infrastructure.

Learn the concepts

Writing tasks

Tasks are the core of Trigger.dev. Learn what they are and how to write them.

Triggering tasks

Learn how to trigger tasks from your codebase.

Runs

Runs are the instances of tasks that are executed. Learn how they work.

API keys

API keys are used to authenticate requests to the Trigger.dev API. Learn how to create and use them.

Explore by feature

Scheduled tasks (cron)

Scheduled tasks are a type of task that is scheduled to run at a specific time.

Realtime API

The Realtime API allows you to trigger tasks and get the status of runs.

React hooks

React hooks are a way to show task status in your frontend.

Waits

Waits are a way to wait for a task to finish before continuing.

Errors and retries

Learn how to handle errors and retries.

Concurrency & Queues

Configure what you want to happen when there is more than one run at a time.

Wait for token (human-in-the-loop)

Pause runs until a token is completed via an approval workflow.

Build extensions

Customize the build process or the resulting bundle and container image.

Explore by build extension

ExtensionWhat it doesDocs
prismaExtensionUse Prisma with Trigger.devLearn more
pythonExtensionExecute Python scripts in Trigger.devLearn more
playwrightUse Playwright with Trigger.devLearn more
puppeteerUse Puppeteer with Trigger.devLearn more
lightpandaUse Lightpanda with Trigger.devLearn more
ffmpegUse FFmpeg with Trigger.devLearn more
aptGetInstall system packages with aptGetLearn more
additionalFilesCopy additional files to the build directoryLearn more
additionalPackagesInclude additional packages in the buildLearn more
syncEnvVarsAutomatically sync environment variables to Trigger.devLearn more
esbuildPluginAdd existing or custom esbuild plugins to your build processLearn more
emitDecoratorMetadataSupport for the emitDecoratorMetadata TypeScript compilerLearn more
audioWaveformSupport for Audio Waveform in your projectLearn more

Explore by example

intro-ffmpeg

FFmpeg

intro-fal

Fal.ai

intro-puppeteer

Puppeteer

intro-libreoffice

LibreOffice

intro-openai

OpenAI

intro-browserbase

Browserbase

intro-sentry

Sentry

intro-resend

Resend

intro-vercel

Vercel AI SDK

intro-sharp

Sharp

intro-deepgram

Deepgram

intro-supabase

Supabase

intro-openai

DALL•E

intro-firecrawl

Firecrawl

intro-lightpanda

Lightpanda

Getting help

We’d love to hear from you or give you a hand getting started. Here are some ways to get in touch with us.

Join our Discord server

Our Discord is the best place to get help with any questions about Trigger.dev.

Follow us on X (Twitter)

Follow us to get the latest updates and news.

Schedule a call

Arrange a call with one of the founders to get help with any questions.

Give us a star on GitHub

Check us out our GitHub repo and give us a star if you like what we’re doing.