10 Trigger.dev Alternatives for Agent Background Jobs in 2026
Why teams look past Trigger.dev in 2026, how Inngest, Hatchet, Temporal, Restate, DBOS, Windmill, Step Functions, QStash, and Celery differ, and where Swytchcode fits inside a task. Prices checked November 2026.
Key takeaways
- -Trigger.dev retries a task from the top of run(). A trigger idempotency key stops a second run, not a second API call inside it.
- -Inngest, Hatchet, Temporal, Restate, and DBOS are the closest Trigger.dev substitutes. They are not ranked.
- -Windmill, Step Functions, QStash, and Celery with Redis fit narrower jobs: internal tools, AWS state machines, HTTP delivery, and DIY queues.
- -Swytchcode is not a job runner. It governs the outbound call inside a task: auth, policy, idempotent retries, and an audit log.
- -Most teams run both: a background job engine for the task, and Swytchcode for the call the task makes.
- -Prices below are from each vendor's public site in November 2026. Unpublished prices are marked that way.
Trigger.dev is an open source platform for durable background tasks and AI agents in TypeScript. You write a task, trigger it from your app, and it runs on managed workers with queues, retries, waits, and no timeouts. Teams look for an alternative when that is not quite the job they have. They want Python or Go workers, step-level saved results instead of a retry from the top, a different pricing meter, or the real risk is one outbound API call: a refund or charge that must not repeat when a task retries.
The ten options below are grouped by that job. They are not a ranked scoreboard. Inngest, Hatchet, Temporal, Restate, and DBOS are the closest substitutes for Trigger.dev's durable tasks. Windmill is a code-first workflow and internal tools platform. AWS Step Functions is a managed state machine on AWS. QStash and Celery with Redis are message and task queues. Swytchcode is a different layer: it governs the call a task makes, not the job around it.
Quick verdict: Swytchcode and Trigger.dev are usually not competitors. Trigger.dev runs the background job, queues it, and retries it when it fails. Swytchcode governs the single API call inside that job: auth, policy, a retry that carries an idempotency key, and an audit log. Pick a job engine from this list to run the tasks. Add Swytchcode when the risk is the outbound call itself, such as a duplicate refund on retry or a vendor spec that drifted.
Why teams look for a Trigger.dev alternative
Trigger.dev is a strong fit for long-running TypeScript jobs. The reasons teams look elsewhere are mostly about fit, not about Trigger.dev failing at its job.
A trigger key dedupes the run, not the call inside it
Trigger.dev's idempotency docs are clear about this. A key on trigger stops a second run from being created. It does not make the code inside run() idempotent, and it does not stop that code from running twice. For payments, the docs say the provider has to deduplicate its own API call, so you pass the provider's idempotency key, derived from a value that stays the same across attempts, such as ctx.run.id.
A retry starts run() from the top
When a task throws, the next attempt starts at the top of run(). Completed child tasks can be reused, but a call made in the body of run() is not a child task. Picture a refund task that also writes an audit row. The provider accepts the refund, the audit insert fails, and the retry sends the refund again. Engines that save each step, like Inngest or Restate, narrow that window. None of them close it without a provider-side key.
Every attempt is billed as compute
The pricing page charges $0.000025 for each run that starts, plus compute per second on the machine you pick. The default Small 1x is $0.0000338 a second. Plans include credits: $5 on Free, $10 on Hobby, $50 on Pro. Log retention is 1, 7, and 30 days on those plans. Retries of a slow task cost compute each time, even when the business outcome already happened.
Tasks are written in TypeScript
Trigger.dev is built for TypeScript codebases. Teams with Python or Go services often want an engine with native SDKs for those languages, such as Hatchet, Temporal, or Inngest, or they already run Celery and only need better retries.
The call itself still breaks in production
Even with a perfect queue, the call inside the task can fail for reasons a job engine never sees: a stale field, a 200 that carries an error, an expired token, or a retry with no idempotency key. That failure mode is described in Why your AI agent breaks in production. A different job engine does not fix a drifted vendor API.
How to evaluate a Trigger.dev alternative
Use these criteria to compare any Trigger.dev alternative, including the ones below. Job engines and call runtimes answer them differently, and that is the point. Each row is something you can check in the vendor's docs or a trial before you commit.
| Criterion | What to verify |
|---|---|
| Identity and auth | Whose credentials each outbound call runs with, where tokens are stored, and whether task code or the model ever handles them directly. |
| Catalog coverage | Whether the product ships API connectors or only runs your code, and how you call an internal or legacy API that has no SDK. |
| Write safety | Whether a retried task can send the same POST twice, and whether the provider gets a stable idempotency key on every attempt. |
| Policy and approval | Whether you can allowlist the actions a task may take, block a call by its arguments, and hold a risky call for a person, and on which plan. |
| Error handling | Whether failures come back in one consistent shape, and whether a retryable timeout is told apart from a permanent decline. |
| Audit | What is recorded for each run and each outbound call, where that history lives, and how long it is kept. |
| Hosting | Managed cloud, your own cloud, or self-hosted, and what you have to run yourself: database, broker, workers. |
| Pricing model | What is metered (actions, executions, state transitions, runs, compute seconds, or messages) and what happens at the limit. |
How the ten alternatives compare
Prices are what each vendor published on its own site in November 2026, or not published when the pricing page has no list price. Closest job is what the product is built for, not everything it can do.
| Alternative | Closest job | How the agent reaches it | Public starting price |
|---|---|---|---|
| Inngest | Event-driven step functions | TypeScript, Python, and Go SDKs | Free, 50,000 executions/mo |
| Hatchet | Postgres-backed task orchestration | Python, TypeScript, and Go SDKs | 1M runs/mo free, then $30 per 1M |
| Temporal | Durable workflows with replay | SDKs in Go, Java, TypeScript, Python, and more | Self-hosted free (MIT); Cloud from $50 per 1M actions |
| Restate | Durable execution with a journal | Language SDKs, services over HTTP | Cloud free to start; self-hosted under BSL 1.1 |
| DBOS | Durable workflows checkpointed to Postgres | Open source library in your app | Library free; Pro $99/mo |
| Windmill | Scripts, flows, and internal apps | Web IDE, CLI, webhooks | Free and open source; Enterprise from $120/mo |
| AWS Step Functions | Managed state machines on AWS | Amazon States Language, AWS SDKs | 4,000 free transitions/mo, then $0.025 per 1,000 |
| QStash | HTTP message delivery with retries | HTTP API and SDKs | Free, 1,000 messages/day |
| Celery with Redis | DIY Python task queue | Python library | Open source, self-hosted |
| Swytchcode | Governed execution of each API call | CLI, MCP, or Runtime SDKs | Free, 100 live commands/mo |
1. Inngest
Best for: Serverless and event-driven apps that want step-level saved results without running workers or queues.
Inngest describes itself as a workflow orchestration platform whose durable functions replace queues, state management, and scheduling. The key difference from Trigger.dev is the retry unit. You wrap each operation in step.run, a completed step result is saved, and only the failed step retries, with four retries after the first attempt by default, per the error handling guide. The guide still warns that a call can succeed and time out before the result is recorded, so writes need stable idempotency keys.
The pricing page lists Free at $0 with 50,000 executions a month, Pro from $99 a month with 1 million, and Business from $499 a month with 10 million. Each function run is one execution and each step is another. The server is under SSPL with delayed Apache 2.0 publication and can be self-hosted.
2. Hatchet
Best for: Teams with Python, TypeScript, or Go workers that want an open source, Postgres-backed task orchestrator.
Hatchet describes itself as a single platform for orchestrating AI agents, scheduling background tasks, and running mission-critical workflows. Durable execution is backed by Postgres, and it stores the history of every task and state transition. Workers limit how much work they accept through slots. It is MIT licensed and self-hostable, which makes it the closest open source match for Trigger.dev outside TypeScript.
Hatchet Cloud pay as you go starts at $0 with 1 million task runs a month, then $30 per million runs and $5 per million events, per the pricing page. Note the meter: it counts runs, while Trigger.dev bills compute seconds on its own machines.
3. Temporal
Best for: Long-running business processes that need full event history, strict replay, and an engine you can self-host.
Temporal is an open source durable execution platform. Workflow code is deterministic and every step is recorded as an event history. After a crash, Temporal replays that history and the workflow continues. Activities hold the side effects and retry by default, with unlimited attempts unless you set a limit, per the retry policy docs. The activity docs tell you to make activities idempotent, because an activity that never reported completion runs again.
The server is MIT licensed and free to self-host. Temporal Cloud is pay as you go from $50 per million actions plus storage, and new users get $150 in credits for 90 days, per the pricing page. You run your own workers either way. Choose it over Trigger.dev when the job is a multi-day process with signals and history, not a single long task.
4. Restate
Best for: Teams that want low-latency durable execution for agents and services from a single binary.
Restate calls itself the durable runtime for your agents and backends. Each durable step and its result is written to a journal. On recovery, completed steps replay from the journal and execution resumes at the first unfinished step, instead of restarting the whole task. It can run model and tool calls durably and let an agent wait for approval without holding compute.
The self-hosted runtime is a single binary with no external database or broker. The server is source-available under the Business Source License 1.1, which converts to Apache 2.0 four years after each release, per the repository. Restate Cloud is described as fully managed and free to start. A full list price was not published on the pricing page in November 2026.
5. DBOS
Best for: Teams that want durable workflows as a library inside their app, with state kept in Postgres.
DBOS Transact is an open source durable execution library. Your app checkpoints workflow steps to Postgres and recovers unfinished workflows after a crash, with no separate job platform. DBOS Pro adds Conductor, a workflow console, and distributed recovery at $99 a month with 1 million checkpoints. Teams is $499 a month with 10 million, per the pricing page.
It suits teams that would rather keep jobs in the same process and database as their app. A checkpoint is still not a provider-side idempotency key. If a step sent an API call and crashed before its checkpoint landed, recovery runs it again.
6. Windmill
Best for: Teams building internal scripts, flows, and tools in many languages on a self-hosted platform.
Windmill calls itself a code-first platform for workflows, apps and AI agents. A script in Python, TypeScript, Go, Bash, SQL, or one of 20+ languages becomes an endpoint and a form, and flows are DAGs of those scripts. It is open source and built to self-host.
The pricing page lists a free, open source plan with unlimited executions, and Enterprise from $120 a month, metered by seats and worker compute units. It is closer to an internal tools platform than a background job SDK, which is the reason to pick it or skip it.
7. AWS Step Functions
Best for: Teams already on AWS that want a managed state machine wired to Lambda and other AWS services.
Step Functions defines workflows as state machines in the Amazon States Language. Standard workflows cost $0.000025 per state transition after a free tier of 4,000 transitions a month, and the pricing page notes that each retry is charged as another transition. Express workflows are billed at $1.00 per million requests plus duration.
It is the natural choice when every step is already an AWS service. It also ties the workflow to AWS. A retried Task state calls its target again, so whether that is safe depends on the target, not on Step Functions.
8. QStash
Best for: Serverless apps that need reliable HTTP delivery, schedules, and retries without running a queue.
QStash, from Upstash, is a serverless messaging and scheduling service. You publish a message over HTTP, QStash delivers it to your endpoint, and it retries on failure, with a dead letter queue for what never lands. Upstash Workflow builds multi-step flows on top of it. It is lighter than Trigger.dev when jobs are short and your endpoint does the work.
The pricing page lists Free with 1,000 messages a day and pay as you go at $1 per 100,000 messages. Each delivery attempt is billed as one message, so a retry costs a message too. Your endpoint still has to handle a redelivered message safely.
9. Celery with Redis
Best for: Python teams that already run Redis and want full control over a plain task queue.
Celery is the long-standing open source Python task queue, often run with Redis as the broker. There is no workflow history or checkpointing. You get tasks, autoretry_for with exponential backoff, and max_retries of 3 by default, per the task docs.
The same docs say task functions should ideally be idempotent, and warn that with acks_late a task may run more than once if the worker crashes mid-task. That is the DIY path: free and flexible, with every durability and safety rule written by you.
10. Swytchcode
Best for: Agents and background tasks that write to real APIs, including legacy and internal ones, and need policy, approval, safe retries, and an audit trail on every call.
Swytchcode is last because its focus is the execution layer under the agent, not workflow orchestration. It does not queue jobs or run workers. Its catalog covers 360+ integrations, and you can bring your own OpenAPI spec for internal and legacy APIs.
On each call, Swytchcode resolves the right method, validates the input, applies allow and deny rules, injects auth, retries transient failures, and normalizes the response. Retries back off and honor Retry-After. POST and PATCH are retried only when an idempotency key is set, so a retry never creates a duplicate record or charge. Every call and decision is logged locally.
That is why it pairs with Trigger.dev instead of replacing it. Trigger.dev decides when a task runs again. Swytchcode makes sure the call inside run() is allowed, authenticated, and sends the same idempotency key on every attempt, so a task that restarts from the top does not send a second refund. Free is $0 forever for 100 live commands a month, Pro is $29 a month for 10,000, and Business is $149 a month for a million. It runs as a CLI or an MCP server.
The short version of the idea is What is an execution layer?. How a retry is kept safe is in How Swytchcode retries failed API calls and Idempotency explained.
Why Swytchcode is the production runtime for reliable AI agents
Swytchcode is an execution kernel that sits between your AI agents and the APIs they call. It runs on infrastructure you own, checks policy before every call, brokers OAuth, retries safely without duplicate writes, and logs every call and decision locally. The same kernel serves LangGraph, the OpenAI Agents SDK, the Anthropic SDK, and MCP clients, across 75,000+ endpoints in 300+ services or your own OpenAPI spec, including legacy APIs.
Trigger.dev retries the task when it fails. Swytchcode is the execution kernel that makes the call inside that task governed and auditable, on your infrastructure.
Demos work. Production is a different animal.
Frameworks solve reasoning. None of them solve the moment an agent touches a real production API. That moment needs OAuth and credentials, permission control, policy enforcement, audit and compliance, and retries with idempotency. So every team builds the same middleware, then rebuilds it for the next framework.
| Production requirement | Build it yourself | With Swytchcode |
|---|---|---|
| OAuth and credentials | Token storage and refresh per framework | Brokered OAuth; tokens cached locally with AES-256-GCM, key in the OS keychain |
| Permissions and policy | Custom checks inside agent code | tooling.json allowlist plus policies.json rules, version-controlled, checked before every call |
| Human approval | Ad hoc scripts and chat bots | Matching calls held for approval in Slack; no answer in 48 hours means no run (Business and up) |
| Audit and compliance | Logs scattered across services | Every call and decision logged locally; cloud sync is opt-in |
| Retries and idempotency | Hand-written per API | Backoff that honors Retry-After; POST and PATCH retried only with an idempotency key |
| Legacy and internal APIs | A hand-written client per API | Bring your own OpenAPI spec; inputs validated before the call leaves your machine |
| Switching frameworks | Rebuild all of the above | Same kernel, same policy |
One execution kernel. Every agent framework.
- CLI execution kernel: runs on your infrastructure and decides what can run, and whether it should.
- Runtime SDKs: thin JavaScript and Python wrappers, so every framework hits the same kernel.
- Backend control plane: brokers OAuth, hosts the catalog, and aggregates telemetry. It never sees your payloads.
Governance your security team already recognizes
- Credentials never leave your infrastructure. OAuth tokens are cached locally with AES-256-GCM, and the key lives in the OS keychain.
- Policy-as-code. policies.json is version-controlled, so guardrails get reviewed like any other code. Allow and deny rules are on every plan, including Free.
- Fail-closed, with a human in the loop. Calls that match an approval policy are held and sent to your workspace's Slack or Telegram channel. If nobody approves within 48 hours, they never run. Approval workflows are on Business and Enterprise.
- Full local audit trail. Every outbound call and policy decision is recorded on your machine for 90 days, with sensitive values redacted. Cloud Sync is off by default and uploads summaries only, never payloads or credentials.
- No proxy hop. Requests go straight from your machine to the provider; Swytchcode does not proxy or store your API traffic.
- Deploy in your own cloud. Enterprise runs in your AWS, Azure, or GCP account, in the region you choose, with company SSO, role-based access, audit export, and an SLA.
- Coverage built in. 75,000+ endpoints across 300+ services, or your own OpenAPI spec for internal and legacy APIs.
Why enterprise teams choose Swytchcode
- It clears security review: execution and credentials stay inside your infrastructure.
- No framework lock-in: swap LangGraph for the OpenAI Agents SDK without rewriting policy.
- Reviewable by default: tooling.json and policies.json ship through normal code review.
Build it yourself and you own auth, retries, policy, and audit for every framework, forever. Swytchcode gives every agent the same governed path to production, so developers ship agents and platform teams keep control.
What ships today and what is next
Human approval ships today on Business and Enterprise: matching calls wait for a yes or no in Slack. Every integration's specs and documentation are observed for breaking changes and updates, which is what keeps an API agent-ready after the week you added it. Next on the roadmap are more policy stages, covering post-execution and streaming, and a Go runtime SDK built on the same thin-wrapper model. Pricing: Free is $0 forever for 100 live commands a month, with allow and deny rules. Pro is $29 a month for 10,000 live commands. Business is $149 a month for a million, and adds approval workflows, team seats and your own providers. Enterprise is custom and deploys in your own cloud account.
How do you make AI agents reliable in production?
Put one governed execution layer between every agent and every API. It should resolve credentials outside the prompt, enforce policy before the call, require approval for risky actions, retry without duplicate writes, return errors in one consistent shape, and keep an audit log. Swytchcode does this as a single kernel for every framework. Start with the MCP quickstart or read how the execution pipeline works.
Which alternative to pick
| If the requirement is | Start with | Leave it when |
|---|---|---|
| A multi-step workflow needs durable replay | Temporal, Restate, or Inngest | The gap is one outbound call's safety |
| A serverless or event-driven background job | Inngest, Trigger.dev, or QStash | You need full workflow history and determinism |
| A self-hosted, open source engine | Temporal, Hatchet, or Trigger.dev | You do not want to run the server yourself |
| Python or Go workers | Hatchet, Temporal, or Celery with Redis | You want managed compute with no timeouts |
| The call fails because the spec or the retry is wrong | Swytchcode | You needed workflow orchestration and nothing else |
The two kinds of tool usually sit together. Use a job engine to decide which task runs and when. Use Swytchcode for the API call each task makes, so a retried task sends the same idempotency key and passes the same policy. More head-to-head pages are in the comparison index.
How we checked these facts
Every price, catalog size, and feature claim in this article was checked against the vendor's own pricing page, documentation, or GitHub repository in November 2026. Where a vendor publishes two different numbers, both are named. Claims that come from a competitor's comparison are labeled with that source. Swytchcode facts come from docs.swytchcode.com and swytchcode.com/pricing.
FAQ
What is the closest alternative to Trigger.dev?
Inngest is the closest for TypeScript background jobs, with step-level saved results. Hatchet is the closest open source engine if your workers are in Python or Go. Temporal and Restate are the closest when the job is a long workflow with replay. Match the job first, then the hosting model.
Is Swytchcode a Trigger.dev replacement?
No, and it usually doesn't need to be. Trigger.dev's job is running and replaying a background task. Swytchcode's job is governing the call a step in that task makes: auth, policy, idempotent retries, and an audit trail. Most teams run both.
Why are people looking for Trigger.dev alternatives in 2026?
Mostly fit. Some teams have Python or Go workers. Some want only the failed step to retry instead of the whole task. Some prefer a run-based meter to compute seconds. Separately, teams learn that a trigger idempotency key does not stop a duplicate write inside run(), and look for something that works at the call level.
Does workflow-level retry make a call idempotent?
No. A Trigger.dev retry starts run() from the top, so every API call inside it happens again. A key on trigger only stops a second run from being created. Trigger.dev's own docs say to pass the provider's idempotency key, derived from a stable value such as ctx.run.id or the order id. Only a key that the provider stores lets it collapse the duplicate.
How much does a Trigger.dev alternative cost?
Trigger.dev itself is free with $5 of compute credit, then $10 or $50 a month plus usage. Inngest is free for 50,000 executions a month, then from $99. Hatchet Cloud includes 1 million runs a month free, then $30 per million. Temporal Cloud starts at $50 per million actions, and the server is free to self-host. DBOS Pro is $99 a month. Step Functions includes 4,000 free transitions a month. QStash is free for 1,000 messages a day. Swytchcode is free forever for 100 live commands a month, $29 a month for 10,000, and $149 a month for a million.
Swytchcode resources
- Swytchcode website: https://www.swytchcode.com
- Swytchcode docs: https://docs.swytchcode.com
- MCP quickstart: https://docs.swytchcode.com/quickstarts/getting-started/mcp/
- Idempotency guide: https://docs.swytchcode.com/guides/idempotency/
- Pricing: https://www.swytchcode.com/pricing
- Comparison index: https://www.swytchcode.com/compare
More content
How to Stop an AI Agent From Booking the Same Meeting Twice
A scheduling agent that checks availability and then books the slot has a gap between those two steps — and a retry can fall straight into it. Here's how Swytchcode closes that gap.
How to Stop an AI Agent From Creating Duplicate Records
A retried "create" call doesn't update an existing contact, ticket, or row — it makes a second one. Here's why that happens across CRMs, databases, and ticketing tools, and how Swytchcode prevents it.
How to Stop an AI Agent From Sending the Same Email Twice
Most email APIs have no idempotency key to catch a repeat send, which makes a duplicate email a harder problem than a duplicate charge. Here's how Swytchcode handles the gap.
