Python SDK for VaultRun — self-hosted secure AI agent sandbox runtime (Docker, MCP, audit trail)
Project description
vaultrun-sdk
Python SDK for VaultRun — the self-hosted secure runtime for AI agents.
VaultRun lets AI agents safely execute code, query databases, call cloud APIs, and manage files inside isolated Docker sandboxes running on your own infrastructure. This package is the typed Python client for the VaultRun REST API.
Install
pip install vaultrun-sdk
Quickstart
from sandbox_sdk import Client
client = Client("http://localhost:8080", api_key="vr_...")
session = client.create_session(image="python:3.12-slim", memory_limit_mb=256)
client.upload_file(session.id, "script.py", open("script.py", "rb"))
result = client.run(session.id, command="python", args=["script.py"])
print(result.stdout)
client.delete_session(session.id)
Features
- Sessions: create, list, get, delete isolated sandbox sessions
- Runs: execute commands, stream output, fetch run details and logs
- Files: upload, list, and download workspace files
- Keys, organizations, audit logs, snapshots, artifacts, images, and session stats
Requirements
- Python 3.10+
- A running VaultRun instance and an API key (
vr_...)
Links
- Website: https://vaultrun.dev
- AI index (
llms.txt): https://vaultrun.dev/llms.txt - Source & docs: https://github.com/nickvd7/vaultrun
- Issues: https://github.com/nickvd7/vaultrun/issues
- PyPI: https://pypi.org/project/vaultrun-sdk/
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vaultrun_sdk-0.2.1.tar.gz.
File metadata
- Download URL: vaultrun_sdk-0.2.1.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aa23be0789202e458bbefbfa93e6c3a01b8bf6ae3435a38a545c4b1468538ce
|
|
| MD5 |
fac0a8dce192b49ca4a3b1b46a465346
|
|
| BLAKE2b-256 |
93ec3f4d12c66d024d93616b6dc6d448a7564569536c265baabe7285d3e08586
|
Provenance
The following attestation bundles were made for vaultrun_sdk-0.2.1.tar.gz:
Publisher:
pypi.yml on nickvd7/vaultrun
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vaultrun_sdk-0.2.1.tar.gz -
Subject digest:
9aa23be0789202e458bbefbfa93e6c3a01b8bf6ae3435a38a545c4b1468538ce - Sigstore transparency entry: 2174464562
- Sigstore integration time:
-
Permalink:
nickvd7/vaultrun@ef85a9ca7474a5f62bded9eaf656900071e6bbb2 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/nickvd7
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@ef85a9ca7474a5f62bded9eaf656900071e6bbb2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file vaultrun_sdk-0.2.1-py3-none-any.whl.
File metadata
- Download URL: vaultrun_sdk-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
086d22dcfe354d83fe880c053a6470206018a61988e0077ba089b820cbb8efcd
|
|
| MD5 |
0fd63a31ae25322dbfb6155e248777a6
|
|
| BLAKE2b-256 |
4adac340a6bb187652a7c37c274bc2a1a3344df0f4a0ce30f1ec9287722dfca6
|
Provenance
The following attestation bundles were made for vaultrun_sdk-0.2.1-py3-none-any.whl:
Publisher:
pypi.yml on nickvd7/vaultrun
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vaultrun_sdk-0.2.1-py3-none-any.whl -
Subject digest:
086d22dcfe354d83fe880c053a6470206018a61988e0077ba089b820cbb8efcd - Sigstore transparency entry: 2174464963
- Sigstore integration time:
-
Permalink:
nickvd7/vaultrun@ef85a9ca7474a5f62bded9eaf656900071e6bbb2 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/nickvd7
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@ef85a9ca7474a5f62bded9eaf656900071e6bbb2 -
Trigger Event:
push
-
Statement type: