Skip to main content

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.3

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

Source distribution (sdist)

Source distribution for cave-harness 0.1.3
File Size Uploaded Provenance Actions
cave_harness-0.1.3.tar.gz 216.7 kB Without provenance Details for cave_harness-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cave-harness 0.1.3
File Interpreter ABI Platform Actions
cave_harness-0.1.3-py3-none-any.whl Python 3 none any Details for cave_harness-0.1.3-py3-none-any.whl

Total release size: 444.3 kB

Release files / cave_harness-0.1.3.tar.gz

Download URL cave_harness-0.1.3.tar.gz
Size 216.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ad2873a34b6efee6ffb6e8f9b467eb695373f0793b7365825e3e0cf969843fdf
BLAKE2b-256 checksum
How to use checksums
0b1c23d4d9c2e8d9957b4c96b715146f6526364ce8adcd1588ef9a6e767d48af
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.3-py3-none-any.whl

Download URL cave_harness-0.1.3-py3-none-any.whl
Size 227.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70c18f1e13151ac13022cc1c9a070d1b566d99f9d140a4e148e320dbe7aa6341
BLAKE2b-256 checksum
How to use checksums
23ab395c22f471632dfafbda05f1dbfde04caa55039608e787a3b6d8555a4028
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.3

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