CAVE — Code Agent Virtualization Environment
Package: cave-harness
CAVE virtualizes any terminal-based code agent (e.g. Claude Code) behind an HTTP server, so it can be driven, observed, and orchestrated as a service instead of an interactive terminal. It is the agent runtime that PromptWorld and the other *Worlds are built on.
What it gives you
- An HTTP server around a code agent — start a long-lived agent process and talk to it over HTTP instead of a TTY: inject prompts, stream output, and run it inside a loop.
- A hook harness — a registry + dispatch layer for Claude Code hooks (session-start / per-turn / stop), so behavior can be layered onto the agent from outside.
- Loop infrastructure — the autopoiesis / guru loops that keep an agent working across turns.
Install
pip install cave-harness
Optional extras:
pip install "cave-harness[sdna]" # + sanctuary-dna integration
pip install "cave-harness[dev]" # + pytest / pytest-asyncio
Run the server
cave-server
This launches the HTTP server (cave.server.http_server:run_server, FastAPI + uvicorn). Point your
client at it to register hooks, inject prompts, and drive the virtualized agent.
Where it sits
CAVE is the runtime layer of the SANCREV / GNOSYS stack: the *Worlds (PromptWorld, …) compile their agents and run them on top of the CAVE harness. See the ecosystem docs for the full picture.
Docs
Full documentation and the ecosystem map: https://sancovp.github.io/aisaac/
License
GPBL-1.0 — see LICENSE.
Metadata
Release files for cave-harness 0.1.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 |
|---|---|---|---|---|
| cave_harness-0.1.1.tar.gz | 204.8 kB | Without provenance | Details for cave_harness-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cave_harness-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for cave_harness-0.1.1-py3-none-any.whl |
Total release size: 425.5 kB
Release files / cave_harness-0.1.1.tar.gz
| Download URL | cave_harness-0.1.1.tar.gz |
|---|---|
| Size | 204.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
863b60f56b15ac9b4556cf0bd35cecb0542d64b0f2e1699287ba74ae8de4cf7c
|
|
BLAKE2b-256 checksum How to use checksums |
fe4978dbc97d8ad4eed1256c1afb8e34b65cd4297573e14224722e01aa01e6c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.13
|
Release files / cave_harness-0.1.1-py3-none-any.whl
| Download URL | cave_harness-0.1.1-py3-none-any.whl |
|---|---|
| Size | 220.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ff3dcd7f323809368864ccfe01436ceb3e4315e6d46df396393a93e226268e5
|
|
BLAKE2b-256 checksum How to use checksums |
e2a00977dbc83c7aa958bc5a0dd366b938161eef4412d370a7252ab9539174d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.13
|
Security for cave-harness 0.1.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.
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.