Agent 开发框架

Agents Squads|用 Git 和 Markdown 管理的终端多智能体团队编排工具

Agents Squads

一个在终端中运行、用 Markdown 定义、以 Git 追踪状态的多智能体协作框架。

获取与使用

需要部署

按官方资料自行安装或部署

使用难度待核验
国内可用性待核验

2026-11-09 更新 · 本站尚未实测

项目介绍

Agent 开发框架 · 2026-11-09 更新 · 本站尚未实测

Agents Squads 是一个面向工程的命令行工具,目标是把“多个 AI 智能体协作完成工作”这件事落在本地文件系统上:每个智能体是一个 Markdown 文件,团队共享 SQUAD.md,状态与记忆存放在 .agents/memory/,全部由 Git 记录。README 的描述是“Run squads of AI agents from your terminal — defined in markdown, tracked in git.”,仓库同时提供 npm 包 squads-cli。

根据 README,一个 squad 包含多个不同模型、不同角色的智能体:由 lead 分配任务,worker 执行,verifier 校验输出,并把本轮反馈注入下一轮。目录约定为 .agents/ 下的 BUSINESS_BRIEF.md(业务背景)、config/SYSTEM.md(共享规则)、squads/(团队与角色定义)、memory/(策略、目标、经验、反馈)。README 声明不使用数据库、不搭建服务端、也不引入专用 DSL。

核心能力

点击能力名称查看输入、输出和原文依据。

  • 多人多角色协作:lead、worker、verifier 分工,配合反馈闭环。
  • 上下文级联:每次运行前按角色加载公司策略、团队目标、上次反馈和团队进行中的工作,角色不同加载深度不同。
  • 混合模型编队:README 称其会调用原生 AI CLI(如 claude、gemini、aider、opencode),因此可让低成本模型做扫描、推理型模型做实现、中档模型做校验。
  • 运行模式:squads run research 走完整会话(plan → work → review → verify),squads run intelligence --task "Scan X" 为有界定向任务。
  • 人工决策入口:squads inbox 汇聚等待人工批准的项,可 approve / reject / defer。
  • 状态与审计:运行结果写入 .agents/memory/ 并自动本地提交,Git 本身即审计轨迹。

实际应用场景

适用场景

适合已有 Git 工作流、希望用命令行编排多角色 AI 任务的开发者或小团队,例如研究扫描、情报整理、产品与公司级输出评审等需要“生成—校验—反馈”循环的工作。README 举例的入门路径是先跑 demo/hello-world 验证环境,再跑 research/analyst。若只需要单个对话式助手,本项目偏重,不具备明显收益。

安装与接入

README 给出的前置条件为 Node.js >= 20、Git,以及默认提供方 Claude Code(首次运行前需已安装并登录,使用 claude /login);其余提供方为可选。squads doctor 用于自检并提示缺失项。

README 给出的起步命令依次为:全局安装 squads-cli,新建并进入目录,git init(README 明确 Squads 依赖 Git 作为状态与审计),再 squads init 生成带初始 squad 的 .agents/,然后用 squads run demo hello-world 端到端验证,最后运行 squads run research/analyst。源码构建方式为克隆仓库后安装依赖、构建并 npm link、运行测试。具体命令请以 README 原文为准,逐条执行,本文不另作改写。

使用条件与限制

是否需要部署
需自行准备运行环境,具体要求见正文
是否需要注册
账号和认证要求见正文;未明确说明的项目仍待核验
是否需要 API Key
待核验
费用与额度
费用边界见正文,项目许可不代表模型或托管服务免费
所需权限
待核验
许可证与服务条款
待核验

权限费用与限制

  • 本地优先:状态与记忆默认保存在本机,开源 CLI 无需账号;使用远程模型时,所需任务上下文仍会发送到相应模型提供方,不能据此理解为全部数据不出本机。
  • 云功能状态:squads login 与 --cloud 分发入口在认证端点(SQUADS_AUTH_URL)配置前处于隐藏状态,在此之前全部功能以本地方式工作。云端是否收费、如何计费,资料未说明,待核验。
  • 遥测:README 声明遥测为匿名、仅安装级别(命令名、版本、错误类别),不采集文件内容、路径和个人数据;可通过 DO_NOT_TRACK=1 或 SQUADS_TELEMETRY_DISABLED=1 关闭。
  • 模型费用:项目开源不等于模型调用免费,所用各家模型与 CLI 的额度、计费与条款需分别向对应提供方核验。
  • 平台支持:README 未列明操作系统支持范围,Windows 等平台可用性待核验。
  • 项目状态:仓库元数据显示未归档;维护活跃度、版本稳定性未在资料中说明,待核验。

