动态工作流:统一多种Agent模式的元编排方法

Dynamic workflows are a generalization of harnesses, automations, loops, routing, and graphs. It's...

精选理由

作者分享了动态工作流如何统一多种Agent模式,支持LLM委员会、动态路由等,很有启发性。

AI 摘要

动态工作流是一种元编排方法,可统一Agent的多种执行模式(如自动化、循环、路由、图结构)。该功能由开发者基于Claude Code团队的启发构建,并泛化到多个后端(Claude、Codex、Pi、Hermes等)。支持LLM委员会模式(多模型协作规划)、动态路由(按成本/智能度分配任务)、裁判+执行者模式以及长任务代码审查。尤其适用于AI编辑、内容创作等需要多Agent团队协作的创意任务。

图片来源 · elvis
原文 · elvis

Dynamic workflows are a generalization of harnesses, automations, loops, routing, and graphs. It's...

Dynamic workflows are a generalization of harnesses, automations, loops, routing, and graphs. It's the most powerful feature I have built into my agent orchestrator. Supports all kinds of patterns that leverage different agent backends (claude, codex, pi, hermes,...). It's a meta-harness approach that unlocks new forms of test-time compute. Example of use cases it supports: > LLM councils to get different perspectives from LLMs or plan more intensively > Dynamically routing tasks to different agents based on needs (e.g., cost efficiency and optimal intelligence) > Advisor/Judge + executor workflows and pretty much any complex graph-based pattern required by the task. I find it especially useful for long-running work and code reviewing. > Agent teams that talk to each other if needed for the task. I like to use this for AI editing, artifact creation, and other creative tasks. And I am sure it supports so many things that I haven't discovered yet. I got inspired by the dynamic workflow feature released by the Claude Code team. I had actually built it earlier this year but wanted to generalize it across different agent backends. I think this is going to become more popular in the coming days. I will share more of my findings soon. Your browser does not support the video tag. 🔗 View on Twitter 💬 5 🔄 2 ❤️ 20 👀 2141 📊 8 ⚡