Arbiter Python SDK
Official Python client for the Arbiter Control Plane. Same governance semantics as
@arbiterhq/sdk (Node): evaluate → allow | hold | deny.
Package: arbiter-sdk==0.1.0
Import: from arbiter import ArbiterRuntime
Install
pip install arbiter-sdk==0.1.0
Authority Connect (arbiter connect --apply) installs this package into Python
projects after confirmation. When an on-disk package root is available (monorepo
developer installs), Connect prefers an editable local install; otherwise it
installs the public pip pin arbiter-sdk==0.1.0.
Publication note: prepare this wheel for PyPI before treating the public
pip installpath as live. Until publication, offline certification can useARBITER_PYTHON_SDK_PIP_SPEC=/path/to/arbiter_sdk-0.1.0-py3-none-any.whl.
Quick start
from arbiter import ArbiterRuntime
runtime = ArbiterRuntime() # ARBITER_API_KEY, ARBITER_BASE_URL, ARBITER_AGENT from env
result = runtime.evaluate("send_payment", amount=100)
if result.decision == "allow":
...
elif result.decision == "deny":
...
elif result.decision == "hold":
# Approval HOLD has approval_request_id; Discovery HOLD requires human Adopt.
...
API surface
| Symbol | Purpose |
|---|---|
ArbiterRuntime |
Client: api_key/credential, agent, base_url, evaluate() |
evaluate(...) |
POST /evaluate → normalized decision models |
AllowEvaluateResult / DenyEvaluateResult / hold variants |
Decision shapes |
ArbiterError / ArbiterTimeoutError / ArbiterConfigError |
Deterministic errors |
normalize_evaluate_result |
Raw JSON → typed result |
Environment variables (same as Node Connect):
ARBITER_API_KEYARBITER_BASE_URL(defaulthttps://api.arbitertrust.com)ARBITER_AGENT(required for workspace API keys)
Governance boundaries
Connect and this SDK never auto-Adopt Discovery resources or auto-Approve HOLD decisions.
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 arbiter_sdk-0.1.0.tar.gz.
File metadata
- Download URL: arbiter_sdk-0.1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5d7f77f00b3409cabc2d71881faa71ce964ab66c36ff8d5698605d0582bdc8a
|
|
| MD5 |
b4a4e9a90dbd280434c706d57678b32c
|
|
| BLAKE2b-256 |
d305c8759f72e9a235368abcfe0fbff408129166226224b3974bbccb740c8380
|
File details
Details for the file arbiter_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: arbiter_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0faa0ceac91701d5d54b6334298e8c10e0b54bd3ec565face4549c9193597c74
|
|
| MD5 |
4ae39e2c026d36be8d3a398164944ff0
|
|
| BLAKE2b-256 |
e245b6908aff45f71eb1ba27c39c64bf8f6077e9541c674b7e383348e1542f0e
|