Watchlight AI Enclave — a governed, isolated runtime for autonomous AI agents.
pip install watchlight-enclave Copy PIP instructions
Run an agent in a box it cannot talk its way out of, and get the evidence your security review asks for — checkable offline, by someone who doesn't trust you.
You hand an agent a repo and a task. It can edit files, call tools, and reach the network. Two questions follow immediately, and neither is answerable after the fact by reading logs the agent could have written:
Enclave runs the agent in an isolated sandbox whose only route out is a recording egress guard, and seals what happened into a hash-chained evidence bundle you can hand to someone who doesn't trust you.
pip install watchlight-enclave wl-enclave init # writes enclave.yaml, scaffolds a policy wl-enclave keygen # one key, once; runs seal signed bundles wl-enclave run --purpose "Fix PR #412" # runs the agent in a sandbox wl-enclave verify runs/ /bundle # checks the evidence, offline wl-enclave hosts --since 2026-11-03 # what did it actually reach? keygen writes one Ed25519 key to ~/.config/wl-enclave/signing.key, mode 0600, and prints a public key id. The private key stays in that file. It never goes into a bundle, into the sandbox, or over the network. Hand reviewers the public key id, never the file, so they can pin the signer: wl-enclave verify --signer .
That last one is the question a security review opens with, and the answer comes out of verified bundles rather than out of the agent's own logs:
$ wl-enclave hosts --since 2026-11-03 wl-enclave: runs 14 verified wl-enclave: coverage http_connect only; icmp, raw_tcp, udp had no route and are not recorded HOST PORT VERDICT TRIES SENT RECV LAST IP pastebin.com 443 deny 20 - - - example.com 443 allow 20 34.4 kB 128.2 kB 172.66.147.243 wl-enclave: 2 host/verdict pair(s) over 40 attempt(s) If a run's bundle doesn't verify, its hosts are left out of that table and the count above it says so. A short host list is the one way this command could mislead you, so it refuses to be quietly short.
One rule drives the whole design: a bundle must never be able to understate what happened. A bundle that quietly drops records while still looking complete is worse than one that admits a gap. The first gets a reviewer to sign off; the second gets them to ask a question. That's why verify gives four answers instead of two: failed, uncontained, incomplete, ok. Only ok exits 0.
verify needs no account, no network and no Watchlight.
Python 3.10+, and a container runtime (Docker or Colima) for run. verify needs neither.
Everything lives in the repository: the quickstart, what a bundle proves, the trust boundaries, the control vocabulary, egress coverage, and how to write a driver for a new sandbox.
Documentation: https://docs.watchlight.ai/enclave
Early development, pre-1.0. The CLI, the enclave.yaml schema and how strictly verify reads a bundle can each change in a minor release, and the changelog always says which of the three moved. 1.0 waits on the manifest reaching its final shape.
One limit worth knowing up front. A signature means this bundle is the one that key sealed, and nobody has touched it since. It does not mean this bundle is everything that happened. Whoever holds the key can cut the chain short and re-seal it, which is why the format already carries a cosignatures slot for a witness it doesn't have yet. The repository is blunt about this one and the rest of the known gaps.
Apache-2.0. The CLI, the evidence format and its offline verifier are all open. Two compiled dependencies — the Cedar decision engine and the MCP policy enforcement runtime — ship under the Watchlight Developer Edition license, free to use including in production and commercially.
Both files in this release have provenance metadata.
agent-security ai-agents audit-trail authorization cedar evidence governance sandbox
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Both files in this release have been uploaded with provenance metadata.
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.