国内使用情况

网友核验 用户经验分享

与站长实测独立,不代表官方认证或本站已实测。

我要核验
0 位参与者0 份有效分项记录

最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。

分项统计、有效期与样本量
核验项目有效人数成功 / 部分 / 失败 / 无法判断成功率最近核验 / 有效期
官方网站访问00 / 0 / 0 / 0样本不足暂无 / 7 天
GitHub 仓库访问00 / 0 / 0 / 0样本不足暂无 / 7 天
安装与运行00 / 0 / 0 / 0样本不足暂无 / 30 天
官方服务国内连接 / MCP 连接00 / 0 / 0 / 0样本不足暂无 / 30 天
国内网络情况00 / 0 / 0 / 0样本不足暂无 / 7 天
国内模型兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
自定义 API00 / 0 / 0 / 0样本不足暂无 / 30 天
海外服务依赖
00 / 0 / 0 / 0样本不足暂无 / 30 天
海外账号要求
00 / 0 / 0 / 0样本不足暂无 / 30 天
中文界面
00 / 0 / 0 / 0样本不足暂无 / 30 天
客户端兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
账号及费用信息
00 / 0 / 0 / 0样本不足暂无 / 30 天

成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。

最近有效核验

暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。

查看全部有效核验 →

国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。

官方网站访问
尚未实测 待核验
GitHub 仓库访问
尚未实测 待核验
官方服务国内连接
尚未实测 待核验
国内网络情况
尚未实测 待核验
国内模型兼容性
尚未实测 待核验
自定义 API
尚未实测 待核验
海外服务依赖
尚未实测 待核验
海外账号要求
尚未实测 待核验
中文界面
尚未实测 待核验
国内最后核验时间
尚未实测

许可与国内使用

仓库根目录存在 MIT 许可证文件,README 亦标注 MIT,版权年为 2025,归属 Agents Squads。该许可是针对仓库代码;模型服务、云服务、第三方 CLI 的许可与条款不在其覆盖范围内。README 提到支持 Claude、Gemini、DeepSeek 及按智能体路由,但各提供方在境内的可访问性、账号与付款条件、网络依赖等均需自行核验,资料未作说明。官网域名存在,但不代表服务部署地域或境内可用性。

项目资料与来源

官方网站 ↗

GitHub 仓库 ↗

官方文档 ↗

字段依据与待核验事项

access:来源确认 · npm install -g squads-cli mkdir my-squads && cd my-squads git init # squads runs on git — it's the state and audit trail squads init # scaffolds .agents/ with starter squads

project_type:来源确认 · A **squad** is a team of AI agents — different models, different roles — working toward a shared goal with persistent memory.

原始 README(折叠技术参考)
<div align="center">

# Agents Squads

**Run squads of AI agents from your terminal — defined in markdown, tracked in git.**

Autonomous AI agents for engineering, marketing, finance, and operations.
You make the decisions. They do the work.

