Leteo is an open-source tool that provides persistent memory for AI coding agents. The core problem it solves is that coding agents forget previous information after a session ends or context is compacted. Leteo stores decisions, bug fixes, conventions, and costly discoveries in a local SQLite database and provides them to agents when relevant.
Key capabilities
- Persistent memory: Agents automatically load known project information at the start of each session and save new knowledge during work, without user prompting.
- Local-first: A single Rust binary, no server, no API key, and data does not leave the local machine by default, unless cloud replication is enabled for a specified project.
- Semantic search: An approximately 13 MB search model can be installed to support finding memories by meaning, even when the question and the memory share no vocabulary. Without the model installed, only word-based search is supported.
- Multi-client support: Supports Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf, VS Code Copilot, Kilo Code, Qwen, Kiro, Antigravity, Pi, DeepSeek Harness, Command Code, and others.
- Multiple ways to use: Provides an MCP server with 23 tools (running over standard input/output), a JSON command line, an interactive terminal UI (leteo tui), and setup support for 15 MCP clients.
- Data management: leteo export can export data, leteo delete can delete data, and leteo uninstall can uninstall while optionally retaining data.
How to use
- Install: You can install via the install script, Homebrew, Scoop, winget, the npm wrapper (npx @asanabrial/leteo), or by building from source (cargo install leteo). The install script places the binary in ~/.local/bin (%LOCALAPPDATA%\leteo\bin on Windows).
- Configure agents: Run leteo setup or open Leteo's Setup screen to configure. Claude Code can also be installed as a plugin, and Codex and ZCode have corresponding plugin packages.
- Use: After configuration, agents automatically read and write memories during sessions. Users can view the database via leteo tui and check status via leteo doctor.
Use cases
- AI coding workflows that need to retain project decisions, conventions, and bug-fix records across sessions.
- Developers who want memory data stored locally, controllable, and exportable.
- Teams using multiple AI coding clients that want unified memory management.
Limitations
- Official materials do not provide pricing or cost information.
- Semantic search requires downloading an additional model file; some installation methods (such as cargo install and building from source) require manually obtaining the model.
- Linux builds require glibc 2.34 or later and do not support musl systems (such as Alpine). Windows builds require Windows 10 or later.
- Official materials do not provide specific feature details or limitations of cloud replication.
- Official materials do not provide support information for mobile or non-desktop platforms.