Local Memory System for AI Coding Tools Extracts 2,600+ Facts from Conversation Logs

A developer has built a local memory system for AI coding tools that runs entirely on their machine, addressing the problem of re-explaining context in new sessions. The system works with Claude Code, Factory.ai, and Codex CLI, writing all conversation logs to a single SQLite database.
How It Works
The system uses several automated processes:
- A cron job runs every 15 minutes to ingest conversation logs into SQLite
- Hourly, it generates vector embeddings and extracts structured facts using a local LLM (the developer runs Nemotron 3 Super on a DGX Spark via ollama)
- Every new Claude Code session starts with a memory-context.md file auto-injected via CLAUDE.md
- Mid-session, Claude can search the full history via MCP tools including keyword search, semantic search, fact lookup, and entity graph exploration
Usage Statistics
After a few months of normal use:
- 13,000+ messages indexed across 400+ sessions
- 2,600+ facts extracted (preferences, decisions, error/solution pairs, tool patterns)
- 330+ entities tracked (libraries, services, languages with mention counts)
- 40 MB database size
The entity graph tracks usage patterns like "you've used pytest 45 times, playwright 20 times, jest 3 times" based on actual usage data.
Features and Limitations
The system includes a browser-based UI for searching, curating facts, and previewing what gets injected into context, plus a CLI tool and slash commands. It's not plug-and-play—users need to set up cron jobs, configure MCP, and optionally run ollama. The developer notes this is their first open source project and welcomes feedback on architecture, fact extraction approach, MCP tool design, and Python/project structure improvements.
📖 Read the full source: r/ClaudeAI
👀 See Also

Curated list of 260+ AI agents and tools with open-source and self-hosted focus
A comprehensive GitHub repository lists over 260 AI agents and frameworks, emphasizing open-source, self-hosted, and local-first options including Ollama, OpenClaw, and DeerFlow.

Hypura: Storage-tier-aware LLM inference scheduler for Apple Silicon
Hypura is a Rust-based inference scheduler that places model tensors across GPU, RAM, and NVMe tiers to run models exceeding physical memory on Apple Silicon Macs. It enables running a 31GB Mixtral 8x7B on a 32GB Mac Mini at 2.2 tok/s and a 40GB Llama 70B at 0.3 tok/s where vanilla llama.cpp crashes.

Sandra: open-source persistent graph memory MCP for Claude
Sandra is a graph + vector memory backend with a native MCP server that gives Claude persistent structured memory across sessions, supporting exact, fuzzy, and semantic search.

Android CLI and Skills for AI Agent Development Workflows
Google released Android CLI with commands like android create and android sdk install, plus Android Skills GitHub repository with modular instruction sets. Internal benchmarks show 70% reduction in LLM token usage and 3x faster task completion.