[![npm version](https://img.shields.io/npm/v/squads-cli.svg)](https://www.npmjs.com/package/squads-cli)
[![npm downloads](https://img.shields.io/npm/dw/squads-cli.svg)](https://www.npmjs.com/package/squads-cli)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Node.js](https://img.shields.io/badge/node-%3E%3D20-brightgreen.svg)](https://nodejs.org)
[![GitHub stars](https://img.shields.io/github/stars/agents-squads/squads-cli?style=social)](https://github.com/agents-squads/squads-cli)

</div>

A **squad** is a team of AI agents — different models, different roles —
working toward a shared goal with persistent memory. A lead briefs the
team, workers execute, a verifier checks the output, and feedback from
each cycle is injected into the next. Everything is a markdown file in a
git repo: no database, no server, no DSL.

```bash
npm install -g squads-cli
mkdir my-squads && cd my-squads
git init                       # squads runs on git — it's the state and audit trail
squads init                    # scaffolds .agents/ with starter squads
squads run demo hello-world    # verify your setup end to end
squads run research/analyst    # your first real agent
```

> Claude Code must be installed and logged in (`claude /login`) before the
> first run — `squads doctor` checks both and tells you exactly what's missing.

What `squads run demo hello-world` looks like — real, unedited output:

```text
  squads run Demo

- Running agent: hello-world
Hello from hello-world, squad demo — today is 2026-07-10, and this run
confirms the my-squads squads are installed and ready. 🎉

State file written to `.agents/memory/demo/hello-world/state.md` and
committed locally (`b694270`) — no remote is configured on this repo,
so no push was attempted. Setup is working.

  Auto-committed agent work
✔ Agent hello-world completed (Anthropic)
  Run completed — demo/hello-world (37.4s)
```

## How it works

```
.agents/
├── BUSINESS_BRIEF.md      # Your business context — every agent reads it
├── config/SYSTEM.md       # Immutable rules shared by all agents
├── squads/                # Identity: SQUAD.md + one .md file per agent
│   ├── intelligence/
│   ├── research/
│   ├── product/
│   └── company/           # Evaluates outputs, closes the feedback loop
└── memory/                # State: strategy, goals, learnings, feedback
```

Before every run, an agent loads a **context cascade** — company strategy,
squad goals, feedback from the last cycle, active work across the
team — tuned by role so scanners stay lightweight and leads get the full
picture. Agents that know what's been done don't duplicate work; agents
that see their own feedback stop producing noise.

Squads shells out to native AI CLIs (`claude`, `gemini`, `aider`, `opencode`, …), so
mixed-model teams work out of the box: a cheap model scans, a deep
reasoning model builds, a mid-tier model verifies.

```bash
squads run research                             # squad conversation (plan → work → review → verify)
squads run intelligence --task "Scan X"         # directed, bounded run
squads inbox                                    # everything waiting on YOUR decision — approve / reject / defer
```

## Documentation

| | |
|---|---|
| [Philosophy](docs/philosophy.md) | Why squads, why CLI-first, skills + tools |
| [Architecture](docs/architecture.md) | Context cascade, roles, phases, the feedback loop |
| [Configuration](docs/configuration.md) | Starter squads, building your own, secrets |
| [Running Agents](docs/running.md) | Execution modes, local limits, scaling |
| [Commands](docs/commands.md) | Reference for humans and for agents |
| [Providers](docs/providers.md) | Claude, Gemini, DeepSeek, and per-agent routing |

## Requirements

[Node.js](https://nodejs.org) >= 20, [Git](https://git-scm.com), and
[Claude Code](https://docs.anthropic.com/en/docs/claude-code) (default
provider — others optional). `squads doctor` checks your machine.

Runs locally by default: your machine, your API keys, your data stay
on disk. No account needed for the open-source CLI. The cloud login
(`squads login`) and `--cloud` dispatch surface is hidden until the auth
endpoint is configured (`SQUADS_AUTH_URL`); until then every feature works
locally. Telemetry is
anonymous and install-level only (command names, versions, error
classes — never file contents, paths, or personal data); opt out any
time with `DO_NOT_TRACK=1` or `SQUADS_TELEMETRY_DISABLED=1`.

## Development

```bash
git clone https://github.com/agents-squads/squads-cli.git
cd squads-cli
npm install
npm run build && npm link
npm test
```

TypeScript (strict mode), Commander.js, Vitest, tsup.

## Contributing

Contributions welcome — open an issue first to discuss changes. See
[CONTRIBUTING.md](CONTRIBUTING.md) for guidelines, and
[GitHub Discussions](https://github.com/agents-squads/squads-cli/discussions)
for questions and ideas. We'd love to see what you build — share your
squads and skills.

## License

[MIT](LICENSE)
历史前置条件说明(补充参考)

Node.js >= 20;Git;默认提供方 Claude Code(需安装并执行 claude /login);其他提供方与模型 API Key 按需自备;云登录与 --cloud 需配置 SQUADS_AUTH_URL,云功能费用待核验;各模型与 CLI 的额度与计费待向对应提供方核验;支持的操作系统范围待核验。

项目来源与清单版权许可

https://github.com/agents-squads/squads-cli

整理来源:https://github.com/slavakurilyak/awesome-ai-agents

清单版权与许可:

MIT License

Copyright (c) 2024 Slava Kurilyak

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.