Vienna OS Python SDK
Official Python SDK for Vienna OS — the governance control plane for AI agents.
Installation
pip install vienna-sdk
Quick Start
from vienna_sdk import ViennaClient
client = ViennaClient(api_key="vos_your_key")
# Submit an intent
result = client.submit_intent(
action="deploy_code",
params={"service": "api-gateway", "version": "2.3.1"},
objective="Deploy API v2.3.1 to production"
)
if result.status.value == "approved":
# Execute with warrant
deploy_service("api-gateway", "2.3.1")
client.report_execution(result.warrant_id, success=True)
elif result.status.value == "pending":
# T2/T3 — wait for human approval
print(f"Approval required: https://console.regulator.ai/approvals/{result.intent_id}")
approved = client.wait_for_approval(result.intent_id)
if approved.status.value == "approved":
deploy_service("api-gateway", "2.3.1")
client.report_execution(approved.warrant_id, success=True)
Framework Adapters
from vienna_sdk import create_langchain_adapter, create_crewai_adapter
# LangChain
vienna = create_langchain_adapter(api_key="vos_your_key", agent_id="my-agent")
# CrewAI
vienna = create_crewai_adapter(api_key="vos_your_key", agent_id="my-crew")
# AutoGen
from vienna_sdk import create_autogen_adapter
vienna = create_autogen_adapter(api_key="vos_your_key")
# OpenClaw
from vienna_sdk import create_openclaw_adapter
vienna = create_openclaw_adapter(api_key="vos_your_key")
Risk Tiers
| Tier | Risk | Approval | Max TTL |
|---|---|---|---|
| T0 | Informational | Auto | 60 min |
| T1 | Low | Policy auto | 30 min |
| T2 | Medium | 1 human | 15 min |
| T3 | High | 2+ humans | 5 min |
Zero Dependencies
This SDK uses only Python standard library (urllib, json, hashlib). No external dependencies required.
Documentation
License
BSL-1.1
Metadata
Release files for vienna-sdk 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 |
|---|---|---|---|---|
| vienna_sdk-0.1.0.tar.gz | 8.1 kB | Without provenance | Details for vienna_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vienna_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for vienna_sdk-0.1.0-py3-none-any.whl |
Total release size: 16.9 kB
Release files / vienna_sdk-0.1.0.tar.gz
| Download URL | vienna_sdk-0.1.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55ac233f7d3a469065a191c14ab82f30a405e58f58af730a840396c0901c41d3
|
|
BLAKE2b-256 checksum How to use checksums |
27ca661ea3caadb1dce4542a1244446cb6154b1fd689761827e5dacde55e427c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / vienna_sdk-0.1.0-py3-none-any.whl
| Download URL | vienna_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f14b84aa8579d45e6bd6b99b28e7f1cc69bbf098cc793f4c656154c74eb8b30
|
|
BLAKE2b-256 checksum How to use checksums |
764e7a0478178b65dcbadf749a9b375b52299a3e0f382e32f54dd16c039e32b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for vienna-sdk 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.