Inspect AI integration (inspect-capsem-sandbox)
inspect-capsem-sandbox (inspect_capsem) registers the capsem SandboxEnvironment for Inspect AI, running evaluations inside isolated Capsem micro-VMs via the Python capsem SDK.
Use a Capsem 0.7.1 or newer service and Python SDK. The extension needs the VM labels and typed errors introduced with that SDK cohort. It is not published to PyPI yet.
From a repository checkout:
uv sync --project integrations/inspect-ai --frozen
uv run --project integrations/inspect-ai inspect eval task.py --sandbox capsem
See the Inspect AI Sandbox documentation for configuration (CapsemSandboxConfig), environment variables, and lifecycle behavior.
The default VM mode runs commands and file transfers through the public SDK. Container mode creates an OCI workload in a Capsem VM and targets that workload for execution and transfers. The adapter labels its ephemeral VMs and tracks cleanup; named or persistent VMs are excluded from its leftover sweep.
Compose and Dockerfile inputs share the existing instruction scanner, final-stage
USER/WORKDIR metadata extraction, and CA patcher. Compose parsing uses an
evaluator-supplied ComposeInputs snapshot and explicit byte, node, and depth
limits. Parsing does not grant access to host paths or credentials.
Host builds require Docker BuildKit and an explicit operator host-build grant. BuildKit executes original Dockerfile instructions, including heredocs; CA patching preserves instruction bodies. The adapter stages the resulting image through its loopback registry and supplies that registry's CA through the SDK. The service must admit the registry source and image namespace as described in the configuration documentation.
The package tests cover SDK lifecycle and transfer behavior, Compose/Dockerfile parsing, installed wheel/sdist payloads, and a native Docker BuildKit fixture. Complete Capsem VM and release acceptance remain separate qualification gates.
Metadata
Release files for inspect-capsem-sandbox 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 | Provenance | Actions |
|---|---|---|---|---|
| inspect_capsem_sandbox-0.1.0.tar.gz | 326.7 kB | Without provenance | Details for inspect_capsem_sandbox-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inspect_capsem_sandbox-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for inspect_capsem_sandbox-0.1.0-py3-none-any.whl |
Total release size: 398.9 kB
Release files / inspect_capsem_sandbox-0.1.0.tar.gz
| Download URL | inspect_capsem_sandbox-0.1.0.tar.gz |
|---|---|
| Size | 326.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b82ac626e7c392b591a33418a15e47fcb3055e34b99b5a4e774b51f741af011
|
|
BLAKE2b-256 checksum How to use checksums |
bc85658e9cff9a86d8ad1d882a703ba45416994aac548de230076f0c23f37229
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / inspect_capsem_sandbox-0.1.0-py3-none-any.whl
| Download URL | inspect_capsem_sandbox-0.1.0-py3-none-any.whl |
|---|---|
| Size | 72.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5830f2687ed4f6cf2317468aefa402f41718ec3b379ec73b6e08cb231c14502
|
|
BLAKE2b-256 checksum How to use checksums |
e3af2d441cf3b4b4e53afcd7b1856716d70cc9494140afe5661430a92e8e3f69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for inspect-capsem-sandbox 0.1.0
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.