selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

hatchet logo

Self-host hatchet

sandbox/0.1.4

Task, agent and durable workflow orchestration engine

ReleaseOpen SourceMIT
helm install hatchet-stack hatchet/hatchet-stack --set caddy.enabled=true
Updated10 hours ago
LanguageGo
Setup difficultyModerate
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
Docker
ghcr.io/hatchet-dev/hatchet/hatchet-lite

What is hatchet?

hatchet alternatives

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 Logo
An orchestration engine for background tasks, AI agents, and durable workflows

Docs License: MIT Go Reference NPM Downloads

Discord Twitter GitHub Repo stars

Hatchet Cloud · Documentation · Website · Issues

What is Hatchet?

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.

Get started quickly

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 start

To view full documentation for self-hosting and using cloud, have a look at the docs.

When should I use Hatchet?

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.

Hatchet Features
Background Tasks
Task orchestration and workflows
Scale
  • 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
Monitoring, observability, and management
  • 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
Documentation

The most up-to-date documentation can be found at https://docs.hatchet.run.

Community & Support
  • 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...
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

Issues

Please submit any bugs that you encounter via GitHub issues.

I'd Like to Contribute

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!

How to install hatchet

Install hatchet with Docker Compose

Docker
Environment variables
DATABASE_URL, SERVER_MSGQUEUE_RABBITMQ_URL, SERVER_AUTH_COOKIE_DOMAIN, SERVER_GRPC_BROADCAST_ADDRESS

Create the multi-service docker-compose.yml shown in the guide (postgres, rabbitmq, migration, setup-config, hatchet-engine, hatchet-dashboard), then:

docker compose up

Production-ready deployment; RabbitMQ is optional and can be replaced by Postgres with `SERVER_MSGQUEUE_KIND=postgres`. UI at http://localhost:8080.

How to configure hatchet

  • SERVER_PORT8080Port for the core server
  • SERVER_URLhttp://localhost:8080Full server URL, including protocol
  • SERVER_GRPC_PORT7070Port for the GRPC service
  • SERVER_GRPC_BIND_ADDRESS127.0.0.1GRPC server bind address
  • SERVER_GRPC_BROADCAST_ADDRESS127.0.0.1:7070GRPC server broadcast address

hatchet releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

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

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…