I Built a Personal AI Agent on a Raspberry Pi — Jeremy Adams, Neo4j
Jeremy Adams details the construction of a wearable, personal AI agent, NanoClaw, running on a Raspberry Pi 4B. This system demonstrates an offline-first approach to agent memory, utilizing a local Neo4j graph database and the POLE schema (Person, Object, Location, Event) to capture and enrich real-world interactions (e.g., conference booth notes). The architecture connects the physical device to cloud LLMs (Claude) and a centralized Neo4j graph database via WhatsApp messaging, allowing for persistent, context-aware memory capture even without constant internet connectivity.
Key takeaways
-
Wearable, Hackable Agents
10:06
The speaker advocates for small, open, and hackable edge devices (like the Raspberry Pi) over feature-rich, proprietary laptop agents, prioritizing understanding and customization.
-
Graph Memory with POLE Schema
17:30
Memory is built using the POLE schema (Person, Object, Location, Event) to structure captured data, allowing the agent to build a connected graph of experiences.
-
Offline-First Architecture
The system uses a local Neo4j instance on the Raspberry Pi for offline data capture, which is later synced and enriched in the cloud, ensuring continuity regardless of network quality.
-
System Integration Pipeline
14:15
The agent processes input via WhatsApp messaging, runs local inference/capture on the Raspberry Pi, and sends queries/data to the cloud Neo4j instance via an MCP server connection.