triggerdotdev/trigger.dev
Durable background jobs and AI agent tasks in TS
What
Write long-running background tasks and AI agents in TypeScript inside your codebase; they run durably with retries, queues, schedules and observability. Cloud or self-host.
How to use
npx trigger.dev@latest init # adds config + example task
npx trigger.dev@latest dev # runs tasks locallyimport { task } from "@trigger.dev/sdk";
export const helloWorld = task({
id: "hello-world",
run: async (payload: { message: string }) => {
console.log(payload.message);
},
});Reach for it when
serverless timeouts kill your jobs, or an agent run needs to be durable.