Announcing our $16M Series A Build and deploy fully‑managed AI agents and workflows Trigger.dev is the platform for building AI workflows in TypeScript.
Long-running tasks with retries, queues, observability, and elastic scaling.
Start building now 14.0k | Open source AI agents Media processing Media generation Human in the loop Streaming Run Python Marketing Browser automation Scheduled tasks Concurrency Retries Semantic search Email sequences // AI agent with tool calling - works with any model export const researchAgent = task ( { id : "research-agent" , run : async ( { topic } : { topic : string } ) => { const messages : CoreMessage [ ] = [ { role : "user" , content : ` Research: ${ topic } ` } , ] ; for ( let i = 0 ; i < 10 ; i ++ ) { const { text , toolCalls , steps } = await generateText ( { model : anthropic ( "claude-opus-4-20250514" ) , system : "You are a research assistant with web access." , messages , tools : { search , browse , analyze } , maxSteps : 5 , } ) ; if ( ! toolCalls . length ) { return { summary : text , stepsUsed : steps . length } ; } for ( const call of toolCalls ) { const result = await executeTool ( call ) ; messages . push ( { role : "tool" , content : result } ) ; } } } , } ) ; Build production-ready AI agents with tool calling, automatic retries, and full observability.
Use existing Node.js SDKs and code from your repo.
Learn about AI agents Trusted by developers at companies all over the world How it works Play Replay Full screen Write tasks in your Trigger folder Build invincible AI apps Offload any long-running async AI tasks to our infrastructure.
Create AI agents with human-in-the-loop functionality and stream responses directly to your frontend.
AI agents overview Autonomous agent AI agents that can use judgement to perform complex open-ended tasks.
View example Prompt chaining Chain AI prompts together to create multi-stage processing flows.
View example Routing Smart distribution of tasks to specialized AI models based on content analysis.
View example Parallelization Concurrent execution of multiple AI tasks for simultaneous processing and analysis.
View example Orchestrator Coordinate multiple AI agents to achieve complex objectives.
View example Evaluator-optimizer Iterative feedback system that continuously evaluates and refines AI outputs.
View example Deploy and scale to any size No timeouts Write simple, reliable code and never hit a timeout.
Pay for what you use Only pay when your code is actually executing.
No servers to manage We deploy your tasks and handle scaling for you.
Find and fix bugs fast Alerts for errors Get notified via email, Slack or webhooks when your tasks or deployments fail.
Advanced filtering Find runs fast using advanced filtering options, then apply bulk actions to multiple tasks at once.
Versioning Each deploy is an atomic version ensuring started tasks are not affected by code changes.
Bring your tasks to the foreground Trigger.dev Realtime Display the status of your tasks anywhere in your app Show the run status (in progress, completed, failed) and metadata to provide real-time, contextual information for your users as your tasks progress.
Realtime docs Update your UI in real-time with the run status Realtime streams Stream LLM responses from your runs to your users Forward streams from any provider through our Realtime API.
Build AI agents with tools and context from your runs.
Realtime streams docs Pipe streams to your frontend from your runs True runtime freedom for developers Unlike restricted runtimes, Trigger.dev lets you freely customize every aspect of your build process, resulting bundle, and final container image.
Python Execute Python scripts with automatic package installation through requirements.txt Learn more Prisma Copy files to the build directory, generate the Prisma client, migrate databases, and more.
Learn more Puppeteer Automate browser capabilities and control web pages.
Learn more esbuild Add custom esbuild plugins to your build process.
Learn more FFmpeg Add FFmpeg binaries to your project during build time, enabling video manipulation tasks.
Learn more apt-get Easily install any system packages you need, from libreoffice to git Learn more additionalPackages Add additional packages which aren't automatically included via imports.
Learn more audioWaveform Produce visual renderings of audio using waveform data.
Learn more Custom build extensions Integrate custom tooling and project-specific requirements directly into your build pipeline.
Get started All the tools you need to ship View all features Development Write tasks in regular code Durable cron schedules Trigger.dev Realtime React hooks MCP Server Python support Max duration Batch triggering Structured inputs / outputs Waits Wait for HTTP callback Preview branches Production Multi-region workers Static IPs Concurrency & queues Wait for token (human-in-the-loop) Multiple environments Elastic infrastructure Automatic retries Build extensions Checkpointing V