argus-iris
A GPU lease broker for a small fleet of mixed cards. Image generation, LLMs, speech and training jobs share a few GPUs, each assuming it owns the card, until one of them runs out of memory. iris decides whether a job may start now, on which node, and which idle model must be unloaded first. It never runs the work.
callers (argus-cortex client) dashboard Prometheus
│ leases, heartbeats │ SSE │
▼ ▼ ▼
┌───────────────────────── broker (:8120) ─────────────────────────┐
│ queue and admission · VRAM ledger · residency policy · registry │
│ adapters: ComfyUI · Ollama · argus-http · external │
└────────┬──────────────────────┬──────────────────────┬───────────┘
agent @ rtx3090 agent @ rtx4060 agent @ gtx1070
NVML, cgroups, allow-listed container start/stop/restart
What it does
- Reserves VRAM. With
admission: enforce, a lease that does not fit is queued, sent to another node that has room, or given room by evicting the least recently used idle models. Priority classes age, so nothing starves. - Checks the GPU, not the service. An eviction counts only when NVML shows the memory came back. What a service keeps anyway (a CUDA context, an allocator cache) is measured and reported.
- Survives clients that don't clean up. Leases expire without heartbeats. A job that heartbeats but does no GPU work is flagged as stalled and asked to yield.
- Fails open. If the broker is down, the client falls back to its local lease and work continues.
- Is adopted gradually. Admission starts in
observe, and each residency rule only reports until it saysenforce: true. - Finds services itself. Services register with a URL and a token; the node agents' container inventory says where they run. A caller can never name a host for the broker to contact.
Try it
You need Docker with the NVIDIA container runtime, and Compose.
git clone https://github.com/smk762/argus-iris && cd argus-iris
cp deploy/.env.example deploy/.env # set IRIS_AGENT_NODE, IRIS_AGENT_TOKEN and HOST_IP (this host's LAN IP)
cp deploy/iris.example.yaml deploy/iris.yaml # set your nodes and services
docker compose build && docker compose up -d # broker and agent on this host
Open http://<HOST_IP>:8120/ui/. Ports bind to localhost unless HOST_IP is set. Read SECURITY.md before exposing either port: the agent holds the
Docker socket.
Or from PyPI: pip install 'argus-iris[server,cli]' for the broker, pip install 'argus-iris[agent,cli]' for a node.
Read more
- DESIGN.md: the problem, admission, scheduling and eviction, and what is built or still planned.
- docs/operating.md: deployment, adding services and GPU hosts, leases, the service directory.
- SECURITY.md: what each port can do, and how it is guarded.
Develop
make install # venv + editable install with the "dev" extras
make test
make lint
The version comes from git tags (hatch-vcs). CI and release use the shared
argus-ci workflows; a v* tag publishes to PyPI and GHCR.
iris is part of the Argus suite. The client and wire models live in argus-cortex.
Metadata
Release files for argus-iris 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| argus_iris-0.2.1.tar.gz | 191.9 kB | With provenance | Details for argus_iris-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| argus_iris-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for argus_iris-0.2.1-py3-none-any.whl |
Total release size: 320.9 kB
Release files / argus_iris-0.2.1.tar.gz
| Download URL | argus_iris-0.2.1.tar.gz |
|---|---|
| Size | 191.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a68edf1e05db5db5fbf67f0cf66a18786be9aa5ceb9cb0ed490e64f8f919ecec
|
|
BLAKE2b-256 checksum How to use checksums |
04af7352aef6d36dbf6c580f3cf74b0c08b988cd2a58b4fea28cdcb64ab715c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / argus_iris-0.2.1-py3-none-any.whl
| Download URL | argus_iris-0.2.1-py3-none-any.whl |
|---|---|
| Size | 129.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8b426c16fbf3c58bc0c6cdb8a557fd91688dfe740301cdd37c3d595f553b3a2
|
|
BLAKE2b-256 checksum How to use checksums |
abc6373ebf8a28e828d8d41dce8672823d875c88dbee07dec2d0ca60439d64ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for argus-iris 0.2.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for argus_iris-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA 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.