HELM governance adapter for anthropic — fail-closed tool calling for AI agents
Project description
helm-anthropic
HELM governance adapter for Anthropic Claude SDK.
What it does
Governs Anthropic Claude tool_use calls through HELM:
- Every tool_use content block is evaluated against HELM policy before execution
- Denied calls raise
HelmToolDenyError(fail-closed by default) - 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
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
helm_anthropic-0.4.0.tar.gz
(4.3 kB
view details)
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 helm_anthropic-0.4.0.tar.gz.
File metadata
- Download URL: helm_anthropic-0.4.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
627799d00db7ee901860e77568cc3c0e4a6f46871f85a0276418e42787ad8eab
|
|
| MD5 |
211b60206de83525d8a794952bfd83ec
|
|
| BLAKE2b-256 |
6377680315414acdfef7650398beb258d2464ef272b35100080daca459a60738
|
File details
Details for the file helm_anthropic-0.4.0-py3-none-any.whl.
File metadata
- Download URL: helm_anthropic-0.4.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
975f78dc908ee3ac9bd8475aef3d2a73134cd6c16771e8a3ba74a7a217337f02
|
|
| MD5 |
801726d447fdbf486aaa0ff1894225bd
|
|
| BLAKE2b-256 |
93ae13a510ed1c2aeeba87b8c5d75b97932cb01ec090bc92bc7e5e9a6739bf17
|