More on the topic...
Generating detailed summary...
Failed to generate summary. Please try again.
Three leading AI agents—Manus, OpenClaw, and Claude Code—all use plain Markdown files as their main memory layer instead of expensive vector databases. Manus hit $100 million ARR in eight months and attributes its design to cost savings: it processes 100 input tokens for every output token, so caching input via append-only Markdown slices input costs by tenfold. Their todo.md file does double duty—storing the plan and constantly rewriting the most recent steps so the model’s attention stays on track during long, multi-step tasks.
OpenClaw starts with a simple file layout—one MEMORY.md for core facts and daily notes in dated files—and layers on lightweight semantic search. It compacts old chat history by having the agent write out key memories before truncation, then runs SQLite-based vector queries over those same Markdown files. There’s no external service. The vector index lives alongside the source files and can blend keyword hits with embedding scores, using parameters like vectorWeight = 0.7 and temporal decay so stale notes don’t crowd out fresh ones.
Anthropic’s Claude Code embeds the Markdown approach into its official product. CLAUDE.md files hold everything from company policies to project-specific workflows. The system only loads files relevant to the current directory or user scope, cutting down on context bloat. That progressive disclosure replaces the need for a database-driven retriever: the filesystem’s hierarchy drives what the model reads when a session starts.
Questions about this article
No questions yet.