GitHub · 灵魂体仓库·· 18 天前精选AI 评分58
Context Foundry:Rust 编写的本地确定性上下文引擎公开仓库
dwbimstr/context-foundry
来源与原文
GitHub · 灵魂体仓库
发布时间:(北京时间)
阅读原始来源 · github.com ↗完整链接与内容说明
https://github.com/dwbimstr/context-foundry
本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。
AI 导读
dwbimstr 在 GitHub 公开 Context Foundry,一个用 Rust 编写的本地确定性上下文引擎,为编码 agent 按名称返回定义、同名目录或使用位置,并以精确 token 预算交付带引用的源码,通过 MCP 和 CLI 提供。核心检索无需模型、GPU、网络或密钥,支持 tree-sitter 的 23 种语言,目前处于 pre-release 状态。作者给出的实测中,脚本化 agent 在 rust-lang/rust 1.99.0 上 D1 Pass@1 从 89.1% 提升到 97.8%,中位通过 token 从 806 降到 234;macOS arm64 支持最完整,Windows 未构建,暂无正式发布版本。
推荐理由
这个 Rust 写的确定性上下文引擎给出了在 rust-lang/rust 和 Bun 仓库上的实测 Pass@1 与 token 消耗数据,可供评估编码 agent 检索方案时参考。
来源:GitHub · 灵魂体仓库 · github.com