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.5.14 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:7715")
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.5.14 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.5.14.tar.gz (73.2 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.5.14-py3-none-any.whl (75.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: helm_sdk-0.5.14.tar.gz
  • Upload date:
  • Size: 73.2 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.5.14.tar.gz
Algorithm Hash digest
SHA256 487196e8bb06ab5cd227302dfa0c4259c030c3000533551fd5dfde07fb246fad
MD5 5f58e046c4ad24850e05ace1dd6abbea
BLAKE2b-256 c000e8e4025cb10c751a0a66ee06e31db74da547c4ef79c564ac48d1a88322dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: helm_sdk-0.5.14-py3-none-any.whl
  • Upload date:
  • Size: 75.9 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.5.14-py3-none-any.whl
Algorithm Hash digest
SHA256 e03eb9aa839a3df2d84f6127961127cf39e1ed28be955f674a7dc21e15972388
MD5 889cb475b8232f42eea589448bfeff6a
BLAKE2b-256 2bdd45b093e914d4b57ff89f452be53d56eb78dfd229f21d383c2bf302ed28fc

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