Skip to main content

HELM governance adapter for crewai — fail-closed tool calling for AI agents

Project description

helm-crewai

HELM governance adapter for CrewAI.

What it does

Wraps CrewAI agent tools with HELM governance:

  1. Every tool call is evaluated against HELM policy before execution
  2. Denied calls raise HelmToolDenyError (fail-closed by default)
  3. Per-agent principal tracking for multi-agent crew governance
  4. Receipts with SHA-256 hashes are collected for every approved execution

Quick start

from helm_crewai import HelmCrewGovernor

governor = HelmCrewGovernor(helm_url="http://localhost:8080")
governed_tools = governor.govern_tools(my_tools, agent_role="researcher")

# Use in a CrewAI agent
agent = Agent(role="researcher", tools=governed_tools)

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helm_crewai-0.4.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

helm_crewai-0.4.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file helm_crewai-0.4.0.tar.gz.

File metadata

  • Download URL: helm_crewai-0.4.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for helm_crewai-0.4.0.tar.gz
Algorithm Hash digest
SHA256 85f477185aad11a3b35b30ae8428ee4fb1b0d520b71e4e776cd882b6cef26085
MD5 da87d84bbeb21caee11a9c66bf4f1f3b
BLAKE2b-256 366dfcde5fa27a8bcc7d7aca54093d6dc1f853a34b009e4f62b1658ff28cf6de

See more details on using hashes here.

File details

Details for the file helm_crewai-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: helm_crewai-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for helm_crewai-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d273fd6e872805da21e137608eb7a1b344e6479986efc5026c2d7ff0ffcf7df
MD5 70bbd3a0e30810c49ed4b0ce134ea2f6
BLAKE2b-256 d8851dbe88283a6c9ab6457e2da7e77bfa217153b710017eb488070443703096

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