Skip to main content

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 vaultrun_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_...)

License

Apache 2.0

Metadata

Release files for vaultrun-sdk 0.5.1

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

Source distribution (sdist)

Source distribution for vaultrun-sdk 0.5.1
File Size Uploaded Provenance Actions
vaultrun_sdk-0.5.1.tar.gz 15.7 kB With provenance Details for vaultrun_sdk-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vaultrun-sdk 0.5.1
File Interpreter ABI Platform Actions
vaultrun_sdk-0.5.1-py3-none-any.whl Python 3 none any Details for vaultrun_sdk-0.5.1-py3-none-any.whl

Total release size: 26.5 kB

Release files / vaultrun_sdk-0.5.1.tar.gz

Download URL vaultrun_sdk-0.5.1.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e814c2558d7d6f0aa44dd5b4547611b5f3254f772557b091188a153b8f032b2c
BLAKE2b-256 checksum
How to use checksums
b6ff04f2541fc26f4c81eec2eb373b8d6cf3b0312f1deb8adc38e1768c472506
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / vaultrun_sdk-0.5.1-py3-none-any.whl

Download URL vaultrun_sdk-0.5.1-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30ddbf4d6bfc8c7a162d2b97236bc1ee6e970079c3aa257f36e93b176575a257
BLAKE2b-256 checksum
How to use checksums
3478d6926ab5cdccd20ea357499adcb0a028e8e2cd00d387476b6f89214c117e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for vaultrun-sdk 0.5.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vaultrun_sdk-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

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