Open Source ยท Built in Go ยท Redis-backed

Your workers, your machines,
your rules.

The open-source distributed task queue for GPU and CPU workloads. Push tasks via API, Runqy distributes them to your workers, anywhere.

pip install runqy-python
Go + Redis
lightweight core
Python
two-decorator SDK
RunPod ยท Vast.ai
GPU autoscaling
MIT
open source

Your compute belongs to you. So does your code.

Runqy is a task broker. It receives jobs, distributes them to your workers, and tracks execution. The workers run on your machines, with resources you control.

Got an RTX 4090 under your desk? Run GPU inference in production. A beefy server for CPU-heavy scraping? Add it to the pool. Need more capacity? Let Runqy rent GPUs for peak loads and release them when it's quiet. Runqy orchestrates. You stay in control.

Built for real workloads

Everything you need to distribute tasks across heterogeneous infrastructure.

๐Ÿš€

GPU autoscaling

Rent GPUs on RunPod or Vast.ai when the queue fills up, release them when it's idle. Busy workers are drained before their machine is destroyed.

How autoscaling works โ†’
๐Ÿ”„

Git-based deployment

Workers clone your repo, install dependencies and start your code on their own. No SSH, no Docker builds, no CI pipelines.

How deployment works โ†’
๐ŸŽ›๏ธ

Remote control

Drain a worker, roll out a new commit, upgrade the worker binary or reload a config from the CLI or the dashboard. Models stay loaded.

Remote commands โ†’
๐Ÿ

Python SDK

Two decorators turn any Python script into a worker. Load your model once, then handle tasks. No DSL, no boilerplate.

See the SDK โ†’
๐ŸŒ

REST API

Submit jobs from any language. JSON in, JSON out. Batch endpoint for high-volume submissions.

๐Ÿ“Š

Priority sub-queues

Serve paid users before free ones with the same code. Weighted priorities by default, strict order when you need it.

How priorities work โ†’
โฑ๏ธ

Timeouts & retries

Per-queue execution and pending timeouts, retries and retention. Quick CPU tasks and hour-long GPU jobs side by side.

Per-queue limits โ†’
๐Ÿ””

Dashboard & alerts

Queues, tasks and workers in a web dashboard. Email alerts when a queue has no workers, backs up or gets slow.

Dashboard and alerts โ†’
๐Ÿ”’

Self-hosted

Your data never leaves your infrastructure. Encrypted vaults for secrets. No vendor lock-in, no SaaS dependency.

How it works

1

Write your task

Pure Python. No DSL. Just your code with two decorators.

2

Push to GitHub

Workers pull your code automatically. They clone, install deps, and signal ready. Zero manual deployment.

3

Enqueue jobs

Via CLI, SDK, or API. Runqy distributes them to available workers and tracks each task until it's done.

Worker (Python)

from runqy_python import task, load, run

@load
def setup():
    # Runs once at startup
    return {"model": load_my_model()}

@task
def process(payload, ctx):
    result = ctx["model"].predict(
        payload["data"]
    )
    return {"prediction": result}

run()  # Enters the task loop

Submit jobs (cURL)

# Single job
curl -X POST http://localhost:3000/queue/add \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "queue": "inference.default",
    "data": {"input": "hello"}
  }'

# Many jobs in one request
curl -X POST http://localhost:3000/queue/add-batch \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"queue": "inference.default", "jobs": [...]}'

Your infra, your way

Mix environments as you see fit. Add workers when you need them. Remove them when it's quiet.

runqy ServerClientrunqyqueue_xqueue_yqueue_zOn-PremAWSGCPAzureK8sWorkers
Task Request
Task Response

Zero-touch deployment

Push code to GitHub. Workers deploy themselves, and pick up new commits on a single command. No SSH. No Docker builds. No CI pipelines to maintain.

