Cryptographic signing SDK for AI agent workflows — SHA-256 governance hashing
Project description
governance-hash-sdk
Hosted badge images: ISO 42001 · SCALAR Core · EBITDA Assurance
A lightweight, zero-dependency SDK for cryptographically signing AI agent workflows.
governance-hash-sdk provides drop-in integrations for LangChain, LangGraph, and CrewAI to seal every agentic action with a Governance Hash. By generating an immutable SHA-256 audit trail, this SDK transforms opaque LLM executions into tamper-evident, enterprise-ready logs.
⚡ Why Use This SDK?
- Cryptographic Accountability: Seals each agent action with a Governance Hash (SHA-256).
- ISO/IEC 42001 Readiness: Satisfies clauses for AI Traceability and Risk Management.
- Zero Data Retention: Hashes generated locally. Raw prompts and PII never leave your servers.
- Policy-as-Code Enforcement: Validates agent decisions against predefined risk boundaries.
📦 Installation
Python (LangChain, CrewAI)
pip install governance-hash-sdk
TypeScript (LangChain.js)
npm install @scalar-os/governance-hash-sdk
🚀 Quick Start (LangChain)
from governance_hash_sdk.langchain import ScalarCallbackHandler
handler = ScalarCallbackHandler(agent_id="my_agent", policy_ref="ops-policy")
response = agent.run("Process refund $50", callbacks=[handler])
print(f"Hash: {handler.latest_hash}")
See full docs at https://github.com/scalar-os/governance-hash-sdk
📄 License
Apache License 2.0 — Copyright 2025 SCALAR OS Inc.
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 governance_hash_sdk-0.1.0.tar.gz.
File metadata
- Download URL: governance_hash_sdk-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92166812ab415c4a6c7e73b1347eab1421cd1a77ef6ddf6f83f7df07ac5e4aaa
|
|
| MD5 |
479c8e935183785d5c55081964aa3a2e
|
|
| BLAKE2b-256 |
7e544877011f716f7c7c61f8193b2a90bb59da2789cf5d9ff8be8751b40a5592
|
File details
Details for the file governance_hash_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: governance_hash_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
761d8e5b67fd37d19da666ece15dcc926072e8789d24a96e10047b391d912b8e
|
|
| MD5 |
aa8846f27b456605c149ece83a2309f9
|
|
| BLAKE2b-256 |
a4ffa17e2e808400fc86ebcd31ee16bd1b334df6884c730fe84ca9a10daac31a
|