Skip to main content

helm-anthropic

HELM governance adapter for Anthropic Claude SDK.

What it does

Governs Anthropic Claude tool_use calls through HELM:

  1. Every tool_use content block is evaluated against HELM policy before execution
  2. Denied calls raise HelmToolDenyError (fail-closed by default)
  3. Receipts with SHA-256 hashes are collected for every approved execution

Quick start

from helm_anthropic import HelmAnthropicGovernor

governor = HelmAnthropicGovernor(helm_url="http://localhost:8080")
response = anthropic_client.messages.create(model="claude-sonnet-4-20250514", ...)
approved = governor.govern_message_response(response)

Configuration

Parameter Default Description
helm_url http://localhost:8080 HELM kernel URL
api_key None HELM API key
fail_closed True Deny on HELM errors
collect_receipts True Keep receipt chain
timeout 30.0 HTTP timeout seconds

License

Apache-2.0

Metadata

Release files for helm-anthropic 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for helm-anthropic 0.4.0
File Size Uploaded Provenance
helm_anthropic-0.4.0.tar.gz 4.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for helm-anthropic 0.4.0
File Interpreter ABI Platform
helm_anthropic-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / helm_anthropic-0.4.0.tar.gz

Download URL helm_anthropic-0.4.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
627799d00db7ee901860e77568cc3c0e4a6f46871f85a0276418e42787ad8eab
BLAKE2b-256 checksum
How to use checksums
6377680315414acdfef7650398beb258d2464ef272b35100080daca459a60738
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / helm_anthropic-0.4.0-py3-none-any.whl

Download URL helm_anthropic-0.4.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
975f78dc908ee3ac9bd8475aef3d2a73134cd6c16771e8a3ba74a7a217337f02
BLAKE2b-256 checksum
How to use checksums
93ae13a510ed1c2aeeba87b8c5d75b97932cb01ec090bc92bc7e5e9a6739bf17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Security for helm-anthropic 0.4.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.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page