1Worker starts2Pull from Git3Install deps4Ready to work
โ†’ Connects to Runqy server, receives Redis creds + repo URL
โ†’ Automatically clones your code, creates virtualenv
โ†’ Automatically runs pip install, executes startup script
โœ“ Signals ready, starts listening for tasks

Built for these workloads

From quick CPU tasks to hour-long GPU inference, Runqy handles it.

๐ŸŽจ Image Generation

Stable Diffusion, SDXL, Flux. Enqueue a prompt, get an image. Workers process in parallel on your GPUs.

GPU ยท Long-running ยท Parallel

๐Ÿค– LLM Inference

vLLM, Transformers, llama.cpp. The model loads once and stays in memory between tasks, on your hardware.

GPU ยท Model stays loaded ยท Priorities

๐ŸŽฌ Video Generation

Long-running jobs on your own hardware or rented GPUs. Timeouts sized per queue, from seconds to hours.

GPU ยท Hours-long ยท Autoscaling

๐Ÿ•ท๏ธ Web Scraping

Parallel crawling across workers. Scale your scrapers horizontally without managing infrastructure.

CPU ยท High-volume ยท Parallel

๐Ÿ“Š Data Pipelines

ETL jobs, data transformations, report generation. Offload heavy processing to dedicated workers.

CPU/GPU ยท Batch ยท ETL

๐Ÿ“ฆ Batch Processing

Thousands of documents to process? Enqueue them all via the batch endpoint. Workers split the load.

CPU ยท Batch API ยท Scale-out

How Runqy compares

Different tools for different needs. Here's where Runqy fits.

FeatureRunqyCeleryBullMQTemporal
LanguageGo (broker) + Python SDKPythonNode.jsGo + multi-lang SDKs
Auto worker deploymentโœ“ Git-basedโœ—โœ—โœ—
Built-in GPU autoscalingโœ“ RunPod, Vast.aiโœ—โœ—โœ—
Heterogeneous infraโœ“ Mix providersManualManualManual
Workflow orchestrationTask queueCanvas/chainsFlowsโœ“ Full workflows
SetupBinary + Redis + SQLite/PostgresBroker + result backendRedisServer cluster + database
LicenseMITBSDMITMIT

Integrations

Submit jobs from anywhere. Workers run Python.

๐Ÿ

Python SDK

pip install runqy-python

Write workers with decorators. Submit jobs programmatically.

๐ŸŒ

REST API

POST /queue/add ยท POST /queue/add-batch

JSON-based. Use from any language, any platform.

๐Ÿ”ด

Redis

Battle-tested message broker

Lightweight, fast, and familiar. Your queue lives in Redis.

Get started in 5 minutes

From zero to distributed task processing.

1.

Start Redis, the server and a worker

git clone https://github.com/Publikey/runqy.git
cd runqy
docker compose -f docker-compose.quickstart.yml up -d
2.

Submit a job to the example queue

curl -X POST http://localhost:3000/queue/add \
  -H "Authorization: Bearer dev-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "queue": "quickstart-oneshot",
    "data": {"operation": "uppercase", "data": "hello"}
  }'
3.

Write your own task

# main.py
from runqy_python import task, run

@task
def hello(payload, ctx):
    return {"message": f"Hello {payload['name']}!"}

run()

Why open source?

โ†’

No vendor lock-in

Your task queue shouldn't depend on a SaaS surviving. Self-host forever.

โ†’

Nothing hidden

Read the code, run it on your own infrastructure, see exactly what it does.

โ†’

Community-driven

File issues, submit PRs, shape the roadmap. Built in the open.

โ†’

No per-task pricing

Run as many jobs as you want. Your hardware, your costs.

๐Ÿ”“

MIT Licensed

Use it however you want. Commercial, personal, modified, no restrictions.

Star on GitHub โญ

Ready to distribute your workloads?

Install the SDK. Write your worker. Run it on your machine. Enqueue your first job.

Your workers, your machines, your rules.