
okf-agent-memory
okf-memory
Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.
AI 简介
OKF Agent Memory 是一个面向 AI 编程代理的 Git 原生持久化记忆系统,基于 Google OKF v0.2 开放规范,以纯文本 Markdown + YAML 格式将知识存于代码仓库的 `knowledge/` 目录中。其核心功能包括亚毫秒级(<300µs)内存内 BM25 检索、内置 Model Context Protocol(MCP)服务、渐进式披露机制及搜索前置写入原则,全程无需外部数据库或依赖,可降低 token 开销达 80%。适用于需要长期维护领域知识、保障可审计性与协作一致性的 AI 编程代理场景,如软件工程、科研辅助、技术文档协同等。
Go
MIT License557
Stars
35
Forks
109
Watchers
0
Issues
Star 增长
今日0
近 7 天0
近 30 天+271
综合评分8.67
默认分支main