Skip to main content

Python SDK for the VaultRun secure AI agent sandbox runtime

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

License

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vaultrun_sdk-0.2.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vaultrun_sdk-0.2.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file vaultrun_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: vaultrun_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vaultrun_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 eab4389d2455572e8b1759fa945fb3e8450b4bf9df829596c3e661cb3da2880e
MD5 0fa90119cafc154fa5bee8c48744ba4b
BLAKE2b-256 ef385ebae3a098cdb15354b8dada173516f57d5904527b911cd0915d09e0d20a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vaultrun_sdk-0.2.0.tar.gz:

Publisher: pypi.yml on nickvd7/vaultrun

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vaultrun_sdk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: vaultrun_sdk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vaultrun_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6555c3c02c5c3f91129357f460be065ad79cecde9e2b5a808743935118f34ac
MD5 84a18dc927137197481d211de31bfc2b
BLAKE2b-256 dfa44ab873a16c91e29149d5762dc2c8c95432edf78be5bea7e530c28239bbc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for vaultrun_sdk-0.2.0-py3-none-any.whl:

Publisher: pypi.yml on nickvd7/vaultrun

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page