SuperAPI AI 工具集

ac-autonomous-orchestrator

编程与开发

查看项目

更新于 10-15 09:59

技能介绍

用途

AC Autonomous Orchestrator 是自主编码操作的主编排器(Main orchestrator)。它用于协调所有自主编码组件,管理从初始化(initialization)到功能完成(feature completion)的完整生命周期。

适用场景包括:运行自主会话(running autonomous sessions)、协调各组件(coordinating components)、管理完整生命周期(managing the full lifecycle)等。

主要能力

作为主编排器,它负责统一协调所有 AC 技能(AC skills),实现统一操作(unified operation)。其编排流程(Orchestration Flow)包含以下阶段:

  1. INIT → 加载配置、建立会话(Load config, setup session)
  2. PLAN → 生成/加载功能列表(Generate/load feature list)
  3. EXECUTE → TDD 实现循环(TDD implementation loop)
  4. VALIDATE → QA 审查与验证(QA review and validation)
  5. COMMIT → Git 提交变更(Git commit changes)
  6. CONTINUE → 下一个功能或交接(Next feature or handoff)

使用方式

快速开始(Quick Start)示例代码:

from scripts.autonomous_orchestrator import AutonomousOrchestrator

orchestrator = AutonomousOrchestrator(project_dir)
await orchestrator.initialize(objective="Build user authentication")
result = await orchestrator.run()

完整实现请参见 scripts/autonomous_orchestrator.py(API Reference 指向该文件)。

适用场景

适用于需要以自主方式推进编码任务的场景,例如运行自主编码会话、按功能列表逐步实现并验证、在流程中自动执行 TDD 循环、进行 QA 验证以及 Git 提交,并在完成后继续下一个功能或进行交接。

限制

关于收费、价格、支持平台、具体效果等事实,资料中暂未提供。