Integrations › LangChain
Your LangChain agent has BaseMemory. But can you prove what it remembered?
Get API Key →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.
Drop-in BaseMemory. Now with receipts.
npm install @verifiedstate/langchain
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
});{
"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
}| Feature | Without | With VerifiedState |
|---|---|---|
| Memory conflicts | Latest wins silently | Conflicts detected + flagged |
| Audit trail | None | Signed receipts |
| Temporal queries | Not supported | Bitemporal |
| Governance | None | JSON policy engine |
Yes. VerifiedMemory implements the BaseMemory interface. Swap it in with one line.
Yes. Works with both legacy chains and LCEL.
Free: 50,000 assertions/month. No credit card. No trial expiration.