VELLA — deterministic pre-execution governance substrate. SDK for producing signed decision records.
Project description
vella-sdk
Python SDK for deterministic pre-execution adjudication and signed proof-bundle generation.
Install
pip install vella-sdk
From source (development)
python3 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
pip install -e ".[dev]"
pytest
ruff check .
mypy --strict vella/
Basic usage
from vella import govern
result = govern(
intent="EXECUTE_CHANGE",
evidence_mask=1,
)
print(result["decision"]) # ALLOWED | DENIED
print(result["reason_code"]) # reason code string
With proof bundle
from vella import govern
signing_key = open("./proof-signing.pem", "r", encoding="utf-8").read()
result = govern(
intent="EXECUTE_CHANGE",
evidence_mask=1,
proof_signing_key=signing_key,
)
print(result["proof_bundle"]["kind"]) # vella_proof_bundle_v1
When to use this SDK
This SDK runs VELLA in-process inside your Python application. It is the right choice for agent tool-call hooks, CI/CD gating, edge compute, research notebooks, batch processing, and any context where microsecond-latency adjudication is needed without a separate service.
For enterprise service mesh, polyglot environments (Go, Java, .NET), Kubernetes admission control, or multi-tenant deployments, a different VELLA component (the runtime service or sidecar adapter) is the better fit. See the full deployment scope in the repository root.
API
govern(intent, evidence_mask, authority_scope=None, policy_version=None, proof_signing_key=None)- Returns a dict with
decision,reason_code,latency_us, and optionalproof_bundle/proof_error
- Returns a dict with
Reference docs
See the root repository docs for full protocol details:
spec/icd.mdspec/schemas/proof.jsonverify/
Project details
Release history Release notifications | RSS feed
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 vella_sdk-1.0.1.tar.gz.
File metadata
- Download URL: vella_sdk-1.0.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb16508a172d3784becd79429722673663bda527d5c1b30143636d3beb3b57b5
|
|
| MD5 |
1b03a988b279dc27710e5335f2450394
|
|
| BLAKE2b-256 |
55d9283ae3a3b4ee1fb653f613572582460003a2df37662f240788ce87e26b4f
|
Provenance
The following attestation bundles were made for vella_sdk-1.0.1.tar.gz:
Publisher:
publish.yml on vellacognitive/vella-substrate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vella_sdk-1.0.1.tar.gz -
Subject digest:
cb16508a172d3784becd79429722673663bda527d5c1b30143636d3beb3b57b5 - Sigstore transparency entry: 1463763315
- Sigstore integration time:
-
Permalink:
vellacognitive/vella-substrate@d081ff3129cf27cfd57f0c234bbc895b49803bdd -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/vellacognitive
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d081ff3129cf27cfd57f0c234bbc895b49803bdd -
Trigger Event:
release
-
Statement type:
File details
Details for the file vella_sdk-1.0.1-py3-none-any.whl.
File metadata
- Download URL: vella_sdk-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0b94032dc060540c72acb2a13a3f477196fb92fd52195689d37cef5fc55a6cb
|
|
| MD5 |
b3602d2beb3c61b14dee89d0ee5a3808
|
|
| BLAKE2b-256 |
fa5f4ffd1c8dffee9f70da1269cf15114f5a1479bc4097f8799bbf95f46df241
|
Provenance
The following attestation bundles were made for vella_sdk-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on vellacognitive/vella-substrate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vella_sdk-1.0.1-py3-none-any.whl -
Subject digest:
e0b94032dc060540c72acb2a13a3f477196fb92fd52195689d37cef5fc55a6cb - Sigstore transparency entry: 1463763377
- Sigstore integration time:
-
Permalink:
vellacognitive/vella-substrate@d081ff3129cf27cfd57f0c234bbc895b49803bdd -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/vellacognitive
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d081ff3129cf27cfd57f0c234bbc895b49803bdd -
Trigger Event:
release
-
Statement type: