ImplantCloud is a RAM-resident, self-pruning memory engine for field machines. It runs entirely on your hardware. No cloud API calls, no network dependency, no vector database subscription. It ships as a single embeddable library that fits on a Raspberry Pi.
AI memory is a solved problem on paper. In practice, every solution we tried was either too cloud-dependent, too slow, or too dumb to know what to forget. So we wrote our own.
Pinecone, Weaviate, Qdrant, Milvus, Chroma. All great at scale, all wrong for a machine running on a laptop, a robot arm, or an edge device in a factory. A cloud network hop on every memory read is not a retrieval layer. It is a bottleneck.
SQLite is fast and offline. A table of text chunks is not memory. There is no overlap detection, no self-pruning, no mechanism to notice that "user asked about decorators" and "user asked again about decorators" should be one implant, not two.
Similarity search returns the nearest chunks. But if the answer lives in the semantic overlap between two concepts, neither chunk scores high enough individually to surface. Standard retrieval misses it entirely. We built a Venn graph specifically to fix this failure mode.
LangChain memory, MemGPT, Letta. All designed assuming you have an LLM endpoint to call during the ingest path. A machine that can't rely on the cloud cannot phone home to OpenAI every time it processes a sensor reading. We made compression dependency-free by default.
The atomic unit is the implant: a small record carrying text, an embedding, a token count, and an importance score. Every new implant is compared to the store. When two implants are too similar to coexist, one absorbs the other. The store stays compact automatically.
Text goes in. A pluggable summarizer compresses it. A pluggable embedder maps
it into semantic space. The result is an Implant: self-contained, typed, and ready for comparison.
Supports any sentence-transformers model for real semantic similarity, or runs fully dependency-free
with a built-in embedder.
The Overlapper computes cosine similarity against the store. Above 0.92: new overwrites old, keeping
the smaller of the two, recording what was lost as shadow_keywords. Between 0.75-0.92:
merge into one denser implant. Below 0.75: coexist. No information silently vanishes.
Every surviving implant has an overlap_neighbors dict, a small graph of semantic bonds
above a configurable threshold. At retrieval time, primary hits expand through this graph to pull in
semantically adjacent implants, ensuring the full context is always returned.
Two simultaneous budgets: max_tokens (LLM context cost) and max_bytes
(physical RAM). When the store goes over budget, lowest-importance implants are evicted first. At equal
importance, relationship edges are evicted before content implants. Every eviction cascades safely. The
store never has dangling references.
A relationship between two implants is itself an Implant. It has its own embedding, its own importance, its own retrieval. Ask "how does X relate to Y" without any joins. A robot can ask "which zones did I already inspect this shift?" and get the traversal back in a single call. No joins, no query planner, no network.
Animated illustration — simulated, not a live engine run. The recorded Pi demo is in the Demo section below.
Dense physical-world sensor data from energy, agriculture, and logistics systems, made finally usable by machines that can't rely on the cloud.
The real world generates too much raw data for a machine's reasoning layer to process directly. A single wind farm produces 12 million sensor ticks per day (illustrative industry figure, not a measured result). A logistics fleet generates 400 GPS pings per vehicle per hour (illustrative industry figure, not a measured result). An agricultural monitoring network emits continuous telemetry from thousands of soil, weather, and irrigation sensors.
Piping any of this into a context window is impossible. Storing it in a vector database and retrieving chunks does not work either. The signal is in the pattern deviation, not in any individual reading. A temperature of 23.1°C is meaningless. A temperature that has been 23.1°C for six weeks and is suddenly 87.3°C is everything.
ImplantCloud is the semantic filter between raw telemetry and the reasoning layer. It probabilistically collapses millions of "normal" status ticks into a single background implant while instantly isolating anomalies into distinct episodic memories. Machines make fast decisions by querying the compressed cloud instead of scanning raw data lakes.
Power grid status, demand spikes, turbine health, substation telemetry. ImplantCloud holds the semantic state of a grid: what is nominal, what is degraded, what just tripped. Agents act on deviations, not scan raw readings.
Soil moisture, canopy temperature, irrigation flow, weather station feeds across thousands of acres. Anomalies like drought stress, frost risk, and irrigation failure surface immediately. Background health stays compressed.
Per-vehicle memory of cargo status, route deviations, temperature breaches, and delivery exceptions. A rerouting agent queries the fleet cloud ("which shipments are at temperature risk?") and gets an answer in ~2ms on edge hardware, without touching a database or an API.
172.87 MB of multi-channel spacecraft telemetry (SMAP & MSL) compressed into a 394-implant brain (321.5 KB on disk). Measured Oct 29, 2026, on a Raspberry Pi 4. Every query below was timed over 30 repetitions directly on a quad-core 32-bit Raspberry Pi 4 against both pre-loaded in-RAM NumPy arrays and raw on-disk channel scans.
| ID | Query | Channels | ImplantCloud (Brain) | Raw in-RAM | Raw on-Disk | Speedup vs RAM | Speedup vs Disk |
|---|---|---|---|---|---|---|---|
| Q1 | "what was unusual on M-6" | 1 | 2.075 msmax 2.432 ms | 4.158 msmax 4.285 ms | 12.940 msmax 13.282 ms | 2.0× | 6.2× |
| Q2 | "what was unusual on P-1" | 1 | 2.088 msmax 2.271 ms | 10.595 msmax 10.666 ms | 20.927 msmax 22.386 ms | 5.1× | 10.0× |
| Q3 | "what was unusual on E-2" | 1 | 2.088 msmax 2.217 ms | 10.691 msmax 10.796 ms | 20.994 msmax 21.315 ms | 5.1× | 10.1× |
| Q4 | "severe deviation SMAP" | 54 | 2.167 msmax 2.297 ms | 622.693 msmax 623.545 ms | 1,155.887 msmax 1,162.220 ms | 287.3× | 533.3× |
| Q5 | "what was unusual on T-1" | 1 | 2.115 msmax 2.274 ms | 10.551 msmax 10.680 ms | 20.899 msmax 21.002 ms | 5.0× | 9.9× |
| Q6 | "volatile rising MSL telemetry" | 27 | 2.204 msmax 2.407 ms | 119.467 msmax 119.817 ms | 404.893 msmax 406.892 ms | 54.2× | 183.7× |
| Q7 | "A-1 baseline" | 1 | 2.116 msmax 2.262 ms | 20.751 msmax 20.892 ms | 31.284 msmax 31.358 ms | 9.8× | 14.8× |
| Q8 | "unusual D-15" | 1 | 2.125 msmax 2.262 ms | 3.698 msmax 3.787 ms | 13.510 msmax 13.841 ms | 1.7× | 6.4× |
| Q9 | "unusual F-5 outside normal range" | 1 | 2.237 msmax 2.373 ms | 5.191 msmax 5.273 ms | 18.936 msmax 19.225 ms | 2.3× | 8.5× |
| Q10 | "commands severe deviation D-5" | 1 | 2.168 msmax 2.321 ms | 18.425 msmax 18.494 ms | 27.938 msmax 28.068 ms | 8.5× | 12.9× |
A grid operator's AI that phones home to query fault history is a liability. A logistics agent waiting on a cloud memory read misses the window to reroute. Physical AI has a zero-tolerance threshold for network dependencies in its cognitive layer.
A substation AI needs to remember the fault history of every line segment, transformer load trends, and the last 48-hour pattern before it makes a switching decision. ImplantCloud holds that state locally, on the device, with no uplink required. Anomalies that occurred 6 days ago are still queryable in ~2ms on edge hardware.
Soil moisture, canopy temperature, and irrigation flow from thousands of sensors, compressed into a semantic model of the field's health. An edge device running on solar can answer "which zones are under drought stress right now" without a server, without a network, and without scanning raw sensor logs.
Cold-chain cargo status, customs hold flags, last-mile delivery exceptions, all compressed into a per-shipment semantic cloud. A rerouting agent queries "which shipments are at temperature risk right now" and gets the answer back in ~2ms even across dozens of channels, with zero cloud dependency.
Live 2:02 run on a Raspberry Pi 4 (4 GB): build the brain, SSH to the Pi, live queries, a ground-truth audit, and a benchmark. The video below is a separate 5-rep live run; the Benchmarks section above is the 30-rep timing run, so the two number sets differ slightly and both are labelled.
The video shows a ground-truth audit with a Q2 miss; no aggregate accuracy score is claimed yet. Engine in-memory size is 1.40 MB — see Benchmarks above. SSH in the video is only the viewing window; no network-off repeat is shown in this cut.
Warehouse picking robots, surgical systems, inspection drones. Any machine that needs shift-persistent memory of what it has checked, what failed, and what changed.
Substation fault history, turbine health trends, grid demand patterns. Edge devices hold the semantic state of the grid so machines can act on deviations in milliseconds.
Soil moisture, canopy temperature, irrigation flow, compressed into a semantic model of a field's health. Solar-powered edge devices run the full engine.
Cold-chain cargo status, customs holds, delivery exceptions, compressed into per-shipment semantic clouds. Fleet-wide queries in milliseconds.
Patient history, procedure notes, clinical decisions, all stored entirely on-device. Data never leaves the room. Compliance is structural, not policy.
Classified environments and field-deployed tactical AI where any external network call is a non-starter. Designed for air-gapped operation; certification is customer-led.
Factory-floor sensor telemetry, quality control patterns, and predictive maintenance memory for production lines running 24/7 without cloud connectivity.
Mobile assistants, game NPCs, smart home agents. Any on-device AI that needs to remember preferences, context, and history without a server.
We kept building AI agents that would forget everything the moment a context window rolled over. The standard advice was "use a vector database." We tried that. The latency is real. The subscription cost is real. The dependency on uptime you don't control is very real. For a machine running on a laptop or a robot in a warehouse, that is not acceptable.
The deeper problem is that most memory layers treat every piece of information as equally important forever. They scale linearly with input volume. They have no mechanism to decide that two nearly identical memories should be one memory. They cannot tell you when a query is touching something that was once known but has since been compressed away.
We wanted something that behaved more like human working memory: compact under pressure, honest about what it has lost, and retrievable in milliseconds. The Venn cloud architecture is our answer to that. The implant metaphor is just what the data structure feels like when you use it. You are not appending to a log. You are placing a small record into a semantic field where it may overlap with, merge into, or quietly displace what was already there.
We think machines that can't rely on the cloud deserve a memory layer that runs anywhere. Not one that requires a cloud account. Not one that grows unbounded. Not one that treats "I don't know" and "I forgot" as the same thing. ImplantCloud is our attempt at getting this right.