Welcome to the Trigger.dev docs
Find all the resources and guides you need to get started

Quick start
Get started with Trigger.dev in 3 minutes

Examples
Explore dozens of examples tasks to use in your own projects

Frameworks
Learn how to use Trigger.dev with your favorite frameworks

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.
Explore by example

FFmpeg

Fal.ai

Puppeteer

LibreOffice

OpenAI

Browserbase

Sentry

Resend

Vercel AI SDK

Sharp

Deepgram

Supabase

DALL•E

Firecrawl
Explore by build extension
Extension | What it does | Docs |
---|---|---|
prismaExtension | Use Prisma with Trigger.dev | Learn more |
pythonExtension | Execute Python scripts in Trigger.dev | Learn more |
puppeteer | Use Puppeteer with Trigger.dev | Learn more |
ffmpeg | Use FFmpeg with Trigger.dev | Learn more |
aptGet | Install system packages with aptGet | Learn more |
additionalFiles | Copy additional files to the build directory | Learn more |
additionalPackages | Include additional packages in the build | Learn more |
syncEnvVars | Automatically sync environment variables to Trigger.dev | Learn more |
esbuildPlugin | Add existing or custom esbuild plugins to your build process | Learn more |
emitDecoratorMetadata | Support for the emitDecoratorMetadata TypeScript compiler | Learn more |
audioWaveform | Support for Audio Waveform in your project | Learn more |
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.