Description
napkin is a knowledge system for AI agents that keeps everything in local files. It stores notes in a vault on your machine and gives an agent a layered way to read them, so the whole vault does not have to fit in the context window. A short NAPKIN.md note gives the project context, an overview command lists the vault map with search-checked keywords, a search returns ranked snippets, and a read command loads a full file only when it is needed. Search runs on ferrosearch, a native engine with prebuilt binaries for macOS on Apple silicon and Intel and for Linux, and other platforms can build it from source with Rust. napkin is also a library. Its SDK returns typed data and throws errors, with no console output or process exits, so you can embed it in your own code. The project includes agentic retrieval benchmarks, including LongMemEval.…
Highlights
- Local, file-based knowledge vault
- Layered reading to save agent tokens
- Ranked search on native prebuilt binaries
- SDK with typed results and no console output
- Retrieval benchmarks including LongMemEval
Ratings & Reviews
No ratings yet
Be the first to rate Napkin.
People also visit
Napkin FAQ
What is napkin?
A knowledge system for AI agents that stores notes as local files in a vault.
How does it save tokens?
It reveals information in levels. NAPKIN.md is about 200 tokens, the overview is about 1 to 2k, search results are about 2 to 5k, and full files load only when read.
Which platforms does search support?
Prebuilt binaries for macOS on arm64 and x64, and for Linux on x64 and arm64 with glibc and musl. Other platforms build from source with Rust installed.
Can I use it without the CLI?
Yes. napkin is also a library, and its SDK returns typed data without writing to stdout or exiting the process.
What are the best Napkin alternatives?
Popular alternatives to Napkin include DSH Mnemon, Memoryport and Gems. See all Napkin alternatives










