Entroly Memory OS is the product surface for Entroly’s memory ecosystem.
It is more than persistent storage. The differentiator is that Entroly decides what should be remembered, recalled, suppressed, shared, verified, persisted, and sent under a token budget.
Entroly Memory OS gives AI agents a budget-aware working memory, long-term memory, verifier, and safe multi-agent nervous system.
Most agent-memory products focus on storing and retrieving facts. That is necessary, but incomplete for coding agents and multi-agent systems.
A production agent also needs to:
Entroly is built around that runtime problem.
Not just "remember and recall".
Entroly controls memory the way an operating system controls CPU, cache, IO, and permissions.
| Layer | What it does | Primary files |
|---|---|---|
| Public facade | Stable Python API for remember/recall/decay/consolidation/save/load/safety | entroly/memory.py |
| Main command | Fast local entroly memory ... route before Docker |
entroly/_docker_launcher.py, entroly/memory_cli.py |
| Console script | Installed entroly-memory command |
pyproject.toml, entroly/pyproject.toml |
| End-to-end demo | Offline memory → safety → recall → receipt → persistence demo | examples/memory_os_e2e_demo.py |
| Memory benchmark | Deterministic release gate for local memory behavior | benchmarks/memory_stress_test.py |
| Working / episodic / semantic memory | Three-tier memory with token budgets | entroly-core/src/memory/mod.rs, episode.rs |
| Salience and forgetting | Ebbinghaus retention, emotional tags, spaced recall | entroly-core/src/memory/episode.rs |
| Neocortex | Kanerva Sparse Distributed Memory for consolidated patterns | entroly-core/src/memory/kanerva.rs |
| Fast recall | Multi-probe LSH over 1024-bit SimHash addresses | entroly-core/src/memory/lsh.rs |
| Sleep replay | Consolidates important memories and evicts weak ones | entroly-core/src/memory/consolidation.rs |
| Context memory bridge | Recalls long-term memories into context selection | entroly/long_term_memory.py |
| Inter-agent message memory | Suppresses redundant agent messages before token explosion | entroly-core/src/ipc.rs |
| Safety gate | Blocks PII, prompt injection, and rate-limit abuse | entroly-core/src/compliance.rs, entroly/memory.py |
| Pollination | Shares learned lessons across agents with TD(0) feedback | entroly-core/src/pollination.rs |
| Federation | Shares learned archetype weights with differential privacy | entroly/federation.py |
| Verification | Checks whether answers are grounded in selected evidence | entroly/witness.py, entroly-core/src/witness.rs |
| Context control | Selects what memory/code enters the prompt | entroly-core/src/lib.rs, knapsack.rs, knapsack_sds.rs, channel.rs |
Entroly stores memories with an explicit tier, salience, token cost, source, tags, and safety policy.
The public facade supports:
working: current task memory,episodic: session/history memory,semantic: persistent pattern memory.Semantic memory is intentionally protected from normal forgetting, while the runtime still enforces global capacity limits.
Recall is not a blind nearest-neighbor dump. Entroly scores candidates and selects memories under a token budget.
The public facade combines:
This matters because the model does not need every memory. It needs the few memories that fit the task and budget.
Entroly uses sleep-replay style consolidation:
For multi-agent systems, Entroly treats memory sharing as a decision, not a broadcast.
The deeper stack includes:
Graph/vector memory tools are strongest when the problem is:
Build a company brain from documents and relationships.
Entroly is strongest when the problem is:
Run an AI agent without drowning it in noisy, unsafe, stale, or unaudited context.
| Capability | Graph-memory platforms | Entroly Memory OS |
|---|---|---|
| Store long-term facts | Strong | Present through memory + vault surfaces |
| Knowledge graph ontology | Strong | Not Entroly’s main product surface today |
| Token-budget-aware recall | Usually secondary | Core design goal |
| Working / episodic / semantic tiers | Usually abstract | Explicit runtime model |
| Sleep-replay consolidation | Usually not central | Built into the memory design |
| Forgetting and salience | Often manual metadata | Native retention model |
| Local safety guard before storage | Product-dependent | Public facade blocks/redacts secrets, PII, injection patterns |
| Inter-agent message filtering | Usually not central | SCHIPC novelty filter |
| PII / injection gate on memory traffic | Product-dependent | Built as kernel compliance gate |
| Agent lesson sharing | Usually high-level | TD(0) pollination engine |
| Privacy-preserving shared learning | Product-dependent | DP-noised archetype federation |
| Answer verification | Usually external | WITNESS gateway in Entroly stack |
| Context receipts | Usually external | Native Entroly differentiator |
Entroly should be honest about maturity.
| Surface | Status | Notes |
|---|---|---|
| MemoryOS Python facade | Shipped | Dependency-free public API: remember, recall, decay, consolidate, save, load, snapshot, safety scan |
| Main Entroly command | Shipped | entroly memory remember/recall/stats/scan/forget, routed locally before Docker |
| MemoryOS console script | Shipped | entroly-memory remember/recall/stats/scan/forget |
| Standalone memory CLI module | Shipped | python -m entroly.memory_cli |
| End-to-end demo | Shipped | python examples/memory_os_e2e_demo.py --json |
| Memory stress benchmark | Shipped | python benchmarks/memory_stress_test.py; also gated in CI |
| Context selection and optimization | Shipped | Public CLI/proxy/library path |
| Context Receipts | Shipped | Public Python + Rust-backed receipt pipeline |
| WITNESS verification | Shipped | Python gateway with Rust verifier support |
| RAVS guarded routing | Shipped / gated | Fail-closed router behavior covered by tests |
| Long-term memory Python bridge | Optional | Activates when hippocampus-sharp-memory is installed |
| Rust memory manager | Internal core surface | Present in entroly-core/src/memory, but should be exposed more deeply through PyO3 |
| SCHIPC IPC bus | Internal core surface | Present in Rust; needs public examples |
| Compliance gate | Internal core surface | Present in Rust; needs public examples |
| Pollination engine | Internal core surface | Present in Rust; needs integration guide |
| Federation | Experimental / opt-in | Off by default; shares no code, paths, or fingerprints |
The first production gap is now closed with:
MemoryOS,entroly memory ...,entroly-memory,Remaining gaps:
MemoryManager, IpcBus, ComplianceGate, and PollinationEngine as public PyO3 classes,A simple public API is available through entroly.memory.MemoryOS and exported from entroly:
from entroly import MemoryOS
mem = MemoryOS(max_entries=50_000, max_tokens=500_000, safety_policy="block")
mem.remember(
agent_id="coder",
content="Auth timeout bug was fixed in auth/session.py",
importance=0.9,
source="incident/auth-timeout",
tags=["critical"],
)
ctx = mem.recall(
agent_id="coder",
query="why is login timing out again?",
budget=1200,
)
print(ctx.as_text())
print(ctx.receipt())
mem.save(".entroly/memory.json")
Load it later:
from entroly import MemoryOS
mem = MemoryOS.load(".entroly/memory.json")
Current facade behavior:
The facade should later delegate to existing native primitives:
MemoryManager for tiered recall,Use the main command:
entroly memory remember "Login timeout was fixed in auth/session.py" \
--agent coder \
--importance 0.9 \
--source incident/auth-timeout \
--tag critical
entroly memory recall "why is login timing out again?" \
--agent coder \
--budget 1200
entroly memory stats
entroly memory scan "candidate memory text"
The standalone console script is equivalent:
entroly-memory remember "Login timeout was fixed in auth/session.py" --agent coder --importance 0.9
entroly-memory recall "why is login timing out again?" --agent coder --budget 1200
entroly-memory stats
Module form is also supported:
python -m entroly.memory_cli remember "Login timeout was fixed in auth/session.py" --agent coder --importance 0.9
python -m entroly.memory_cli recall "why is login timing out again?" --agent coder --budget 1200
python -m entroly.memory_cli stats
Use ENTROLY_MEMORY=/path/to/memory.json or --file /path/to/memory.json to choose the memory file.
Use this story in videos and README sections:
Cognee-like systems give agents a company brain.
Entroly gives agents a working memory, long-term memory, verifier, and safe multi-agent nervous system.
Then show this flow:
User asks task
↓
Entroly recalls working + episodic + semantic memories under budget
↓
SCHIPC suppresses redundant agent chatter
↓
ComplianceGate blocks unsafe memory traffic
↓
Context optimizer selects code + memory + receipts
↓
WITNESS checks answer against evidence
↓
Pollination learns whether sharing helped
Run:
python examples/memory_os_e2e_demo.py
python examples/memory_os_e2e_demo.py --json
The demo shows:
Run the deterministic benchmark:
python benchmarks/memory_stress_test.py
python benchmarks/memory_stress_test.py --json
The benchmark gates:
This benchmark is intentionally offline. It measures the local memory-control layer, not LLM answer quality.
Use this claim publicly:
Entroly is not just a memory store. It is a local memory-control runtime for agents: budget-aware recall, decay, consolidation, safety scanning, durable local persistence, receipts, and verification.
Avoid this claim until the native API and benchmarked end-to-end agent workflow are added:
Entroly is universally better than all AI memory platforms.
The better claim is sharper and more defensible:
Graph-memory tools build a company brain. Entroly controls the agent's working memory and context budget at runtime.