Truthlocks MAIP integration for LlamaIndex — auto-generate cryptographic receipts for every query and retrieval
Project description
truthlocks-llamaindex
Cryptographic receipt generation for every LlamaIndex query, retrieval, and synthesis step. Part of the Truthlocks MAIP (Machine-Attested Identity Protocol) ecosystem.
Installation
pip install truthlocks-llamaindex
Quick Start
from truthlocks_llamaindex import MAIPLlamaIndexHandler
# Create the receipt handler
handler = MAIPLlamaIndexHandler()
# Attach to your query engine or index
# Every query and retrieval now produces a cryptographic receipt
API
| Class | Description |
|---|---|
MAIPLlamaIndexHandler |
Event handler that auto-generates MAIP receipts for every LlamaIndex event |
MAIPQueryEngineWrapper |
Wraps any LlamaIndex QueryEngine to emit receipts on .query() |
What You Get
- Tamper-proof audit trail for every query, retrieval, and response synthesis
- Cryptographic receipts anchored to a transparency log with sub-40 ms latency
- Zero-config drop-in integration -- add the handler and receipts flow automatically
- Compliance-ready evidence packages for SOC 2 Type II, ISO 27001, and EU AI Act
How It Works
truthlocks-llamaindex is a thin wrapper around maip-ai-connectors, the core Truthlocks MAIP SDK for Python. It re-exports the LlamaIndex-specific classes so you can install only what you need.
Requirements
- Python >= 3.9
- A Truthlocks API key (get one free)
Documentation
Full guides, API reference, and examples: docs.truthlocks.com/sdk/llamaindex
License
Apache 2.0 -- see LICENSE.
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 truthlocks_llamaindex-1.0.1.tar.gz.
File metadata
- Download URL: truthlocks_llamaindex-1.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a314b3049ec9a5ebbaf5eccf2fbe536a99e2d0614f720b716ea85d6d52492bd4
|
|
| MD5 |
d33f12375526d453bfc16a22c1fcbc27
|
|
| BLAKE2b-256 |
0786754eb438dbf6fa2e481dfff71b407f71b4783ed01977b57a5ade975fc8c8
|
File details
Details for the file truthlocks_llamaindex-1.0.1-py3-none-any.whl.
File metadata
- Download URL: truthlocks_llamaindex-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6436811f90051e9509a65b4882c5aa2cdd2b52a18bd0f1f88d3b201f364ea1ac
|
|
| MD5 |
db6e1405e22f0b9e16912ac2fb064c12
|
|
| BLAKE2b-256 |
013d0149a6328a41895f119a840a16643d072d352abd4826b5583377c9af5d76
|