Governed persistent memory for autonomous agents.
CAIN Memory gives autonomous agents persistent, adaptive, governed, tenant-isolated memory that can be written, managed, retrieved, verified, corrected, forgotten, and audited without allowing untrusted or unauthorized information to silently become trusted agent knowledge.
| Level | Description |
|---|---|
UNVERIFIED | Newly written, not yet assessed |
OBSERVED | Seen but not validated |
VALIDATED | Cross-referenced and found consistent |
TRUSTED | Authoritative, can be used for consequential decisions |
REVOKED | Explicitly invalidated |
EXPIRED | Time-based decay |
episodic - Events and experiencessemantic - Facts and knowledgeprocedural - How to do thingspreference - User preferencestask - Task-related informationworking - Temporary working memoryfactual - Verified factsexperience - Agent experiencesinstruction - Instructions and directivesobservation - ObservationsPOST /fabric/memory/store
X-API-Key: {key}
{
"agent_id": "agent-1",
"memory_type": "semantic",
"content": "The server runs on port 8399",
"source": "tool",
"confidence": 0.95
}
GET /fabric/memory/get/{memory_id}
X-API-Key: {key}
GET /fabric/memory/
X-API-Key: {key}
PATCH /fabric/memory/update/{memory_id}
X-API-Key: {key}
{
"content": "Updated content"
}
DELETE /fabric/memory/delete/{memory_id}
X-API-Key: {key}
POST /fabric/memory/trust/{memory_id}
X-API-Key: {key}
{
"trust_level": "revoked",
"reason": "Incorrect information"
}
GET /fabric/memory/stats
X-API-Key: {key}
GET /fabric/memory/health
Every memory write passes through admission control evaluating:
A memory produced by an agent must NOT automatically become authoritative.
| Operation | Cost |
|---|---|
| Storage | $0.01 per KB |
| Retrieval | $0.001 per read |
| Embedding | $0.002 per operation |
| Consolidation | $0.005 per operation |
| Summarization | $0.01 per operation |
CAIN Memory Dashboard - Live statistics, interactive demo, and full API reference.