Trigger.dev
PlatformOpen-source background jobs and durable AI agents in TypeScript
- Erişim
- Secret key
Hakkında
Write long-running tasks in TypeScript with no timeouts and run them on Trigger.dev Cloud or your own servers. Handles queues, retries, schedules and realtime run status. Apache-2.0 licensed; self-hosting lacks warm starts and auto-scaling.
Neler yapabilirsin
- Run long AI tasks and agent loops without serverless timeouts
- Queue background jobs with retries and concurrency limits
- Stream task progress and LLM output to your frontend in realtime
Başlarken
- Sign up for Trigger.dev Cloud or self-host it
- Run npx trigger.dev@latest init in your project
- Run npx trigger.dev@latest dev and trigger a task
Örnek kod
// npx trigger.dev@latest init adds the SDK; set TRIGGER_SECRET_KEY to trigger runs
import { task } from "@trigger.dev/sdk";
export const helloWorld = task({
id: "hello-world",
run: async (payload: { message: string }) => {
console.log(payload.message);
},
});
// From your backend: const handle = await helloWorld.trigger({ message: "Hello world!" });Ayrıntılar
- Barındırma
- Hazır hizmet (bulut), Kendi sunucunda
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- JavaScript/TypeScript
- MCP sunucusu
- Yerel sunucu