能力标签
🔌
MCP工具

智能代理网格

基于 TypeScript · 让 AI 助手直接操作你的系统与工具
英文名:agentsmesh
⭐ 14 Stars 🍴 2 Forks 💻 TypeScript 📄 MIT 🏷 AI 8.0分
8.0AI 综合评分
ai-agentsclaude-codecodexconfig-sync
✦ AI Skill Hub 推荐

智能代理网格 是 AI Skill Hub 本期精选MCP工具之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析
智能代理网格 是一款基于 MCP(Model Context Protocol)标准协议的 AI 工具扩展。MCP 协议由 Anthropic 开发并开源,旨在建立 AI 模型与外部工具之间的标准化通信接口,目前已被 Claude Desktop、Claude Code、Cursor 等主流 AI 工具采纳。

通过安装 智能代理网格,你的 AI 助手将获得额外的工具调用能力,可以用自然语言直接操控该工具的功能,无需学习复杂的命令行语法。MCP 工具的核心价值在于"一次配置,永久增强"——配置完成后,每次与 AI 对话时都可以无缝调用这些工具。

在技术实现上,MCP 工具通过标准的 JSON-RPC 协议与 AI 客户端通信,工具的功能以"工具列表"的形式暴露给 AI 模型,AI 可以按需调用。智能代理网格 提供了结构化的工具调用接口,使 AI 模型能够精确地理解和使用每个功能点,显著降低 AI 在工具使用上的错误率。

与传统的 API 集成相比,MCP 工具的优势在于无需编写代码——用户只需在配置文件中添加几行 JSON,即可让 AI 获得全新能力。AI Skill Hub 将 智能代理网格 评为 AI 评分 8.0 分,属于同类工具中的优质选择。
📋 工具概览

智能代理网格 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

GitHub Stars
⭐ 14
开发语言
TypeScript
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
8.0 分
工具类型
MCP工具
Forks
2
📖 中文文档
以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

智能代理网格 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

📌 核心特色
  • 通过标准 MCP 协议与 Claude、Cursor 等主流 AI 客户端深度集成
  • 提供结构化工具调用接口,显著降低 AI 集成复杂度
  • 支持 Claude Desktop 和 Claude Code 无缝接入,开箱即用
  • 可与其他 MCP 工具组合叠加,构建完整 AI 工作站
  • 轻量无侵入设计,不影响现有系统架构
🎯 主要使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:通过 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
📋 安装步骤说明
  1. 确认已安装 Node.js(v18 或以上版本)
  2. 打开 Claude Desktop 或 Claude Code 的 MCP 配置文件
  3. 按「交给 Agent 安装 → Claude Desktop」标签中的 JSON 配置填入 mcpServers 字段
  4. 保存配置文件并重启 Claude 客户端
  5. 重启后,在对话中即可使用本工具
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 安装后在 Claude 对话中直接使用
# 示例:
用户: 请帮我用 智能代理网格 执行以下任务...
Claude: [自动调用 智能代理网格 MCP 工具处理请求]

# 查看可用工具列表
# 在 Claude 中输入:"列出所有可用的 MCP 工具"
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
// claude_desktop_config.json 配置示例
{
  "mcpServers": {
    "______": {
      "command": "npx",
      "args": ["-y", "agentsmesh"],
      "env": {
        // "API_KEY": "your-api-key-here"
      }
    }
  }
}

// 保存后重启 Claude Desktop 生效
📑 README 深度解析 真实文档 完整度 87/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

Supported tools — feature matrix

or as a dev dependency, pinned per repo:

npm install -D agentsmesh # npm pnpm add -D agentsmesh # pnpm yarn add -D agentsmesh # yarn

Install

Pick whichever matches your environment — every install method ships the same CLI (agentsmesh and the amsh alias) and the same TypeScript library.

or run once without installing:

