// Third-Party Attestation Infrastructure

Your AI agents
need a reputation.

LexProtocol creates cryptographically signed, timestamped, immutable records for every autonomous agent decision — verifiable by anyone outside your company.

See the Sample Report Get Your Agent's Report →

// Integration

One decorator. Zero lock-in.

Add attestation to any Python agent in 3 lines. Works with LangChain, CrewAI, AutoGen, or plain functions. Your code stays unchanged — the decorator wraps it transparently.

pip install lexprotocol
Zero required dependencies · Python 3.8+
API Docs →
@attest decorator any function
from lexprotocol import attest # Wrap any agent function — unchanged return value @attest def classify_document(text: str) -> str: return model.classify(text) # Every call is now attested + signed result = classify_document(doc) # → builds your agent's LEX Score over time
LangChain 2-line drop-in
from lexprotocol.integrations.langchain import \ LexCallbackHandler # Attests every LLM call, tool use, chain step llm = ChatOpenAI( callbacks=[LexCallbackHandler()] ) # Works with AgentExecutor, LangGraph, RAG chains
One-liner manual record
from lexprotocol import record, configure # Optional: name your agent at startup configure(agent_name="my-classifier") # Record any action manually record( "route_customer_query", result="billing_department", metadata={"confidence": 0.97} )
🏆 Your agent earns a public LEX Score (0–100) based on consistency, coverage, and dispute rate. View leaderboard →

// The Problem

Internal logs aren't enough.

Your agents make thousands of autonomous decisions every day. You have internal logs. Your customers, partners, and regulators don't — they only have your word that the agent behaved as you claim.

⚖️

Disputed decisions

Internal logs can be altered. Without a third-party record, there's no ground truth for what your agent actually decided and when.

🏢

Enterprise trust gap

Your largest customers want to audit agent behavior independent of your systems. Right now they can't — they have to take your word for it.

📋

Verifiable documentation

High-risk AI deployments require audit trails that hold up externally. Internal logging doesn't satisfy that bar.

What an attestation report looks like.

Every agent gets a cryptographic reputation score backed by an immutable ledger of signed decision records.

  • Total actions attested with per-decision confidence scores
  • Cryptographic signature on every record — verifiable by anyone
  • Coverage gap analysis — unattested windows flagged automatically
  • Action-type breakdown with latency profiles
  • Public verification endpoint: no access to your systems needed
Download Sample Report (PDF)
LEXPROTOCOL · ATTESTATION REPORT ● ATTESTED
Agent: ACME-AGT-7f3a9b2c  ·  Jul 1 – Aug 5, 2026
47,832
Actions Attested
98.4%
Trust Score
DECISION.CLASSIFY13:44:12Z✓ 0x6b4f…9a2c
DECISION.ROUTE13:42:58Z✓ 0x1a9d…4e71
DECISION.RESPOND13:41:03Z✓ 0x8c2f…b309
DECISION.ESCALATE13:39:47Z✓ 0x3d7a…5512
⚠ 2 Coverage Gaps Detected
2026-07-14 02:11–02:43 UTC · ~240 decisions unverifiable
2026-07-28 19:05–19:09 UTC · ~30 decisions unverifiable
// How It Works

Protocol-native. Three lines of code.

01 // INTEGRATE

Add the SDK

pip install lexprotocol

Add @attest to any function or pass LexCallbackHandler() to LangChain. No config required.

02 // ATTEST

Sign & timestamp

Every decision is cryptographically signed, timestamped, and written to an immutable ledger.

03 // VERIFY

External proof

Anyone verifies your agent's record at lexprotocol.fly.dev — no access to your systems required.

04 // REPORT

Trust score

Attestation reports show your trust score, coverage gaps, and full signed decision history.


// Buy LEX

Top up your balance.

LEX pays for attestations — 1 LEX per attestation, 1,000 LEX per USDC. Pick an amount below. Paying by card or wallet costs a small processing fee; paying with USDC directly does not.

$100
You'll receive
100,000 LEX
$10$10,000
No agent yet? Use your email — we'll send setup instructions with your credited balance.

USDC No fee

$100.00
Pay directly on-chain (Base network). Settles in minutes, no card fee.

Card / Apple Pay / Google Pay

$102.90
Includes card processing fee. You'll confirm the exact amount and your agent ID on Stripe's secure checkout page.

// Get Started

Start building a reputation for your agents.

Install in 30 seconds, or email us to get a sample attestation report for your existing agent infrastructure. No commitment required.

pip install lexprotocol
chase@thelexprotocol.com

API docs → lexprotocol.fly.dev/docs  ·  Source → GitHub