能力标签
Anchored AI编码助手
🛠
AI工具

Anchored AI编码助手

基于 Go · 开源 AI 工具,GitHub 社区精选
英文名:anchored
⭐ 6 Stars 🍴 2 Forks 💻 Go 📄 MIT 🏷 AI 7.2分
7.2AI 综合评分
AI工作流代码代理内存管理Go语言零依赖
✦ AI Skill Hub 推荐

AI Skill Hub 推荐使用:Anchored AI编码助手 是一款优质的AI工具。AI 综合评分 7.2 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。

📚 深度解析

Anchored AI编码助手 是一款基于 Go 的开源工具,在 GitHub 上收获 0k+ Star,是AI工作流、代码代理、内存管理、Go语言领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
Anchored AI编码助手 依赖 Go 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Go 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 Anchored AI编码助手 的版本更新,及时通知重要功能变化。

📋 工具概览

为AI编码代理提供持久化跨工具内存管理的开源工作流框架。单一二进制文件,零依赖设计,支持多工具协作。适合开发者构建智能代码生成和自动化工具链。

Anchored AI编码助手 是一款基于 Go 开发的开源工具,专注于 AI工作流、代码代理、内存管理 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 6
开发语言
Go
支持平台
Windows / macOS / Linux(跨平台)
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
7.2 分
工具类型
AI工具
Forks
2

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

为AI编码代理提供持久化跨工具内存管理的开源工作流框架。单一二进制文件,零依赖设计,支持多工具协作。适合开发者构建智能代码生成和自动化工具链。

Anchored AI编码助手 是一款基于 Go 开发的开源工具,专注于 AI工作流、代码代理、内存管理 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:go install(推荐)
go install github.com/jholhewres/anchored@latest

# 方式二:从源码编译
git clone https://github.com/jholhewres/anchored
cd anchored
go build -o anchored .

# 方式三:下载预编译二进制
# 访问 Releases 页面下载对应平台二进制文件
# https://github.com/jholhewres/anchored/releases
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
anchored --help

# 基本运行
anchored [options] <input>

# 详细使用说明请查阅文档
# https://github.com/jholhewres/anchored
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# anchored 配置说明
# 查看配置选项
anchored --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export ANCHORED_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 69/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

Anchored

Persistent cross-tool memory for AI coding agents. Local-first, single binary, zero dependencies.

License: MIT [Go] Release

Anchored gives Claude Code, Cursor, OpenCode, Gemini CLI, Codex, VS Code Copilot, and other MCP-compatible tools one shared memory database on your machine.

  • Local-first: no account, no cloud dependency, no required API key.
  • One binary: anchored is both the CLI and MCP server.
  • Fast retrieval: SQLite FTS5 + local ONNX embeddings + knowledge graph.
  • Safe lifecycle: memories are scored, curated, inspected, exported, forgotten, and synced with privacy filters.

For team-shared project memory, the optional self-hosted/server side lives in anchored_oss. Local Anchored remains the source of truth and the hot retrieval path.

Core features

  • Cross-tool memory — all supported agents read/write the same local memory store.
  • Hybrid search — RRF fusion of BM25, local multilingual embeddings, entity detection, project boost, topic diversity, and lifecycle scoring.
  • Knowledge graph — pattern-based and explicit subject/predicate/object relationships, scoped by project.
  • Memory stackanchored_context returns identity, project stats, recent durable knowledge, and recent important session events under a tight budget.
  • Curated lifecycle — default-on background curation scores recent memories in small batches and marks low-signal entries without deleting anything.
  • Dream review — explicit/manual duplicate and contradiction analysis. Dedup can soft-delete; contradictions require manual review.
  • Privacy-first sync — remote preview/sync block local paths, secrets, personal preferences, episodic/operational data, and low-quality memories by default.
  • Sandbox and indexing tools — run code, process files, fetch docs, and index large output without flooding the model context.
  • Inspection and export — inspect exact metadata, list memories, export JSON/JSONL, restore curation backups, and purge safely.
  • Multi-source import — Claude Code JSONL, OpenCode SQLite, Cursor .mdc, and DevClaw.

Install

From GitHub Releases:

curl -fsSL https://raw.githubusercontent.com/jholhewres/anchored/main/install/install.sh | bash

From source:

git clone https://github.com/jholhewres/anchored.git
cd anchored
make build
sudo cp bin/anchored /usr/local/bin/

First run creates ~/.anchored/ and downloads the local embedding model when needed (~470 MB).

Setup

Configuration examples

curation:
  enabled: true
  interval_minutes: 15
  threshold: 0.55
  max_updates_per_run: 50

sanitizer:
  enabled: true
  patterns:
    - 'ACME_[A-Z0-9]{32}'

context_optimizer:
  enabled: false

Show or edit config:

anchored config show
anchored config set curation.enabled false
anchored config wizard

CLI overview

