christopherkarani/Wax
Shared Single-file memory layer for all your agents, sub mili-second RAG over text, photo and video on Apple Silicon.. No Server. No API. One File. Pure Swift
What it solves
Wax provides a durable, local-first shared memory layer for AI agents and on-device models. It eliminates the need for hosted vector databases or manual markdown scratchpads by allowing multiple AI tools (like Claude Code, Cursor, and Hermes) to read and write to a single, searchable .wax file on disk.
How it works
Wax uses a single binary file to store documents, metadata, and indexes. It combines SQLite FTS5 for full-text search and CoreML-powered MiniLM embeddings for semantic vector search. To enable agents to use this memory, it provides an MCP (Model Context Protocol) server that acts as a broker, allowing different AI clients to share the same memory store via HTTP. For Apple ecosystem developers, it offers a Swift SDK and native integration for Apple Foundation Models, providing tools like waxRemember and waxRecall directly to the device's on-device LLM.
Who it’s for
- AI Agent Users: People using tools like Cursor, Claude Code, or Grokbot who want their agents to remember facts across different sessions and projects.
- Apple Developers: iOS and macOS developers building AI apps that need a durable, on-device memory store without relying on cloud APIs.
- AI Researchers/Power Users: Those seeking a private, account-free alternative to hosted memory services.
Highlights
- Local-First: All data is stored in one
.waxfile, which can be easily moved via iCloud or AirDrop. - Hybrid Search: Combines fast text search and semantic vector search (p95 recall ~6.1ms on Apple Silicon).
- Cross-Agent Compatibility: A single memory store can be shared across multiple different AI agents via MCP.
- On-Device Embeddings: Auto-configures MiniLM embedders on iOS 18 and macOS 15+.
- Zero-Config Memory: Unlike some RAG systems,
rememberstores text directly without requiring an LLM to extract facts first.
Related
- Project
- Project
- Project
- Project
- Project