HELM governance adapter for semantic kernel — fail-closed tool calling for AI agents
Project description
helm-semantic-kernel
HELM governance adapter for Microsoft Semantic Kernel.
What it does
Governs Semantic Kernel function and plugin calls through HELM:
- Every kernel function 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_semantic_kernel import HelmSemanticKernelGovernor
governor = HelmSemanticKernelGovernor(helm_url="http://localhost:8080")
governed_fn = governor.govern_function("search", "web_search", search_fn)
# Or govern FunctionCallContent objects
governor.govern_function_call_content(function_call)
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
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_semantic_kernel-0.4.0.tar.gz.
File metadata
- Download URL: helm_semantic_kernel-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 |
85c0feb216690506bbb6946df89f80a80cbd743057fbcdddd56404e2bf59f915
|
|
| MD5 |
879cfc2dddc552e214f34bacb81c1a0f
|
|
| BLAKE2b-256 |
a1b9cba3601f0dbd16c93bd0e8c1d0a8d6cd81a6026b6255013af49495e3d973
|
File details
Details for the file helm_semantic_kernel-0.4.0-py3-none-any.whl.
File metadata
- Download URL: helm_semantic_kernel-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.1 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 |
b4fde4bf722126618f8cc27310b8b57404978f27af3d21ea1996ad09ac2e762b
|
|
| MD5 |
f05ce5046f873a81828627911c5fa802
|
|
| BLAKE2b-256 |
49805699309787c54027ee4595106f93d78a9a083ad0af874eb8efd88493f7d7
|