npx agentsmesh --help ```

The Node-based install also exposes the typed programmatic API for scripts and CI tooling.

---

60-second quickstart

Works on Linux, macOS, and Windows. Install via Homebrew, a standalone binary, or any Node.js package manager, then:

agentsmesh init       # scaffold .agentsmesh/ + agentsmesh.yaml
agentsmesh generate   # produce native configs for every enabled tool
agentsmesh check      # CI-friendly drift gate against .agentsmesh/.lock
  • init — creates agentsmesh.yaml, agentsmesh.local.yaml, and the canonical .agentsmesh/ directory.
  • generate — writes CLAUDE.md, AGENTS.md, .cursor/, .github/copilot-instructions.md, etc. from canonical sources.
  • check — exits non-zero if generated files have drifted from .agentsmesh/.lock. Drop into CI.

If you installed via npm install -D agentsmesh (also pnpm add -D / yarn add -D), prefix each command with npx. The CLI ships as both agentsmesh and the shorter alias amsh.

---

CLI usage

agentsmesh init [--global] [--yes]
agentsmesh generate [--global] [--targets <csv>] [--check] [--dry-run] [--force] [--refresh-cache]
agentsmesh import --from <target> [--global]
agentsmesh convert --from <target> --to <target> [--global] [--dry-run]
agentsmesh diff [--global] [--targets <csv>]
agentsmesh lint [--global] [--targets <csv>]
agentsmesh watch [--global] [--targets <csv>]
agentsmesh check [--global]
agentsmesh merge [--global]
agentsmesh matrix [--global] [--targets <csv>] [--verbose]
agentsmesh install <source> [--sync] [--path <dir>] [--target <id>] [--as <kind>] [--name <id>] [--extends] [--all] [--dry-run] [--global] [--force]
agentsmesh uninstall <name>[,<name>...] [--all] [--keep-pack] [--keep-generated] [--dry-run] [--global] [--force]
agentsmesh installs list [--global]
agentsmesh plugin add|list|remove|info [--version <v>] [--id <id>]
agentsmesh target scaffold <id> [--name <displayName>] [--force]

agentsmesh --help prints the same surface; agentsmesh <cmd> --help is also supported.

Demo

A quick sample of the canonical → native projection:

agentsmesh init
find .agentsmesh -maxdepth 2 -type f      # see the canonical scaffold
agentsmesh generate
agentsmesh diff                       # preview future changes
agentsmesh check                      # CI-style drift gate

On macOS/Linux you can also run tree .agentsmesh if you have tree installed.

---

Safe adoption in an existing repository

If your repo already has .cursor/, .claude/, .github/copilot-instructions.md, or other native files, you don't have to delete them. The recommended flow imports them into .agentsmesh/ first, lets you preview the projection, and only then trusts generate.

agentsmesh import --from cursor   # or claude-code, copilot, codex-cli, gemini-cli, windsurf, amp, zed, warp, ...
agentsmesh diff                   # patch-style preview of what generate would change
agentsmesh generate               # write native configs (back) from canonical
agentsmesh check                  # add to CI to detect drift

What this gets you:

  • import reads existing tool configs and writes equivalent canonical files into .agentsmesh/ — round-trip metadata is preserved so re-import doesn't lose information.
  • diff shows the unified patch every output file would receive, so you can review before any write.
  • check reads .agentsmesh/.lock and fails the build if the canonical sources and the generated files disagree.

import --from accepts any built-in target ID listed in the Supported Tools matrix. Plugin targets are valid too.

---

Global mode (personal AI assistant config)

.agentsmesh/ at the project level is for teams. ~/.agentsmesh/ at the home level is for personal setup across every repo you touch:

agentsmesh init --global
agentsmesh import --global --from claude-code
agentsmesh generate --global   # writes ~/.claude/CLAUDE.md, ~/.cursor/, ~/.codex/, ~/.windsurf/, etc.

Every built-in target with a global layout supports global mode. Every CLI command (diff, lint, watch, check, merge, matrix) accepts --global. Global mode paths per tool →

Community packs and shared config

Install shared skills, rules, agents, and commands from any git repo:

agentsmesh install github:org/shared-config@v1.0.0
agentsmesh install --path rules --as rules github:team/standards
agentsmesh install github:team/prompts --path workflows --as commands --extends
agentsmesh install --sync       # restore all packs after clone

Packs live in .agentsmesh/packs/, track in installs.yaml, and merge into canonical config on every generate. install --extends records a linked extends: entry instead of materializing a pack; when paired with --as, the forced kind is persisted as extends[].as so flat markdown directories continue to load as commands, agents, rules, or skills during later generate runs. Anthropic-style skill packs (root skills/, agents/, references/, .claude/commands/, …) are auto-detected by a multi-signal classifier and imported as a bulk set in a single command — no --as needed. The discriminator is strict enough that legacy tool-native and canonical-agentsmesh repos still take their original code paths (verified by 5 backcompat fixtures).

List and remove installed packs:

agentsmesh installs list                       # NAME / SOURCE / FEATURES / INSTALLED table
agentsmesh uninstall <name>                    # rm pack dir, drop installs.yaml/extends entry, clean generated outputs
agentsmesh uninstall --all                     # sweep every install in this scope
agentsmesh uninstall <name> --keep-pack        # only drop yaml entries; leave .agentsmesh/packs/<name>/ on disk
agentsmesh uninstall <name> --keep-generated   # skip the final generate; emit a warning about stale target files
agentsmesh uninstall <name> --dry-run          # preview; no writes

Each install writes .agentsmesh-install-manifest.json next to the pack with per-file sha256 hashes; uninstall compares current contents against that manifest and prompts before deleting locally-modified files. --force accepts the documented defaults (bulk = accept all, broken-link = leave-with-warnings, modified = delete-anyway). .agentsmesh/.install.lock serialises install/uninstall so concurrent runs on the same project fail fast rather than racing on disk.

Schema-validated configs (IDE autocomplete)

Every config file ships with a generated JSON Schema, so VS Code, JetBrains, and other editors give you autocomplete and validation out of the box:

Config fileJSON Schema
agentsmesh.yaml / .local.yamlnode_modules/agentsmesh/schemas/agentsmesh.json
.agentsmesh/hooks.yamlschemas/hooks.json
.agentsmesh/permissions.yamlschemas/permissions.json
.agentsmesh/mcp.jsonschemas/mcp.json
.agentsmesh/packs/*/pack.jsonschemas/pack.json

agentsmesh init writes the appropriate # yaml-language-server: $schema=... directive (or $schema field for JSON) into each canonical file, so editors pick up validation immediately.

Environment variables

VariableDefaultDescription
AGENTSMESH_GITHUB_TOKENGitHub personal access token for private repo installs and extends.
AGENTSMESH_CACHE~/.agentsmeshcacheOverride the remote-extends / tarball cache directory.
AGENTSMESH_MAX_TARBALL_MB500Maximum GitHub tarball size in MiB the install command will accept. Allowed range: 14096. Increase this when installing from large monorepos.
AGENTSMESH_STRICT_PLUGINS0When set to 1, a failed plugin descriptor import fails the build instead of warning-and-skip. Useful in CI where a missing plugin target is a regression.

---

TypeScript / Programmatic API

AgentsMesh is also importable as a typed ESM library, so you can drive every CLI capability — generate, import, lint, diff, check — from scripts, IDE extensions, MCP servers, or CI without spawning the CLI. Public entrypoints: agentsmesh (full surface), agentsmesh/engine, agentsmesh/canonical, agentsmesh/targets.

loadProjectContext() mirrors what the CLI does on startup: resolves config, applies local overrides, loads plugins, materializes extends and installed packs, and reads the canonical directory. The result is a single context value you can pass to generate, lint, or diff — the same surface the CLI uses.

import {
  loadProjectContext,
  generate,
  lint,
  diff,
  check,
  importFrom,
  registerTargetDescriptor,
  type GenerateResult,
  type LintResult,
  type LockSyncReport,
  type TargetDescriptor,
} from 'agentsmesh';

// CLI-parity generate pattern: config, plugins, extends, packs, then generation.
const project = await loadProjectContext(process.cwd());
const results: GenerateResult[] = await generate(project);

// Lint — pure, returns structured diagnostics + hasErrors.
const lintResult: LintResult = await lint(project);

// Diff — runs generate internally, returns unified diffs + summary.
const { diffs, summary } = await diff(project);

// Check — lock-file vs current canonical drift report.
const drift: LockSyncReport = await check({
  config: project.config,
  configDir: project.configDir,
  canonicalDir: project.canonicalDir,
});

// Import a built-in or registered plugin target back into canonical form.
await importFrom('claude-code', { root: process.cwd() });

// Register a custom target descriptor at runtime (same shape plugins ship).
const myDescriptor: TargetDescriptor = /* ... */;
registerTargetDescriptor(myDescriptor);

Subpath imports are available when you want narrower bundles:

import { generate, lint, diff, check, loadProjectContext } from 'agentsmesh/engine';
import { loadCanonical, loadCanonicalFiles } from 'agentsmesh/canonical';
import { getAllDescriptors } from 'agentsmesh/targets';

Every public symbol resolves to a real .d.ts under strict TypeScript. Full reference in the programmatic API docs — entrypoint table, every function signature, the typed error taxonomy, and the canonical/target type lists. ESM-only; requires Node.js 20+.

---

Plugins for new AI coding tools

Ship new target support as a standalone npm package — no fork, no core PR:

agentsmesh plugin add agentsmesh-target-my-tool
agentsmesh generate            # plugin targets run alongside built-ins
agentsmesh generate --global   # global mode works for plugins too

Plugins have full parity with built-in targets: project + global layouts, feature conversions, scoped settings, per-feature lint hooks, and hook post-processing. By default a failed plugin import logs a warning and is skipped; set strict: true on the plugin entry or run AGENTSMESH_STRICT_PLUGINS=1 agentsmesh generate to fail the build instead — useful in CI where a missing target is a real regression. Build a plugin →

🇨🇳 中文文档镜像 AI 翻译 2026-05-26
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

agentsmesh 是一个旨在统一 AI 编码工具配置的管理框架。它通过标准化的方式,帮助开发者在不同的 AI 助手(如 Claude、Cursor 等)之间同步和管理指令集与上下文,实现 AI 开发体验的一致性。

⚡ 功能介绍

agentsmesh 提供了一个强大的功能矩阵,支持多种主流 AI 工具的配置转换与同步。通过内置的工具集,用户可以轻松管理不同 AI 平台的指令文件,确保开发环境在切换工具时依然保持高度的一致性。

📋 环境依赖

本项目基于 Node.js 环境运行,建议使用 npm、pnpm 或 yarn 进行包管理。您可以根据项目需求,选择全局安装或将其作为开发依赖(dev dependency)安装在特定仓库中,以确保版本锁定。

🛠 安装步骤(Docker/pip/源码)

您可以根据环境选择多种安装方式:支持通过 npm、pnpm 或 yarn 进行 Node.js 包管理安装;也可以使用 Homebrew 或下载独立二进制文件进行部署。如果不想安装即可试用,可以直接使用 npx agentsmesh 命令运行。

🚀 使用教程

agentsmesh 支持 Linux、macOS 和 Windows。通过 `agentsmesh init` 初始化配置文件,使用 `agentsmesh generate` 生成各工具的原生配置,并利用 `agentsmesh check` 进行 CI 友好的漂移检测,确保配置的一致性。

⚙️ 配置说明(含 MCP / env)

为了确保在现有仓库中安全使用,agentsmesh 支持将已有的 `.cursor/`、`.claude/` 或 `.github/copilot-instructions.md` 等文件导入到 `.agentsmesh/` 目录中。通过 `import` 命令预览投影效果后,再执行 `generate`,实现平滑迁移。

🔌 API 说明

除了 CLI 工具,agentsmesh 还作为一个类型化的 ESM 库提供 TypeScript Programmatic API。开发者可以直接在脚本、IDE 扩展、MCP 服务器或 CI 流水中调用 `generate`、`import`、`lint` 等核心能力,无需频繁调用命令行。

🔄 工作流/模块

agentsmesh 采用高度模块化的插件机制。开发者可以通过发布独立的 npm 包来为新的 AI 编码工具增加支持,无需修改核心代码。插件在运行 `agentsmesh generate` 时会与内置目标并行工作,并完美支持 Global 模式。

🎯 aiskill88 AI 点评 A 级 2026-05-25

高质量的开源MCP工具,提供统一的AI编码代理规则管理

📚 实用指南(长尾问题)
适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
部署方案
  • CLI:直接 npm install -g / pip install,命令行调用
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
agentsmesh 中文教程agentsmesh 安装报错怎么办agentsmesh MCP 配置agentsmesh Agent 工作流agentsmesh 与同类工具对比agentsmesh 最佳实践agentsmesh 适合谁用
⚡ 核心功能
👥 适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
⭐ 最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
👥 适合人群
Claude Desktop / Claude Code 用户AI 工具开发者需要扩展 AI 能力的专业人士自动化工程师
🎯 使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
⚖️ 优点与不足
✅ 优点
  • +MIT 协议,可免费商用
  • +标准化 MCP 协议,生态互联性强
  • +与 Claude 官方生态无缝对接
  • +即插即用,配置简单快捷
⚠️ 不足
  • 依赖 Claude 客户端,非 Claude 用户无法使用
  • MCP 协议仍在持续演进,接口可能变更
  • 需要一定的配置步骤
⚠️ 使用须知

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

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

📄 License 说明

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

🔗 相关工具推荐
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合
❓ 常见问题 FAQ
agentsmesh 是一款TypeScript开发的AI辅助工具。开源MCP工具:One reliable canonical source for AI coding agent rules, commands, skills, MCP, 。⭐14 · TypeScript 主要应用场景包括:AI编码代理规则管理。
💡 AI Skill Hub 点评

经综合评估,智能代理网格 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ MIT 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 智能代理网格
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 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
🔗 原始来源
🐙 GitHub 仓库  https://github.com/sampleXbro/agentsmesh 🌐 官方网站  https://samplexbro.github.io/agentsmesh/

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