HELM governance adapter for autogen — fail-closed tool calling for AI agents
Project description
helm-autogen
HELM governance adapter for Microsoft AutoGen.
What it does
Governs AutoGen multi-agent function and tool calls through HELM:
- Every function_call and tool invocation 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_autogen import HelmAutoGenGovernor
governor = HelmAutoGenGovernor(helm_url="http://localhost:8080")
governed_fn = governor.govern_tool("code_exec", execute_code, agent_name="assistant")
# Or govern messages with function_call fields
governor.govern_message(message, agent_name="assistant")
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_autogen-0.4.0.tar.gz
(4.7 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_autogen-0.4.0.tar.gz.
File metadata
- Download URL: helm_autogen-0.4.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93068a40cc66d99b2b00ed063e957167ff43cf40028b29478e972e50668a2630
|
|
| MD5 |
dcb1ac2c502973985cab893267216a80
|
|
| BLAKE2b-256 |
fe42e7cf0a9bc724a56141f56a3aa785035bde22079a42d88aaf1524cecdc8f2
|
File details
Details for the file helm_autogen-0.4.0-py3-none-any.whl.
File metadata
- Download URL: helm_autogen-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.0 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 |
cf04f351f03c8395ec94b170ac79175227dc6fe53ec8630554efcc62a12e8148
|
|
| MD5 |
6e44dc17bbbc3c96e6703cbe34180708
|
|
| BLAKE2b-256 |
d3ac6fc161d6ab323102b0627aefca7eafb18fe2037f2eb72ad44ee25747da38
|