Self-host hatchet
sandbox/0.1.4Task, agent and durable workflow orchestration engine
helm install hatchet-stack hatchet/hatchet-stack --set caddy.enabled=true- Stars
- 8 262
- Ports
- 8080 (Core server HTTP port; the dashboard/API stack is reached at http://localhost:8080), 7070 (Engine gRPC API port), 8888 (Web UI of the single-container hatchet-lite image), 7077 (gRPC port used in the hatchet-lite single-container setup), 8733 (Healthcheck endpoint port)
- Requires
- PostgreSQL
ghcr.io/hatchet-dev/hatchet/hatchet-liteWhat is hatchet?
Hatchet is an orchestration engine aimed at application teams that need background jobs, AI-agent runs and long-lived workflows executed reliably. Workflows are written as ordinary functions in Python, TypeScript, Go or Ruby, and the workers running those functions connect to a central control plane over gRPC.
Task state, run history and observability data are all persisted in PostgreSQL, which the project presents as the reason the platform is comparatively easy to run yourself. On top of the queue it offers durable tasks that recover from failure, DAGs, cron and one-off scheduled runs, configurable retry policies with optional exponential backoff, priority levels, rate limits, dynamic concurrency keys, worker slots and label or affinity-based routing, plus webhook and event triggers. Runs are browsable in a real-time web dashboard that also covers alerting and logs, and internal telemetry is exposed through OpenTelemetry and a Prometheus endpoint. A single instance is multi-tenant by default and has users and roles.
Self-hosting means deploying the control plane (API server, engine, dashboard and DB migrations) as images from ghcr.io: the all-in-one hatchet-lite container, a Docker Compose stack that adds PostgreSQL and optionally RabbitMQ, or the project's Helm charts on Kubernetes; the hatchet CLI can also start a local instance with one command. The project notes that its durability costs throughput compared with Redis- or RabbitMQ-based queues, having load-tested it to around 10k tasks per second. Autoscaling, multi-region deployments, SSO and dedicated capacity are Hatchet Cloud or custom-plan offerings rather than the open-source build.
hatchet alternatives
MachinaOSSelf-hosted open-source AI organisation with six specialised employees owning business functions end-to-end. Token budget, bring your own model keys.CompareMachinaOS with hatchet
heymHeym is a self-hosted platform for building and running agentic AI workflows with a visual canvas, human-in-the-loop, RAG, MCP, and full observability.Compareheym with hatchet
DaguSelf-hosted, open-source workflow orchestrator: declarative YAML DAGs run shell, Docker, Kubernetes and SSH steps from one binary, no database required.CompareDagu with hatchet
duragraphDuraGraph is a self-hosted, open-source control plane for durable AI agent workflows. It uses event sourcing and CQRS to make every run replayable and crash-safe.Compareduragraph with hatchet
AgentaOpen-source, self-hosted workspace where teams build AI agents by chatting, run them in Slack, Telegram or WhatsApp, and schedule automations on any LLM.CompareAgenta with hatchet
prefectPrefect is a self-hosted, open-source workflow orchestration framework turning Python functions into production data pipelines with scheduling, retries, and caching.Compareprefect with hatchet
ToolJetSelf-hosted, open-source low-code platform for internal tools and dashboards: visual builder, 90+ data sources, built-in database, AI app generation and MCP agent access.CompareToolJet with hatchet
heliconeHelicone is a self-hosted, open-source LLM observability platform and AI gateway for 100+ models with cost tracking, agent tracing, prompt management, and a playground.Comparehelicone with hatchet
All self-hosted alternatives to Airflow → All self-hosted alternatives to BullMQ → All self-hosted alternatives to Celery →
Should you self-host hatchet?
hatchet scores 72/100 on selfhost.directory (how scoring works) and ranks #8 of 32 in Workflow Automation. It has 8 262 GitHub stars, +186 in the last 30 days.
It shipped 30 stable releases in the past year. The latest, sandbox/0.1.4, came out on 10 November 2026. New versions land roughly every 1 days.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is windmill (78/100, 18 510 stars). It scores higher overall, so compare the two before you pick. See hatchet vs windmill side by side.
Features
- Automatic Retries
- Background task queue
- Concurrency controls
- Cron and scheduled runs
- DAG workflow orchestration
- Durable Execution
- Event and webhook triggering
- Multi-language SDKs
- Multi-tenancy
- OpenTelemetry tracing
- Rate Limiting
- Task priority
- Web dashboard with monitoring, alerting and logs
- Worker routing (labels and affinity)
hatchet README
Hatchet is a platform for orchestrating background tasks, AI agents, and durable workflows at scale. It supports applications written in Python, TypeScript, Go and Ruby, and can be used as a service through Hatchet Cloud or self-hosting. Hatchet provides a full platform for queuing, automatic retries, durability, real-time monitoring, alerting, and logging.
The fastest way to get started with Hatchet is signing up for Hatchet Cloud to try it out! We recommend this even if you plan on self-hosting, so you can have a look at what a fully-deployed Hatchet platform looks like.
To run Hatchet locally, the fastest path for setup is to install the Hatchet CLI (on MacOS, Linux or WSL) - note that this requires Docker installed locally to work:
curl -fsSL https://install.hatchet.run/install.sh | bash
hatchet --version
hatchet server startTo view full documentation for self-hosting and using cloud, have a look at the docs.
You can use Hatchet for running background tasks, AI agents, or other types of long-running workflows. It is designed to be a feature-complete solution for systems where correctness, reliability, horizontal scalability, and observability are essential. From a technical perspective, it differs from other solutions in that it uses Postgres as a durability layer for both the task runtime and the observability system, making it particularly easy to self-host.
For some end-to-end examples of workflows you can build with Hatchet, check out our cookbooks.
- Background tasks: Hatchet supports one-off background tasks defined as simple functions. It supports both fire-and-forget and fire-and-wait tasks with subscriptions
- Retries: flexible and configurable retry policies for tasks, with optional exponential backoff
- Cron jobs and scheduled runs for scheduling tasks at some point in the future
- Task routing based on strict conditions, like worker labels, or more complex, weighted scheduling rules using worker affinity
- Event-based triggering and listeners to build event-driven, highly distributed systems
- Webhook-based triggering for easily triggering Hatchet tasks from upstream data sources
- Durable tasks for building fault-tolerant, long-running workflows which can easily recover from failure
- DAGs (directed acyclic graphs) for building data pipelines and simple workflows. See our guide on choosing between durable tasks and DAGs
- Complex pause/resume conditions using durable sleep, event waits, or a combination of both
- Priority so that critical tasks can run before tasks which aren't latency sensitive, like backfill jobs
- Rate limiting to deal with third-party APIs, or even to enforce per-user rate limits using dynamic rate limits
- Fair scheduling using Hatchet's concurrency policies, which can set a concurrency limit for tasks based on dynamic keys
- Worker slots for ensuring that workers cannot take on more work than they can handle
- Real-time web UI with alerting, monitoring, and logging
- OpenTelemetry (using Hatchet's built-in collector or external destinations)
- Prometheus metrics
- Multi-tenant by default, so a single Hatchet instance can support multiple teams
- Users and roles
Hatchet Cloud features
- Autoscaling and pay-as-you-go plans
- Multi-region deployments
- SSO
- Improved performance for monitoring, logging, and observability
The most up-to-date documentation can be found at https://docs.hatchet.run.
- Discord - best for getting in touch with the maintainers and hanging with the community
- Github Issues - used for filing bug reports
- Github Discussions - used for starting in-depth technical discussions that are suited for asynchronous communication
- Email - best for getting Hatchet Cloud support and for help with billing, data deletion, etc.
Hatchet vs Durable Execution Platforms (Temporal, DBOS)
Hatchet's durable tasks feature is a drop-in replacement for Temporal or DBOS workflows. You also get:
- End-to-end observability of durable tasks using OpenTelemetry, monitoring and logging
- Features built for running workflows at scale, such as rate limiting, complex routing, and worker-level slot control
- Multi-tenancy, users and roles supported out of the box
In addition to making durable execution easier to use, Hatchet can also be used as a general-purpose queue, a DAG-based orchestrator, a durable execution engine, or all three, allowing teams to centralize their async and background processing in a single platform.
Hatchet vs Task Queues (Celery, BullMQ)
Traditional task queues like BullMQ and Celery trade off durability for throughput. Tasks persist on the broker (typically Redis or RabbitMQ) while the task is executing, but are not persisted afterwards. This makes it difficult to build complex workflows, as there is no persistent intermediate state. It also makes it difficult to recover and replay tasks which failed and were removed from the queue, resulting in custom admin tooling to work with these libraries at scale.
On the other hand, Hatchet is a durable task queue, meaning it persists the history of all executions (up to a defined retention period), which allows for easy monitoring, debugging and durable task features. Hatchet's durability features add some overhead: while Hatchet has been load-tested up to 10k tasks/second, it consumes more resources than a system built on Redis or RabbitMQ, which can reach much higher throughput.
Hatchet vs DAG-based platforms (Airflow, Prefect, Dagster)
These tools are usually built with data engineers in mind, and aren’t designed to run as part of a high-volume application. They’re usually higher latency and higher cost, with their primary selling point being integrations with common datastores and connectors.
When to use Hatchet: when you'd like to use a DAG-based framework, write your own integrations and functions, and require higher throughput (>100/s)
When to use other DAG-based platforms: when you'd like to use other data stores and connectors that work out of the box
Please submit any bugs that you encounter via GitHub issues.
Please let us know what you're interested in working on in the #contributing channel on Discord. This will help us shape the direction of the project and will make collaboration much easier!
FAQ
Where does my data live?
Cloud data-plane regions are live in AWS Oregon, N. Virginia, Ireland and Sydney, with custom plans able to add dedicated capacity, more regions, or a self-hosted / bring-your-own-cloud deployment.
Do you offer startup discounts?
Yes, details of the startup program are available by reaching out directly.
I'm migrating from another orchestrator. Will you help?
Yes, there are migration guides for Temporal and Celery, and the team offers calls with an engineer.
When am I billed and how?
Billing happens at the end of each 30 or 31 day cycle, and nothing is charged until the included million runs and million events are exceeded.
Do retries count?
No, retries are not billed: a task that fails and is retried counts as a single run regardless of attempts.
Do failed runs count?
Yes — a run is an execution, so a task that runs and fails still counts as a run.
What happens if I hit a free tier limit?
You are alerted by email or Slack as you approach the limit, and once you exceed it tasks get dropped with errors when creating new ones.
Why is Hatchet cheaper than other orchestrators?
Because it runs faster, which means less database load, fewer spikes and fewer machines, making it both more reliable and cheaper to operate.
More in Workflow Automation
hermes-studioEkko Studio unites chat agents and 14 coding CLIs in one self-hosted web console with group chat, visual workflows, profiles, voice, and device sync.
hexabotHexabot is a self-hosted AI workflow automation platform for building agentic workflows across channels with a visual editor, YAML, memory, RAG, and RBAC.
heymHeym is a self-hosted platform for building and running agentic AI workflows with a visual canvas, human-in-the-loop, RAG, MCP, and full observability.
HuginnSelf-hosted, open-source automation server where agents watch websites, RSS, mail and webhooks, then act on events and post to Slack, Telegram and other services.
illa-builderSelf-hosted open-source low-code platform for internal tools: dashboards, CRUD apps, admin panels, with database/API connectors and scheduled or webhook automation.
inngestWorkflow orchestration platform for self-hosted durable step functions and AI workflows. Language SDKs for TypeScript, Python, Go automatically retry failed steps.
judicexJudicex is a self-hosted legal AI workspace for lawyers to ingest sources, run workflow checks, generate drafts, and chat with an LLM bound to evidence in SQLite
keepOpen-source, self-hosted AIOps and alert management platform: deduplication, correlation, enrichment, YAML workflow automation and 110+ monitoring integrations.
KestraSelf-hosted, open-source (Apache-2.0) engine that schedules and chains data, AI and infrastructure jobs from YAML or a visual editor, with 2,200+ plugins.
LeastActionLeastAction is a self-hosted data workflow platform where an AI operator runs and repairs pipelines end-to-end against your stack with a shared team catalog.
LivebookOpen-source, self-hosted interactive notebooks for Elixir with realtime collaboration, smart cells, .livemd files, custom runtimes, and one-click app deploys.
local-ai-toolkitSelf-hosted AI toolkit bundling an LLM proxy, visual workflow builder, and chat UI backed by PostgreSQL. Deploy with Docker Compose or Helm charts.
0 comments