5dive
Python client for the 5dive CLI — read the task queue, agent seats and org chart of a 5dive box from Python.
5dive runs a team of AI coding agents on your own machine. State lives on that
box and the CLI is the interface with a stable contract over it, so this package
is a thin, dependency-free wrapper over 5dive <verb> --json rather than an HTTP
client.
Install
pip install 5dive
The distribution is named 5dive; the import name is fivedive, because a
Python identifier cannot begin with a digit.
Use
from fivedive import FiveDive
fd = FiveDive()
for t in fd.tasks("--status=todo"):
print(t["ident"], t["assignee"], t["title"])
print(fd.task("DIVE-3903")["status"])
for a in fd.agents():
print(a["name"], a["active"])
Anything the CLI can answer in JSON is reachable, whether or not this package has a named helper for it:
fd.raw("org", "tree")
fd.raw("task", "ls", "--assignee=main")
Errors are raised, not returned
Every --json verb answers in one envelope:
{"ok": true, "data": {...}}
{"ok": false, "error": {"code": 4, "class": "not_found", "message": "no such task: NOPE-1"}}
An unchecked ok is the bug this package exists to prevent, so the false branch
raises instead of handing back a dict you have to remember to test:
from fivedive import FiveDive, FiveDiveError, CliNotFound
try:
fd.task("NOPE-1")
except FiveDiveError as e:
print(e.err_class, e.code, e) # not_found 4 no such task: NOPE-1
Branch on err_class, not on message text — the class is the stable contract.
CliNotFound is raised when the 5dive binary is not on PATH.
Requirements
Python 3.9+, no third-party dependencies, and a 5dive box with the CLI installed. Get the CLI at 5dive.ai or github.com/5dive-ai/5dive.
Licence
MIT.
Metadata
Release files for 5dive 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| 5dive-0.1.0.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 5dive-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.3 kB
Release files / 5dive-0.1.0.tar.gz
| Download URL | 5dive-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f52642e4318d646e25c3dce0d36dadef3b55ff75c624508e1a6314add112c7e
|
|
BLAKE2b-256 checksum How to use checksums |
96aa2d0c703cbd2d22577f8f2bbe73249bc41e78392a54e0d1148f07de4c4c2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 2, 2026.
Transparency logRelease files / 5dive-0.1.0-py3-none-any.whl
| Download URL | 5dive-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61b24772d9a5bd82f59fb6a04c75aee64050495eb76cb01173bbb1cc850fa676
|
|
BLAKE2b-256 checksum How to use checksums |
71bbf71eb73abbac290d774d0f1d267fc6fa1002a760cdee6393ac139c9ececc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 2, 2026.
Transparency log