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.4.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 vaultrun-sdk 0.4.3
File Size Uploaded
vaultrun_sdk-0.4.3.tar.gz 14.6 kB Details

Built distribution (wheel)

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

Total release size: 24.8 kB

Release files / vaultrun_sdk-0.4.3.tar.gz

Download URL vaultrun_sdk-0.4.3.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
40bae572ed9a5dd5fd996a4433c7a9be66bd64a5580bb48cc64e94f76ed40fc0
BLAKE2b-256 checksum
How to use checksums
3e205b5be94717218b5d50e4bd8396ecf72237aa15a61e5d5f70e0e43cc5f19a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 15, 2026.

Transparency log

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

Download URL vaultrun_sdk-0.4.3-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61c00e5997e8446b490eb3e03a18498de4351424a9b82c628e00264e1c483506
BLAKE2b-256 checksum
How to use checksums
16e47fca2c3d10a2602cb9f7c75f169f44546a0ba25d49e22a12a226d8d072e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.2.1

2 release files

0.2.0

2 release files

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