Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Local‑first memory for coding agents with Graft

说明与用途

Graft 为编码代理提供本地记忆存储,允许在会话中保存并重用发现的修复和见解。

问题

Coding‑agent sessions lose learned fixes and decisions after the session ends, leading to repeated work and loss of knowledge.

结果

Graft enables coding agents to remember and reuse fixes, constraints, and gotchas locally, reducing redundant work and improving efficiency.

工作流

  • 1. Run graft query <question> to check if the issue has been seen before and get a confidence‑gated result.
  • 2. If useful, run graft retrieve <question> to get ranked memory nodes that may help.
  • 3. Use graft explore <keyword> to navigate related memories via semantic and keyword relationships.
  • 4. When a new fix or insight is found, insert it with graft insert --title <title> --body <body> --keyword <kw1> --keyword <kw2> ....
  • 5. Continue coding; the agent can call Graft via CLI, subprocess, REST, or MCP to access memory during work.

证据

Graft is an open‑source project for keeping that kind of knowledge available locally across later agent work.

来源

The core runtime is local: a CLI communicates with a local daemon, which uses SQLite storage alongside FTS5 and sqlite‑vec.

来源

  • 记录日期: 2026-09-20T23:45:40.624Z