anchored                         Start MCP server over STDIO
anchored serve                   Start MCP server over STDIO
anchored init [--tool]           Register Anchored with supported tools
anchored doctor [--cwd]          Diagnose binary, model, DB, and MCP registration
anchored stats                   Show memory counts and import status

anchored save <content>          Save a memory
anchored search <query>          Search memories
anchored list                    List memories
anchored inspect <id>            Show full JSON metadata
anchored update <id>             Revise a memory in place
anchored forget <id>             Soft-delete a memory; --hard for permanent delete
anchored export                  Export memories as JSON/JSONL

anchored curation status         Show background curation worker state
anchored curation enable         Enable serve-time curation worker
anchored curation disable        Disable serve-time curation worker
anchored curation score          Score and optionally mark low-signal memories
anchored curation clean          Soft-delete or hard-delete low-signal memories
anchored curation restore        Restore a DB backup made before curation cleanup

anchored dream                   Analyze duplicate/contradictory memories
anchored dream --apply <id>      Apply one proposed dream action
anchored retention sweep         Archive expired operational/episodic memories
anchored bootstrap [--cwd]       Extract project seed memories from README/docs/rules/tree
anchored handoff [--scope]       Save a short session handoff with TTL
anchored precompact              Save a pre-compaction recovery snapshot
anchored hook <subcommand>       Run session continuity hooks

anchored remote status           Show remote sync configuration
anchored remote configure        Configure a remote server
anchored remote link|unlink      Link/unlink remote project IDs
anchored remote preview          Offline preview of syncable/blocked memories
anchored remote sync             Push syncable memories and KG triples
anchored purge                   Wipe memories; --hard resets DB with backup

Import sources: claude-code, devclaw, opencode, cursor, all.

Claude Code plugin

The plugin is the easiest path because it installs MCP registration, slash commands, hooks, and the auto-trigger skill together:

/plugin marketplace add jholhewres/anchored
/plugin install anchored@anchored

Restart Claude Code after installation. Available slash commands include /anchored:context, /anchored:search, /anchored:save, /anchored:stats, /anchored:doctor, and /anchored:purge.

Running context-mode too? Anchored now ships its own PreToolUse routing — it steers Read/Grep/Glob/Bash/WebFetch and subagents toward memory and the sandbox tools, the same mechanism context-mode uses. Running both plugins means two routing blocks competing for the model's attention, and context-mode's redirects can shadow Anchored's. Uninstall context-mode for the cleanest behavior — Anchored covers both the memory and the context-window story on its own.

Curation vs dream

Anchored has two maintenance paths because they solve different problems:

PathDefaultWhat it doesSafety model
curationOnScores recent memories in small batches, sets importance, and marks low_signal.Non-destructive. No content rewrites or deletes.
dreamManualFinds duplicates, merge/supersede opportunities, and contradictions.Proposed actions; destructive operations require explicit apply/review.

The curation worker starts with anchored serve. By default it runs every 15 minutes, processes newest candidates first, and updates at most 50 memories per pass. Tune or disable it with:

anchored curation status
anchored curation disable
anchored curation enable
anchored config set curation.interval_minutes 5
anchored config set curation.max_updates_per_run 25
anchored config set curation.threshold 0.55

Use anchored curation clean --dry-run when you want to remove low-signal memories. Cleanup is never automatic.

🎯 aiskill88 AI 点评 B 级 2026-06-04

创新的AI工作流框架,零依赖设计降低部署成本。但项目成熟度有限,社区规模小,适合早期探索者。

📚 实用指南(长尾问题)
适合谁
  • 需要 anchored 解决具体问题的开发者与运营人员
最佳实践
  • 先在测试环境跑通最小用例,再接入生产数据
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
部署方案
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
anchored 中文教程anchored 安装报错怎么办anchored 与同类工具对比anchored 最佳实践anchored 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要 anchored 解决具体问题的开发者与运营人员
⭐ 最佳实践
  • 先在测试环境跑通最小用例,再接入生产数据
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)

👥 适合人群

AI 技术爱好者研究人员和学生开发者和工程师技术创业者

🎯 使用场景

  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
  • +开发者社区支持,遇问题可查可问
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

允许多个AI工具共享和访问同一个持久化内存上下文,实现工具间的状态同步和信息传递。
💡 AI Skill Hub 点评

总体来看,Anchored AI编码助手 是一款质量良好的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

📚 深入学习 Anchored AI编码助手
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 anchored
原始描述 开源AI工作流:Persistent cross-tool memory for AI coding agents. Single binary. Zero dependenc。⭐6 · Go
Topics AI工作流代码代理内存管理Go语言零依赖
GitHub https://github.com/jholhewres/anchored
License MIT
语言 Go
🔗 原始来源
🐙 GitHub 仓库  https://github.com/jholhewres/anchored

收录时间:2026-06-04 · 更新时间:2026-06-11 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。