Beacon:AI 编码代理记忆层
面向 AI 编码代理的跨工具记忆层,把会话历史沉淀为可复用知识。
- 浏览
- 7
- 访问
- 0
- 下载
- 0
- Stars
- 3,604
- 版本
- v1.3.67
- 平台
- Windows、macOS、Linux
详细介绍
项目简介
Beacon 是一个面向 AI 编码代理的开源记忆层。它从 Claude Code、Cursor、Codex、OpenCode、Cline 等 20 多个 harness 捕获完整会话历史,识别其中有用的工作流、纠正和调试模式,并让后续代理复用这些知识。项目采用 local-first 设计,会话以 JSONL 持久化,可明确选择数据目的地,避免被单一 harness 锁定。
主要功能
- 跨 harness 历史:集中查看来自多个编码代理的会话。
- 知识沉淀:将工作流、纠正、调试路径和仓库约定转化为可复用知识。
- 共享代理记忆:经过审核的知识可通过 MCP 或 Agent Skills 供后续代理检索。
- 会话回放:在一条 trace 中查看提示、响应、工具调用、命令、编辑、审批、MCP 活动和 token。
- 本地优先:保留原始事件流,支持终端和本地 Web 查看。
安装与使用
macOS 可通过 Homebrew 安装:
brew trust asymptote-labs/tap
brew tap asymptote-labs/tap
brew install beacon
Linux 可使用发布页提供的安装脚本;Windows 可下载 x64 MSI 安装。安装后初始化端点:
beacon endpoint install
正常使用编码代理,Beacon 会在后台捕获会话历史。查看记录:
beacon traces
或打开本地 Web 仪表盘:
beacon endpoint dashboard
原始事件流位于 ~/.beacon/endpoint/logs/runtime.jsonl。
注意事项
交互式设置会通过 beacon.sh 登录,并预选 Beacon Cloud,同时提供 Local 选项;登录本身不会开启转发,确认 Managed 后才会安装并连接本机开始转发。可选择 Local 将所有数据保留在本机,并使用 beacon endpoint disconnect 断开连接。向导还可能安装 Beacon Skills 和注册 Beacon Cloud MCP,可分别用 beacon skills install|uninstall、beacon mcp connect / beacon mcp disconnect 管理。系统、包管理器、MDM 和 CI 安装路径保持非交互且无需账号。
本作品整理自 GitHub 开源项目 Asymptote-Labs/agent-beacon,原作者 @Asymptote-Labs,许可证 MIT。中文介绍由 AI 根据项目 README 整理,以原仓库为准。
更新记录
- v1.3.67当前版本
## Changelog ### Features * 41b7f3757ead99db238c41dd8c053c64947a2af5 feat(connect): Beacon Cloud forwarding on Windows, system and user mode * 782bb8439e55e130b10968ba57432c5822cedfa2 feat(connect): Beacon Cloud forwarding on Windows, system and user mode (#1351) * b85ecc41f43afba586fe4550d6f714ebd9610031 feat(enforcement): install the enterprise edition on Windows * 436981a9dafcf9919df0f090a53c56fdef37351d feat(enforcement): install the enterprise edition on Windows (#1352) ### Bug Fixes * f49cec8971bcbafce27a0d16bac4be0864419234 fix(lifecycle): keep the Windows Beacon Cloud connection only across an upgrade * 30e2732d70c11edaa09dbb91e3a29b2d110f5ca2 fix(packaging): tell the uninstall an MSI upgrade from a removal * 18ba5cf28974b66a1c859e7a75ae3fb3ab207eca fix(packaging): tell the uninstall an MSI upgrade from a removal * 04c4f65cc48157e1fcb3352b4a62cf74c866ab9c fix(selfupdate): leave a copy of the running beacon.exe for the old MSI's uninstall * 5685c37f0d2a970d95a5d17b81f44919ce0948
- v1.3.64
## Changelog ### Features * ae33049c9ef4baa1d022a23d8fafe9cb38134788 feat(enforcement): turn on policy enforcement in user mode (#1332)
- v1.3.63
## Changelog ### Features * a971a652aab8d63c103a87bdf7f3272e2eb5d630 feat(telemetry): ask for an optional email when the wizard finishes without an account * 58b4e3734d7c53b280545a04c4dcddbe5b8a2e16 feat(telemetry): ask for an optional email when the wizard finishes without an account (#1309) * 3491a7c764b75049c5bdf8d1b684166fcf90e2c4 feat(telemetry): report live sessions from the scheduled inventory job ### Bug Fixes * 78e202a874079e1b1a5654c9b3cc007f17274cc3 fix(telemetry): bound cli_trace_recorded's harness and keep old poll records out of live * 565aae94151779442032168a83ea118d5ea01e0b fix(telemetry): bound cli_trace_recorded's harness and keep old poll records out of live (#1314) * 3f2ed87ac8b7cc865691528abb070c65e8f393bf fix(telemetry): count only a device's real first install as is_first_for_device * 0f3b45c5794cb9b04be35da33bef8b7c6ed98582 fix(telemetry): count only a device's real first install as is_first_for_device (#1306) * 8c18f4f207bb78b604ce0d12f253f3efb5a7b0aa fix(telem
评论