百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

agentflow

> 编程语言
开源

以图形方式编程来协调数千个代理和利器

1.4K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

以图形方式编程来协调数千个代理和利器

AgentFlow

在依赖图中对 Codex、Claude、Kimi 和 Pi 代理进行编排,支持并行扩散、迭代循环和在本地 Docker、SSH、EC2 或 ECS 目标上执行。 已编写的演员节点、明确的代理配置文件、可保证凭证安全的 Docker 准备 Harbor Terminus 2 适配器在文档中进行了描述 角色和配置文件。

  • 94 个节点的工作流: 计划 → 64 个工作节点 → 8 个批量合并 → 16 个审阅 → 4 个审阅合并 → 合成*

安装/升级

一行:

bash
curl -fsSL https://raw.githubusercontent.com/shouc/agentflow/master/install.sh | bash

此操作将安装 agentflow,将其添加到 PATH 中,并为 Codex 和 Claude Code 安装技能。 或者手动:

bash
python3 -m venv .venv && . .venv/bin/activate
pip install -e .[dev]

快速入门

python
from agentflow import Graph, codex, claude

with Graph("my-pipeline", concurrency=3) as g:
    plan = codex(task_id="plan", prompt="Inspect the repo and plan the work.", tools="read_only")
    impl = claude(task_id="impl", prompt="Implement the plan:\n{{ nodes.plan.output }}", tools="read_write")
    review = codex(task_id="review", prompt="Review:\n{{ nodes.impl.output }}")
    plan >> impl >> review

print(g.to_json())
bash
agentflow run pipeline.py --output summary

或者直接向 Codex 询问 (agentflow 技能会自动安装):

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言