Integrations LangChain

Agent Framework

LangChain Remembers. VerifiedState Proves.

Your LangChain agent has BaseMemory. But can you prove what it remembered?

Get API Key →
12MCP tools
0.01mslookup
Freefor individuals
ed25519signed

The Problem

LangChain's memory classes (ConversationBufferMemory, VectorStoreRetrieverMemory) store and retrieve. When two memories conflict, the latest wins. No receipt. No audit trail. No temporal query.

Agent A stores. Agent B queries. Receipts connect them.

• • • Agent A stores fact
User's budget is $50,000
✓ Stored via BaseMemory · rct_44ef
• • • Agent B queries
> What's the user's budget?
✦ Verified memory lookup
$50,000 · stored by Agent A
Receipt: rct_44ef · confidence 0.97

Drop-in BaseMemory. Now with receipts.

Step 1
Connect
Step 2
Ingest + Extract
Step 3
Verify + Receipt

The Fix

npm install @verifiedstate/langchain

typescript
import { VerifiedMemory } from '@verifiedstate/langchain'; const memory = new VerifiedMemory({ apiKey: 'vs_live_...', namespaceId: 'ns_1', }); // Drop into any LangChain agent as BaseMemory const agent = new AgentExecutor({ agent: myAgent, tools: myTools, memory: memory, // ← verified memory with receipts });

What You Get Back

✓ VERIFIED
receipt.json
{ "receipt_id": "rct_7f3a...", "assertion": "User prefers dark mode", "status": "verified", "confidence": 0.94, "signature": "ed25519:a8c3f1...", "verified_at": "2026-04-06T14:32:01Z", "chain_position": 42 }

Without VerifiedState vs. With VerifiedState

FeatureWithoutWith VerifiedState
Memory conflicts Latest wins silently Conflicts detected + flagged
Audit trail None Signed receipts
Temporal queries Not supported Bitemporal
Governance None JSON policy engine

FAQ

Is it a drop-in replacement for BaseMemory?

Yes. VerifiedMemory implements the BaseMemory interface. Swap it in with one line.

Does it work with LCEL chains?

Yes. Works with both legacy chains and LCEL.

Related Integrations

Start building with verified memory.

Free: 50,000 assertions/month. No credit card. No trial expiration.