
Designing CLI Tools for AI Agents: Lessons from Building Memori
Update, 12 November 2026: Memori is now Lorevell. The current version uses Markdown notes as its source of truth and a rebuildable SQLite index. This article describes an earlier version; use the current setup and rename guide for installation and migration. Try the 2.0 preview: The wheel quickstart includes a two-note search and archive demo. The verified wheels run on Apple Silicon macOS and Ubuntu arm64 without Rust. Designing CLI Tools for AI Agents Most CLI tools are designed for humans who can google error messages, read man pages, and ask Stack Overflow. AI agents can’t do any of that. They get one shot at parsing your output, one chance to recover from an error, and they pay per token for everything you print. ...



