商业产业 Hacker News Agent 2026-10-22T12:07 正文 ok 238 words

开源项目 agent-marketplace 发布:跨 8 款 AI 编程工具的统一配置与资源管理方案

英文标题:🔶 Show HN: agent-marketplace

开发者 AlexanderGrooff 在 Hacker News 上推出了开源工具 agent-marketplace,旨在统一管理不同 AI 编程 Agent 的资源与配置。该工具支持编写一次资源即可自动编译适配 Claude Code、Cursor、Windsurf 等 8 款主流工具,并通过四层配置合并机制兼顾团队规范与个人偏好。同时,它具备幂等的同步机制与严格的版本锁定设计,防止自动化流程发生静默冲突或非预期破坏。这一方案有效降低了团队被单一 AI 工具生态绑定的迁移成本,为跨平台 AI Agent 工具链的规范化协作提供了实用解法。
打开原文相关 3 · 机会 1
media27.9 KB media26.5 KB media43.1 KB

中文

你的配置文件会列出你所需的资源以及所使用的工具。只需运行 agent-marketplace sync,该工具就会从 Git 仓库或市场服务中读取配置,根据锁定的版本核对文件,并将它们写入对应位置。

连续运行两次 sync,第二次不会执行任何多余操作,因此在脚本或 CI 流水线中运行非常安全。它只更新自己管理的文件,其他文件一概保持原样。如果文件名与你自己编写的内容发生冲突,该工具会直接报错提示,而不是覆盖你的工作。

版本更新与同步故意进行了拆分设计。sync 只会安装你锁定的版本,确保环境在多次运行之间不会产生意外漂移。当你需要升级到更新的版本时,运行 update 并按需主动推进版本锁定即可。

配置设置跨越四个层级进行合并:你的组织、你的机器、你当前所在的仓库以及你的本地个性化覆盖。平台工程团队可以在中心统一设定基准,项目负责人为各自的代码库补充上下文,而每位开发者也能保留个人偏好。各方在各自的范围内独立控制,互不冲突与干扰。

编写一次资源,即可编译适配八款工具:Claude Code、Codex、Cursor、Devin CLI、Factory Droid、Gemini CLI、Opencode 以及 Windsurf。当前 AI 领域变化迅速,若将团队的工作流死死绑定在单一厂商的专有格式上,未来必将付出高昂代价。当目标工具不支持某项设置时,编译器会主动提示报错,而不是生成一个悄然失效的配置文件。

English / 原文

Your configuration file lists the resources you want and the tools you use. Run agent-marketplace sync , and the tool reads from a Git repository or a marketplace service, checks the files against a pinned version, and writes them into place.

Running sync twice does nothing the second time, so it's safe in a script or a CI pipeline. It updates the files it manages and leaves everything else alone. If a name clashes with something you wrote yourself, the tool reports it rather than overwriting your work.

Version updates stay separate from syncing on purpose. A sync installs the versions you pinned, so your setup doesn't shift under you between runs. When you want newer versions, run update and move the pins deliberately.

Settings merge across four layers: your organization, your machine, the repository you're in, and your own local overrides. Platform engineering teams set the baseline centrally, project owners add the context for their codebase, and individual developers keep their personal preferences. Each group controls its own scope without stepping on the others.

Write a resource once and it compiles for eight tools: Claude Code, Codex, Cursor, Devin CLI, Factory Droid, Gemini CLI, Opencode, and Windsurf. The AI landscape moves quickly, and locking your team's workflows to one vendor's format is a cost you pay later. Where a target tool can't support a setting, the compiler says so instead of writing a file that fails quietly.