Skip to main content

tqdaemon

English | Polski | 中文 | العربية

License: MIT Python 3.12+ CI PyPI Latest tag

tqdaemon — local jobs, agents, workers

tqdaemon runs long jobs on your own machines without melting them. Describe each job in YAML. A local daemon starts work only when there is enough CPU, RAM, and GPU memory. Watch progress in a web UI, the tq CLI, or from an AI coding agent (MCP).

Not Celery, Kubernetes, or CI. Not the 2011 AMQP/Debian rojkov/taskqueue (simpletaskqueue). How it compares with cron, Celery, Slurm, Ray and others: docs/comparison.md.

Why use it

  • Resource-aware admission (CPU / RAM / GPU VRAM) on one PC or with remote workers
  • YAML jobs with checkpoints, deps, priorities, and stable error codes
  • Built for agents: submit, wait, diagnose over MCP
  • Local-first — no cloud SaaS account

Best start: ask your agent

Tell your coding agent (Cursor, Claude Code, …) to use tqdaemon for long jobs: wire MCP (tq mcp), submit YAML tasks, and wait_for_task instead of blocking the chat. Setup: docs/mcp.md.

Install

Need: Python 3.12+, Git, uv.

Platforms: developed and tested on Windows 11; also verified on Linux (Ubuntu 24.04, daemon + task run, with and without an NVIDIA GPU path). On macOS the dependencies resolve (all wheels, including nvidia-ml-py, which is pure Python and only needs an NVIDIA driver when you actually have a GPU), but the daemon has not been run there yet; reports welcome.

From PyPI: uvx --from tqdaemon tq doctor (or pipx install tqdaemon). From source:

git clone https://github.com/wwylon/tqdaemon.git
cd tqdaemon
uv sync
uv run tq doctor
uv run tq start

Open http://127.0.0.1:8765. Try the sample in examples/minimal (register it as a project, then tq sync / enable / tq wait — see that folder’s README).

Optional Windows toasts: uv sync --extra toast. Autostart: scripts/install_tq_autostart.ps1.

Docs

Audience Start here
Humans docs/README.md · Quickstart · Web UI · CLI
Agents AGENTS.md · MCP · Cookbook · llms.txt

Advanced: Security & privacy · Task standards · Scheduler · Workers

Transparency

We do not phone home. Public signals are GitHub stars (badge above) and, after a PyPI release under a distinct package name, download counts you can verify yourself. Maintainers may use GitHub Traffic Insights (clones ≠ installs). Details: docs/security.md.

License

MIT — see LICENSE · Changelog

Metadata

Release files for tqdaemon 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tqdaemon 0.9.0
File Size Uploaded Provenance Actions
tqdaemon-0.9.0.tar.gz 2.7 MB Without provenance Details for tqdaemon-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tqdaemon 0.9.0
File Interpreter ABI Platform Actions
tqdaemon-0.9.0-py3-none-any.whl Python 3 none any Details for tqdaemon-0.9.0-py3-none-any.whl

Total release size: 4.8 MB

Release files / tqdaemon-0.9.0.tar.gz

Download URL tqdaemon-0.9.0.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
d87fca4c80842c22d1a07e107693b9ca620ea5093747eae759146387e83504f7
BLAKE2b-256 checksum
How to use checksums
570506274b9de59a76c60f91723abd9219df6ba949da871af2801f8bcbe7fb11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release files / tqdaemon-0.9.0-py3-none-any.whl

Download URL tqdaemon-0.9.0-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
71d1afabc467ea2024834be652b7062031022f8c055a761f5422742cb0aad747
BLAKE2b-256 checksum
How to use checksums
0fb85e99786d97c3e3c073ba55ad95b27d47259ab7b8e96c51385bc0f48f4934
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Security for tqdaemon 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page