Skip to main content

helm-langchain

HELM governance adapter for LangChain.

What it does

Wraps LangChain 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. Receipts with SHA-256 hashes are collected for every approved execution

Quick start

from helm_langchain import HelmToolWrapper

wrapper = HelmToolWrapper(helm_url="http://localhost:8080")
governed_tools = wrapper.wrap_tools(my_tools)

# Use in a LangChain agent
agent = create_react_agent(llm, 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

Metadata

Release files for helm-langchain 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-langchain 0.4.0
File Size Uploaded Provenance
helm_langchain-0.4.0.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 8.8 kB

Release files / helm_langchain-0.4.0.tar.gz

Download URL helm_langchain-0.4.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
67a5b75642b39906f03c19834d3ca7988138b587ccca7669fb2d92736787f746
BLAKE2b-256 checksum
How to use checksums
1c5c3a6fbaa80f41ecbf1419adf09fa98d52a65b900d46f93178f482a55c86f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

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

Download URL helm_langchain-0.4.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72689238f3d845d6f00065e5d99eb37ab381f03dd9ec621fbd592300cb4f635a
BLAKE2b-256 checksum
How to use checksums
19c38966e100990caaaa17b8617b7e2d2027a7cdd0ccab590196c3add54f7f66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Security for helm-langchain 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