Main
Treat memory as a real interface
Write small, queryable facts, keep writes explicit, and log reads/writes in your agent traces.
README excerpt (verbatim)
Wax is a high-performance, single-file memory layer for AI agents on Apple platforms.
On-device, private, and portable. No server and no cloud dependency.
English · Español · Français · 日本語 · 한국어 · Português · 中文
What is Wax?
Wax is a Swift-native persistence engine for AI agents. It stores documents, embeddings, and structured knowledge in a single portable .wax file.
The goal is simple: keep memory local, keep setup light, and make recall fast enough that it can stay in the loop.
Why Wax?
| Feature | Wax | SQLite (FTS5) | Cloud Vector DBs |
|---|---|---|---|
| Search | Hybrid (Text + Vector) | Text Only* | Vector Only* |
| Latency | ~6ms (p95) | ~10ms (p95) | 150ms - 500ms+ |
| Privacy | 100% Local | 100% Local | Cloud-hosted |
| Setup | Zero Config | Low | Complex (API Keys) |
FAQ
Q: Is Wax an MCP server or a library? A: Both—README documents an MCP server install path and SwiftPM integration.
Q: Do I need a separate vector database? A: The README positions it as local-first; treat it as an on-device retrieval layer for many cases.
Q: Can I host it remotely? A: README shows HTTP transport options; evaluate privacy and auth before using remote mode.