crewai-trust-gate
CrewAI tools for Trust Gate post-quantum, tamper-evident receipts on consequential agent actions.
Trust Gate receipts are signed Ed25519 + ML-DSA-65 (FIPS 204) by the hosted MCP server (no local signing key). Each receipt is verifiable offline from the certificate alone. The hosted server defaults to PQ-required verify mode; set TRUST_GATE_REQUIRE_PQ=false to allow Ed25519-only receipts.
Install
pip install cwn-crewai-trust-gate
Usage
from crewai import Agent, Task, Crew
from crewai_trust_gate import MintActionReceiptTool, VerifyReceiptTool
auditor = Agent(
role="receipt auditor",
goal="Verify every consequential action has a tamper-evident receipt",
tools=[VerifyReceiptTool()],
)
deployer = Agent(
role="deploy engineer",
goal="Deploy safely, leave a receipt for every promotion",
tools=[MintActionReceiptTool()],
)
Tools
| Tool | Purpose |
|---|---|
trust_gate_mint_action_receipt |
Mint a post-quantum receipt for any consequential agent action. |
trust_gate_verify_receipt |
Verify a Trust Gate receipt from the certificate alone. |
trust_gate_gate_decision |
Two-phase gate. PREVIEW assesses risk without acting; COMMIT verifies the inputs still match and mints a receipt carrying an execution permit. |
trust_gate_check_egress |
Classify data PUBLIC / INTERNAL / CONFIDENTIAL / RESTRICTED before it leaves. Blocks RESTRICTED. |
trust_gate_run_exit_drill |
Vendor exit-readiness drill. Informational, no side effects. |
Configuration
export TRUST_GATE_URL="https://trust-gate-mcp.onrender.com" # default; override for self-hosted
Telemetry
One fire-and-forget GET /x?via=crewai&kind=api per tool call. No PII, no cookies, never blocks the tool.
Related
- langchain-trust-gate -- same tools, LangChain shape
- llama-index-trust-gate -- same tools, LlamaIndex shape
- Trust Gate MCP -- the hosted server: https://trust-gate-mcp.onrender.com
- Smithery -- https://smithery.ai/servers/apps/cwn-trust-gate
License
Apache-2.0.
Release files for cwn-crewai-trust-gate 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cwn_crewai_trust_gate-0.2.0.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cwn_crewai_trust_gate-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / cwn_crewai_trust_gate-0.2.0.tar.gz
| Download URL | cwn_crewai_trust_gate-0.2.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9c0c9a4f94333403ad97c272f0d61123239b44a5373ae68838388fcd3bf711c
|
|
BLAKE2b-256 checksum How to use checksums |
938bf5af23c8c60580f752690a6d28e6a76cc5e4df72a46d9f4a3bff73c75b08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.
Transparency logRelease files / cwn_crewai_trust_gate-0.2.0-py3-none-any.whl
| Download URL | cwn_crewai_trust_gate-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31d541f5a353ea88bc97e9e009f95d83f04de7890a93d2c1d05b2780a5c3f4cc
|
|
BLAKE2b-256 checksum How to use checksums |
84811b309bb4276e399a2f0b2aed9e56c930a091c6ae48822b4116fb9ae41b6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.
Transparency log