haon-worker
CLI + GUI client for the HAON PowerHub Marketplace — rent GPU compute from miners by the second.
What it does
Opens a tunnel from your local machine to a rented GPU running Ollama, ComfyUI,
vLLM, TGI, or any HTTP runtime. Your local tools (LM Studio, Jan, curl, the
OpenAI Python SDK, LangChain, anything pointing at http://localhost:PORT)
work transparently against the rented GPU — zero changes to your code.
Bytes flow peer-to-peer over WebRTC DataChannel when the network allows (typically same LAN / residential NAT), with automatic fallback to the HAON broker relay when ICE traversal fails. The data plane is end-to-end encrypted on the WebRTC path (DTLS).
Install
pip install haon-worker
Requires Python 3.12+. aiortc brings native libs but ships pre-built wheels
for Windows / macOS / Linux x86_64 and arm64 — no compiler toolchain needed.
For Windows users who don't want Python at all, a single-file .exe GUI is
available at https://haon.run (60+ MB, embeds Python 3.13 + everything).
Quickstart
# 1. Authenticate (creates ~/.haon/worker.toml + stores refresh token)
haon-worker login
# 2. Browse GPUs
haon-worker offers --runtime ollama --limit 10
# 3. Open a session against an offer
haon-worker session open <OFFER_ID> --runtime ollama_native
# 4. Tunnel a local port to the miner's runtime
# (auto = WebRTC first, broker fallback)
haon-worker tunnel forward <SESSION_ID> \
--local-port 22434 --remote-port 11434 --via auto
# 5. Use it
curl http://127.0.0.1:22434/api/tags
Point LM Studio / Jan / OpenAI SDK at http://127.0.0.1:22434 and they work
against the rented GPU.
CLI reference
haon-worker --help
login Sign in with email + password
logout Revoke refresh token
whoami Show the current account
balance Show wallet balance
buy-credit Mint a Stripe checkout session
offers List marketplace offers
session open Reserve a miner + start a session
session list List your past + active sessions
session close Close an active session
tunnel forward Forward a local port through the rented GPU
--via {auto|webrtc|broker}
tunnel attach Re-attach to a running session's broker tunnel
job submit Submit a job to a session (echo-style runtimes)
Links
- Marketplace UI: https://haon.run
- Issues: https://github.com/caiorlm/HAON-PowerHub-Marketplace/issues
- Companion miner package:
haon-agent
License
Apache-2.0
Metadata
Release files for haon-worker 0.4.2
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 |
|---|---|---|---|---|
| haon_worker-0.4.2.tar.gz | 44.5 kB | Without provenance | Details for haon_worker-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| haon_worker-0.4.2-py3-none-any.whl | Python 3 | none | any | Details for haon_worker-0.4.2-py3-none-any.whl |
Total release size: 94.4 kB
Release files / haon_worker-0.4.2.tar.gz
| Download URL | haon_worker-0.4.2.tar.gz |
|---|---|
| Size | 44.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33e3705d4e3b093078152b586cdbd322ef70d75f9f0b9ee3dd955127075c9bdb
|
|
BLAKE2b-256 checksum How to use checksums |
84a2f702bc24730d89ff93170d0a7e628df600ec38835db98ae38176d765abd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / haon_worker-0.4.2-py3-none-any.whl
| Download URL | haon_worker-0.4.2-py3-none-any.whl |
|---|---|
| Size | 49.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53a59abfb1723c0595d2ff8dc69b177dc2ef7f608084c8c2cc675feb95a63b66
|
|
BLAKE2b-256 checksum How to use checksums |
971a697df9243d72c7a97830c81f5255ff644c786f1f2a6fcc3e81d0654521d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for haon-worker 0.4.2
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.