智能代理网格 是 AI Skill Hub 本期精选MCP工具之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
智能代理网格 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
智能代理网格 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/sampleXbro/agentsmesh
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"------": {
"command": "npx",
"args": ["-y", "agentsmesh"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 智能代理网格 执行以下任务... Claude: [自动调用 智能代理网格 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"______": {
"command": "npx",
"args": ["-y", "agentsmesh"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
.agentsmesh/skills/api-gen/template.hbs becomes .claude/skills/... or .cursor/skills/... in each generated file. Generation pipelineimport, then diff, then generate, then check; nothing is overwritten blind. Existing-project guideconvert --from <a> --to <b> rewrites one tool's config directly into another's. convert~/.agentsmesh/ syncs personal config to ~/.claude/, ~/.cursor/, ~/.codex/, and more; config commands accept --global. Global pathscheck gates drift, diff previews, merge rebuilds the lock after a Git conflict, and lint warns about content a tool would mishandle. check · lintextends. Install rules, skills, agents, and commands from any git repo; hooks, permissions, and MCP from remote sources stay off until you opt in. installgenerate, import, lint, diff, and check, --json envelopes on every command except watch, and an MCP server so agents can operate the config themselves. API · MCP servernpm install -g agentsmesh # or: pnpm add -g agentsmesh / yarn global add agentsmesh npm install -D agentsmesh # pin per repo as a dev dependency, then run with npx ```
Binaries with SHA-256 checksums are on GitHub Releases.
Every method ships the same CLI (agentsmesh, alias amsh). The npm package also exposes the TypeScript API.
```bash
agentsmesh init # detect and import existing tool configs, or scaffold fresh
agentsmesh generate # write each tool's native config from the one source
agentsmesh check # CI drift gate against .agentsmesh/.lock
On a terminal, init runs a short wizard: pick targets, import detected configs (.cursor/, .claude/, .github/copilot-instructions.md, and more), enable lessons, and optionally generate right away. Nothing is written until you finish. Use --yes for the non-interactive default, --global for your user-level config under ~/.agentsmesh/, and npx agentsmesh if you installed it as a dev dependency.
[!TIP] Commit both.agentsmesh/and the generated tool files, like a lockfile: the tools read the generated files directly, andagentsmesh checkkeeps the two from drifting.
```
agentsmesh init --lessons wires the loop once: an always-on rule in _root.md, a lessons skill where supported, recall and capture hooks on hook-capable tools, and matching MCP tools (lessons_query, lessons_add) for agents without shell access. Rules can be scoped by file, command, or keyword, or always-on with --scope always.
Full walkthrough: Teach your AI agents with lessons · agentsmesh lessons reference
Most sync tools stop at copying rule files into each assistant's folder. AgentsMesh also round-trips losslessly, rebases cross-tool links, lints before a tool would silently drop content, and lets anyone add a new tool as a plugin.
| Capability | AgentsMesh | [Ruler](https://github.com/intellectronica/ruler) | [rulesync](https://github.com/dyoshikawa/rulesync) |
|---|---|---|---|
| Generate native config for many tools | ✅ | ✅ | ✅ |
| Import existing tool config back to source | ✅ | — | ✅ |
| **Lossless round-trip** (re-import restores originals) | ✅ | — | partial |
| Convert one tool's config directly to another | ✅ | — | ✅ |
| **Automatic cross-tool link rebasing** | ✅ | — | — |
| **Lessons: a shared agent memory that learns** | ✅ | — | — |
| **Plugins: add a target without a release** | ✅ | — | — |
| Cross-target lint (warn before silent data loss) | ✅ | — | — |
| CI drift gate + git-merge recovery | ✅ | partial | partial |
| Self-serve MCP server (agent-operable config) | ✅ | — | — |
--json output + typed programmatic API | ✅ | — | partial |
<sub>Reflects the public projects as of June 2026. Sources and detail in the alternatives guide; corrections welcome.</sub>
Built to be depended on: 12,000+ tests on Linux, macOS, and Windows CI, JSON-Schema-validated configs, npm releases with provenance, and a per-file coverage floor in the test gate.
agentsmesh 是一个旨在统一 AI 编码工具配置的管理框架。它通过标准化的方式,帮助开发者在不同的 AI 助手(如 Claude、Cursor 等)之间同步和管理指令集与上下文,实现 AI 开发体验的一致性。
agentsmesh 提供了一个强大的功能矩阵,支持多种主流 AI 工具的配置转换与同步。通过内置的工具集,用户可以轻松管理不同 AI 平台的指令文件,确保开发环境在切换工具时依然保持高度的一致性。
本项目基于 Node.js 环境运行,建议使用 npm、pnpm 或 yarn 进行包管理。您可以根据项目需求,选择全局安装或将其作为开发依赖(dev dependency)安装在特定仓库中,以确保版本锁定。
您可以根据环境选择多种安装方式:支持通过 npm、pnpm 或 yarn 进行 Node.js 包管理安装;也可以使用 Homebrew 或下载独立二进制文件进行部署。如果不想安装即可试用,可以直接使用 npx agentsmesh 命令运行。
agentsmesh 支持 Linux、macOS 和 Windows。通过 `agentsmesh init` 初始化配置文件,使用 `agentsmesh generate` 生成各工具的原生配置,并利用 `agentsmesh check` 进行 CI 友好的漂移检测,确保配置的一致性。
为了确保在现有仓库中安全使用,agentsmesh 支持将已有的 `.cursor/`、`.claude/` 或 `.github/copilot-instructions.md` 等文件导入到 `.agentsmesh/` 目录中。通过 `import` 命令预览投影效果后,再执行 `generate`,实现平滑迁移。
除了 CLI 工具,agentsmesh 还作为一个类型化的 ESM 库提供 TypeScript Programmatic API。开发者可以直接在脚本、IDE 扩展、MCP 服务器或 CI 流水中调用 `generate`、`import`、`lint` 等核心能力,无需频繁调用命令行。
agentsmesh 采用高度模块化的插件机制。开发者可以通过发布独立的 npm 包来为新的 AI 编码工具增加支持,无需修改核心代码。插件在运行 `agentsmesh generate` 时会与内置目标并行工作,并完美支持 Global 模式。
高质量的开源MCP工具,提供统一的AI编码代理规则管理
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,智能代理网格 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | agentsmesh |
| 原始描述 | 开源MCP工具:One reliable canonical source for AI coding agent rules, commands, skills, MCP, 。⭐14 · TypeScript |
| Topics | ai-agentsclaude-codecodexconfig-sync |
| GitHub | https://github.com/sampleXbro/agentsmesh |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-25 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端