Skip to main content

LlamaIndex tools for Trust Gate post-quantum receipts (Ed25519 + ML-DSA-65, verifiable offline).

Project description

llama-index-trust-gate

LlamaIndex 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-llama-index-trust-gate

Usage

from llama_index.core.agent import ReActAgent
from llama_index_trust_gate import mint_action_receipt_tool, verify_receipt_tool

agent = ReActAgent.from_tools(
    [mint_action_receipt_tool(), verify_receipt_tool()],
    llm=...,
)

Tools

Factory Name Purpose
mint_action_receipt_tool() trust_gate_mint_action_receipt Mint a post-quantum receipt for any consequential agent action.
verify_receipt_tool() trust_gate_verify_receipt Verify a Trust Gate receipt from the certificate alone (offline).

Configuration

export TRUST_GATE_URL="https://trust-gate-mcp.onrender.com"  # default; override for self-hosted

Telemetry

One fire-and-forget GET /x?via=llamaindex&kind=api per tool call. No PII, no cookies, never blocks the tool.

Related

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

cwn_llama_index_trust_gate-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

cwn_llama_index_trust_gate-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file cwn_llama_index_trust_gate-0.1.0.tar.gz.

File metadata

File hashes

Hashes for cwn_llama_index_trust_gate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a86da1e25dd7b5fe72c497f47f055630200d67e03dbfcb278b11d8b0028c4403
MD5 edba91a399f3df72c7498e967684d5fe
BLAKE2b-256 0fcc16f6a6ecb887d0b91e08333a804c8d7b5028efea6fae4914643b9130fd06

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwn_llama_index_trust_gate-0.1.0.tar.gz:

Publisher: release.yml on CWNApps/llama-index-trust-gate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cwn_llama_index_trust_gate-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cwn_llama_index_trust_gate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8cbf819cb3de8515eb3d421c6c07d701954844342fa4ab9c61571dec56a448e7
MD5 e2603466cd7e19053d89a634b6066219
BLAKE2b-256 006b5110813de43321931a45be0188c567078f84d005cce609e1f15ea11da3e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwn_llama_index_trust_gate-0.1.0-py3-none-any.whl:

Publisher: release.yml on CWNApps/llama-index-trust-gate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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