What is Hyrex?
Hyrex is a task orchestration framework that uses PostgreSQL (or Hyrex Cloud) as a durable task queue. Define tasks in Python or TypeScript, send them to be processed asynchronously, and let Hyrex handle the rest.
Get started with our Python SDK or TypeScript SDK.

Get Started
Python Quick Start
Get started with Python SDK
TypeScript Quick Start
Get started with TypeScript SDK
Examples
Real-world patterns and use cases
Deploy to Production
Production deployment guide
COLD Properties
Controllable
You control when, where, and how your tasks run.
Observable
You get logging by tasks, metrics/performance data, and a beautiful open-source UI.
Large Scale
Your workloads become fully-horizontally scalable across any cloud setup.
Durable
You get a distributed, fault-tolerant cluster of workers that monitor one another
and self-heal.
How It Works
Three Simple Steps:
- Define - Create tasks with the
@hy.task
decorator (Python) orhy.task()
method (TypeScript) - Send - Queue tasks asynchronously with
.send()
from anywhere in your application - Process - Workers automatically pull and execute tasks with built-in retries and monitoring
Why Hyrex?
- No new infrastructure - Use your existing PostgreSQL or our managed cloud
- Type-safe - Automatic type-checking to ensure data integrity
- Open-source - Built on proven PostgreSQL reliability
- Observable - Built-in monitoring with Hyrex Studio
- Scalable - From single worker to thousands