Skip to main content

Python SDK for HELM — fail-closed tool calling for AI agents

Project description

HELM SDK - Python

Typed Python client for the retained HELM kernel API.

Local Install

cd sdk/python
python -m pip install .

Package metadata declares version 0.7.1 in pyproject.toml; this README does not claim that a registry package has been published.

Local Development

pip install '.[dev]'
pytest -v --tb=short

Generated Sources

helm_sdk/types_gen.py is generated from api/openapi/helm.openapi.yaml. Generated protobuf modules live under helm_sdk/generated/ when codegen has been run.

Usage

from helm_sdk import HelmClient

client = HelmClient(base_url="http://127.0.0.1:7714")
decision = client.evaluate_decision({
    "principal": "example-agent",
    "action": "read-ticket",
    "resource": "ticket:123",
})
print(decision["verdict"])  # ALLOW, DENY, or ESCALATE

Run the first-class local example with make sdk-examples-smoke or directly from examples/python_sdk/.

Execution Boundary Methods

The client includes helpers for the May 2026 execution-boundary surfaces: evidence envelope manifests, boundary records and checkpoints, conformance vectors, MCP quarantine and authorization profiles, sandbox profiles and grants, authz snapshots, approvals, budgets, telemetry export, and coexistence capabilities.

External evidence envelopes remain compatibility wrappers; HELM-native EvidencePack roots stay authoritative.

Release Notes

0.7.1 is the release-hardening patch with the retained OpenAPI client surface and local test coverage.

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

helm_sdk-0.7.1.tar.gz (73.8 kB view details)

Uploaded Source

Built Distribution

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

helm_sdk-0.7.1-py3-none-any.whl (76.2 kB view details)

Uploaded Python 3

File details

Details for the file helm_sdk-0.7.1.tar.gz.

File metadata

  • Download URL: helm_sdk-0.7.1.tar.gz
  • Upload date:
  • Size: 73.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for helm_sdk-0.7.1.tar.gz
Algorithm Hash digest
SHA256 bc7821a2603dac749220ccb535b10c14b725a4a9c263be9d166aedd7f5557239
MD5 9cc9e0d31930ea8c22439c75c4bebc62
BLAKE2b-256 416e3bb5455af341b35d3967531a7be163300b6965426ac9132f4059e044fd23

See more details on using hashes here.

File details

Details for the file helm_sdk-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: helm_sdk-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 76.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for helm_sdk-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9360ed3bfec2d68de447825dd467942b83c8059418ea90d26f30dc46d2782680
MD5 3b41487e2b59bc827a76170b2797cd35
BLAKE2b-256 54d021a04d4b196d9766a56c8ce5f7d57795f14fb898fd6cfa1023f4cd6664b0

See more details on using hashes here.

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