# Trigger.dev — card for AI agents

Managed platform for running long-running, resilient task execution with no timeouts.

Maker: Trigger.dev · category: Integrations and automation

## Price (official page)
- Free tier: $5 monthly credits, 20 concurrent runs, unlimited tasks, 1 day log retention
- Free tier terms: free allowance · monthly · card not needed (read from the wording above and the pricing page; empty = not stated)
- Paid from $10/month
- Usage price: $0.000025 per run invocation, plus compute per second ($0.0000169-$0.0006800 depending on machine)
- About $0.025 per 1,000 requests
- Pricing page: https://trigger.dev/pricing (checked 2026-10-09)
- Note: Added automatically: its SDK was in 9 of the public agent repos we sampled when it was added. Prices read from the official pricing page.

## Connect
- npm: `npm install @trigger.dev/sdk`
- Repository: https://github.com/triggerdotdev/trigger.dev

## For AI agents on Trigger.dev's own site (AgentGid check 2026-11-13: 3 of 6)
- llms.txt: https://trigger.dev/llms.txt (full text: https://trigger.dev/llms-full.txt)
- Docs pages as Markdown: 5% of the pages llms.txt lists
- OpenAPI description: none found at the usual places
- Official MCP server: no · official SDK: yes · status page: no
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## A year of price history (Internet Archive copies of the pricing page, read by rules)
- Months read: 13 (2025-10 to 2026-11) of https://trigger.dev/pricing
- Lowest $/month figure on the page: $10 in 2025-10, $5 in 2026-11
- 2026-06: lowest $/month figure $10 → $5; new figures $5/mo (archived copy: https://web.archive.org/web/20260615232008/https://trigger.dev/pricing)
- A figure is any "$X/month" on the page (plans, seats and add-ons alike); open the archived copy to see which plan it is.

## Price history in AgentGid's catalog (since 2026-10-09)
- Changes recorded: 0 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)

## Other APIs in this category
- Temporal Cloud: https://agentgid.com/apis/temporal/agent.md
- Inngest: https://agentgid.com/apis/inngest/agent.md
- Arcade: https://agentgid.com/apis/arcade/agent.md
- GitHub: https://agentgid.com/apis/github/agent.md
- Prefect Cloud: https://agentgid.com/apis/prefect/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/trigger-dev/


## Trigger.dev: background jobs that can run for hours

Trigger.dev runs slow work for your app in the background, such as AI agents, video processing or scheduled reports. You write each job as a normal TypeScript function, and Trigger.dev runs it on its own machines with retries, queues and no time limit. It is open source, so you can also host it yourself.

### Where to use it
- AI agents that take a long time: Let an AI agent research, call tools and write for many minutes without your web server timing out.
- Welcome emails after sign-up: When someone signs up, start an email series in the background and answer the sign-up request at once.
- Nightly reports and clean-ups: Run a job every night or every two hours, like sending a report or deleting old files, without your own server clock.
- Process videos, audio and documents: Convert uploaded videos, resize images or read long PDFs in a background job, then show the result when it is ready.
- Wait for a person's approval: Pause a job until someone clicks "approve" in your app, without paying for the waiting time.
- Show live progress on the page: Show a progress bar or the AI's answer word by word while the job is still running.

### How to start
- Create a Trigger.dev Cloud account and a project (or self-host).
- Run the setup command in your project; it adds the SDK, a /trigger folder with an example task and a config file.

```
npx trigger.dev@latest init
```

- Run the local dev server, test the task from the dashboard, then put a secret key in .env to trigger tasks from your code.

```
TRIGGER_SECRET_KEY=tr_dev_sk_...
```


### License
The Trigger.dev code is open source under Apache 2.0, so you can host it yourself for free. Trigger.dev Cloud is a paid service with a free plan; its licence is personal to your account and cannot be passed on.

### Good to know
- The Free plan gives $5 of usage a month and 20 jobs at a time. When the $5 is used up, jobs stop until you upgrade.
- You pay per second of machine time plus a small fee per run. Waiting time is not billed.
- Your job code runs apart from your app, so its secret settings must also be entered in the Trigger.dev dashboard.
- All plans allow 1,500 requests a minute; start many jobs at once with one batch call, not a loop.
- Logs are kept 1 day on Free, 7 days on Hobby and 30 days on Pro.

Checked 2026-11-10 against: https://trigger.dev/, https://trigger.dev/llms.txt, https://trigger.dev/docs/llms.txt, https://trigger.dev/pricing, https://trigger.dev/pricing.md, https://trigger.dev/security.md, https://trigger.dev/legal.md, https://trigger.dev/legal/dpa.md, https://trigger.dev/legal/privacy.md, https://trigger.dev/docs/quick-start.md, https://trigger.dev/docs/triggering.md, https://trigger.dev/docs/tasks/overview.md, https://trigger.dev/docs/tasks/scheduled.md, https://trigger.dev/docs/wait-for-token.md, https://trigger.dev/docs/apikeys.md, https://trigger.dev/docs/limits.md, https://trigger.dev/docs/troubleshooting.md, https://trigger.dev/docs/errors-retrying.md, https://trigger.dev/docs/realtime/auth.md, https://trigger.dev/docs/management/overview.md, https://trigger.dev/docs/management/tasks/trigger.md, https://trigger.dev/docs/mcp-introduction, https://trigger.dev/docs/mcp-introduction.md, https://trigger.dev/docs/mcp-tools.md, https://trigger.dev/docs/how-it-works.md, https://trigger.dev/docs/self-hosting/overview.md, https://trigger.dev/SKILL.md, https://github.com/triggerdotdev/trigger.dev/blob/main/README.md, https://registry.npmjs.org/@trigger.dev/sdk/4.8.3

### Mistakes to avoid
- Don't: Importing the task file into a Next.js route and calling it → Do: Use tasks.trigger<typeof myTask>("id", payload) with import type { myTask } (A normal import bundles task code into your app; the type-only import avoids it.)
- Don't: Calling trigger() without await, or trigger() in a loop → Do: Always await trigger calls, and use batchTrigger() for many runs (up to 1,000 per call) (Unawaited triggers may never be sent, and loops hit the 1,500 requests a minute limit.)
- Don't: Running several waits at once with Promise.all → Do: Use the built-in batch functions to trigger subtasks in parallel (Parallel waits throw "Parallel waits are not supported".)
- Don't: Expecting the app's .env values inside deployed tasks → Do: Add the same environment variables to the project in the Trigger.dev dashboard (Tasks are deployed separately and fail with "Environment variable not found".)
- Don't: Putting TRIGGER_SECRET_KEY in front-end code to start jobs from the browser → Do: Trigger from the server, or make a trigger token there and use the React hooks (The key gives access to the whole environment; the docs say keys belong in backend environment variables.)

### Questions
- Is there a free plan? Yes. $0 a month with $5 of usage credits, 20 jobs at a time and no credit card.
- How long can a job run? There is no platform limit; you set a default maximum per project and can change it per job or turn it off.
- Do I pay while a job waits? No. Waits longer than 5 seconds and waits for subtasks are paused and not billed.
- Can I host it myself? Yes. The full stack is open source under Apache 2.0 and runs with Docker Compose or Kubernetes.
- Can I start jobs from a web page? Only with short-lived trigger tokens made by your server; the secret key itself stays in backend code.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
