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.

Hyrex Mascot

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:

  1. Define - Create tasks with the @hy.task decorator (Python) or hy.task() method (TypeScript)
  2. Send - Queue tasks asynchronously with .send() from anywhere in your application
  3. Process - Workers automatically pull and execute tasks with built-in retries and monitoring
No message brokers, no complex infrastructure - just your database and your code.
from hyrex import HyrexRegistry

hy = HyrexRegistry()

@hy.task
def send_email(to: str, subject: str):
    # Your email logic here
    print(f"Sending email to {to}: {subject}")
    return {"sent": True}

# Send task asynchronously
send_email.send(
    to="user@example.com",
    subject="Welcome to Hyrex!"
)

Get Started

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
Ready to build? Choose your language above to get started in 5 minutes!