经 AI Skill Hub 精选评估,AgentSync 获评「推荐使用」。这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
用Rust开发的高性能CLI工具,专为AI代理配置跨多平台同步设计。支持MCP协议,提供快速便携的配置管理方案。适合需要统一管理多个AI代理配置的开发者和AI应用团队。
AgentSync 是一款基于 Rust 开发的开源工具,专注于 AI代理、配置同步、MCP 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
用Rust开发的高性能CLI工具,专为AI代理配置跨多平台同步设计。支持MCP协议,提供快速便携的配置管理方案。适合需要统一管理多个AI代理配置的开发者和AI应用团队。
AgentSync 是一款基于 Rust 开发的开源工具,专注于 AI代理、配置同步、MCP 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:cargo install(推荐) cargo install agentsync # 方式二:从源码编译 git clone https://github.com/dallay/agentsync cd agentsync cargo build --release # 二进制在 ./target/release/agentsync
# 查看帮助 agentsync --help # 基本运行 agentsync [options] <input> # 详细使用说明请查阅文档 # https://github.com/dallay/agentsync
# agentsync 配置说明 # 查看配置选项 agentsync --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export AGENTSYNC_CONFIG="/path/to/config.yml"
A fast, portable CLI tool for synchronizing AI agent configurations and MCP servers across multiple AI coding assistants using symbolic links. 
How AgentSync works at a glance: many AI tools expect different config locations, so AgentSync turns .agents/ into one source of truth and syncs it everywhere.
.gitignoreInstall directly from the GitHub repository (requires Node.js 22.22.0+ and Rust 1.89+):
cargo install --git https://github.com/dallay/agentsync
Or clone and build manually:
```bash git clone https://github.com/dallay/agentsync cd agentsync cargo build --release
tar xzf "${TARBALL}" sudo mv agentsync-*/agentsync /usr/local/bin/ ```
If you need agentsync in CI, you can download the latest version automatically using jq for robust parsing:
- name: Install agentsync
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Fetch latest version using GitHub API and jq
LATEST_TAG=$(curl -s -H "Authorization: Bearer $GH_TOKEN" \
https://api.github.com/repos/dallay/agentsync/releases/latest | jq -r '.tag_name')
if [ "$LATEST_TAG" == "null" ] || [ -z "$LATEST_TAG" ]; then
echo "Error: Failed to fetch latest release tag"
exit 1
fi
VERSION=${LATEST_TAG#v}
PLATFORM="x86_64-unknown-linux-gnu"
curl -LO "https://github.com/dallay/agentsync/releases/download/${LATEST_TAG}/agentsync-${VERSION}-${PLATFORM}.tar.gz"
tar xzf agentsync-${VERSION}-${PLATFORM}.tar.gz
sudo mv agentsync-*/agentsync /usr/local/bin/
agentsync skill install docker-expert
agentsync skill suggest --install --all ```
See the Skills Guide for full documentation.
This project is a monorepo containing a Rust core and a JavaScript/TypeScript wrapper.
pnpm install
cargo build
If pnpm install fails during the lefthook setup, you can try:
pnpm install --ignore-scripts
Ensure you have the latest stable Rust toolchain installed. You can update with rustup update stable.
```bash
agentsync init
agentsync apply
agentsync apply --config /path/to/config.toml
Configuration is stored in .agents/agentsync.toml:
```toml
source_dir = "."
merge_strategy = "merge"
If you have Node.js (>=18) installed, the easiest way to install AgentSync is through a package manager.
```bash
AgentSync defaults to managed .gitignore mode ([gitignore].enabled = true), which is the recommended starting point for most teams. If your team intentionally wants to commit AgentSync-managed destinations instead, treat [gitignore].enabled = false as an explicit opt-out workflow. See the canonical guide: <https://dallay.github.io/agentsync/guides/gitignore-team-workflows/>
If you run AgentSync from Windows and need native symlink prerequisites, WSL guidance, or recovery steps, use the dedicated setup guide: <https://dallay.github.io/agentsync/guides/windows-symlink-setup/>
If your team wants agentsync apply to run after branch switches, merges, or rebases, use the Git hook automation guide for Lefthook, Husky, simple-git-hooks, and native hook examples: <https://dallay.github.io/agentsync/guides/git-hook-automation/>
destination = "{relative_path}/CLAUDE.md"
type = "nested-glob"
Given the structure:
project-root/ ├── .agents/ │ └── AGENTS.md # excluded by .agents/** ├── clients/ │ └── agent-runtime/ │ └── AGENTS.md # → clients/agent-runtime/CLAUDE.md └── modules/ └── core-kmp/ └── AGENTS.md # → modules/core-kmp/CLAUDE.md ```
AgentSync would create:
clients/agent-runtime/CLAUDE.md → symlink to clients/agent-runtime/AGENTS.mdmodules/core-kmp/CLAUDE.md → symlink to modules/core-kmp/AGENTS.mdAgentSync gracefully handles CI environments where the binary isn't available:
{
"scripts": {
"agents:sync": "pnpm exec agentsync apply",
"prepare": "lefthook install && pnpm run agents:sync"
}
}
The symlinks are primarily for local development. CI builds typically don't need them.
创新的配置管理工具,Rust性能优势突出��MCP生态适配价值高,但市场认可度需提升。适合代理配置场景深度挖掘。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:AgentSync 的核心功能完整,质量良好。对于AI爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | agentsync |
| 原始描述 | 开源MCP工具:A fast, portable CLI tool for synchronizing AI agent configurations across multi。⭐41 · Rust |
| Topics | AI代理配置同步MCPCLI工具Rust |
| GitHub | https://github.com/dallay/agentsync |
| License | MIT |
| 语言 | Rust |
收录时间:2026-05-22 · 更新时间:2026-05-23 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。