为AI编码代理提供持久内存。MCP服务器+生命周期钩子,为Claude代码、Codex和Cursor提供跨会话的长期记忆——一个Rust二进制文件,一个本地SQLite数据库,没有服务器。
概览
安装 • 工作原理 • 命令 • 语言 你的编码代理在会话结束时会忘记所有内容,而在上下文压缩时,大部分内容会被遗忘。Leteo 是它保存的内存:决策、漏洞修复、约定以及那些昂贵的发现,存储在本地 SQLite 数据库中,并在相关时交还给他们。 一个二进制文件,没有服务器,没有API密钥。除非你为你指定的项目开启云复制,否则设备不会离开你的机器。 ——同一个代理人,同样的问题,一次有它,一次没有: 这就是能在方差中幸存下来的发现,而这些代币是噪音较大的那一部分。每一次运行都在这里——包括基线、每场约15,400代币的固定成本,以及这七次运行中显示Leteo价格是3.7倍的配对。
概述(AI 翻译)
安装 • 工作原理 • 指挥 • 语言
Leteo — 用于AI编码代理的持久记忆
你的编码代理在会话结束时会忘记所有内容,大部分内容在 上下文是压缩的。Leteo 是它保存的记忆:决策、漏洞修复, 会议和那些昂贵的发现,存放在本地 SQLite数据库,相关时再交还。
一个二进制,没有服务器,没有API密钥。除非你自己切换,否则机器上没有任何东西。 在云端复制,为你提到的项目做准备。
以自身为比——同一个代理人,同样的问题,一旦有了它 还有一次没有:
四个答对中的四个,没有答对的代理人一个都答不出来 3。 这就是在方差中幸存的发现,而这些标记是 噪音更大。每一轮都在这里——两者都在这里 基线,固定成本约为每场15,400代币,两臂 支付,以及这七次运行中显示Leteo 成本3.7倍的配对 非常多。
与: Claude Code ·ZCode ·Codex ·光标 ·Gemini CLI ·OpenCode ·Windsurf ·
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Install • How it works • Commands • Languages
Leteo — persistent memory for AI coding agents
Your coding agent forgets everything when the session ends, and most of it when the context is compacted. Leteo is the memory it keeps: decisions, bug fixes, conventions and the discoveries that were expensive to make, stored in a local SQLite database and handed back when they are relevant.
One binary, no server, no API key. Nothing leaves your machine unless you turn on cloud replication for a project you name.
Measured against itself — the same agent, the same questions, once with it and once without:
Four right answers out of four, where the agent without it got none out of three. That is the finding that survives the variance, and the tokens are the noisier half of it. Every run is here — both baselines, the fixed cost of about 15,400 tokens a session that both arms pay, and the pairing from these same seven runs that says Leteo costs 3.7x as much.
Works with: Claude Code · ZCode · Codex · Cursor · Gemini CLI · OpenCode · Windsurf · VS Code Copilot · Kilo Code · Qwen · Kiro · Antigravity · Pi · DeepSeek Harness · Command Code
What it feels like
You never prompt it to remember. That is the whole idea. Your agent opens each session already holding what the project knows, and saves as it goes while you
安装
npx -y @asanabrial/leteo mcp配置
{
"mcpServers": {
"leteo": {
"command": "npx",
"args": ["-y", "@asanabrial/leteo", "mcp"]
}
}
}