AS AgentScopeAPI 手册 / API Reference
规划与工作流Planning & workflows · 单元Unit 08

规划与流水线:把复杂目标拆成可靠步骤Planning and pipelines: turn complex goals into reliable steps

固定流程用流水线,需要人工审批和状态机用 SOP。学完本单元,你能为任务选择正确编排方式,并保证每一步可重放、可观测、可终止。Use pipelines for fixed flows and SOPs for state machines with human approval. After this unit you can choose the right orchestration and keep every step replayable, observable and bounded.

10 道题questions 5 张概念卡concept cards 1 个相关事故related incidents

学习目标Learning goals

  • 区分 Pipeline、TeamPipeline、GoalPipeline 与 SOP 的适用场景Choose between Pipeline, TeamPipeline, GoalPipeline and SOP
  • 为每个步骤定义输入输出契约Define input/output contracts for each step
  • 设置预算、终止条件与失败恢复策略Set budgets, termination conditions and recovery strategies

概念闪卡Concept cards

点击卡片翻面查看解释。Click a card to flip it and reveal the explanation.

关键 APIKey APIs

点击进入对应的 Python 或 Java 参考页。Open the exact Python or Java reference for each type.

问题巩固Check yourself

完成 10 道题;答错会自动进入错题本。Answer all ten questions. Wrong answers are added to your wrong-answer book automatically.

01Python 中流水线的公共协议是?What is the common Python pipeline protocol?
02把多个团队成员组织成固定协作流程使用?Which pipeline composes team members into a fixed collaboration flow?
03目标明确但步骤可动态调整时使用?Which pipeline fits a clear goal with adjustable steps?
04需要状态机、验证和人工审批的标准作业程序使用?Which engine runs standard operating procedures with state machines, verification and human approval?
05SOP 中执行具体动作的单元是?What unit performs a concrete action in an SOP?
06流水线与 SOP 的核心区别是?What is the core difference between a pipeline and an SOP?
07每个步骤必须具备什么才能失败后重放?What does each step need to be replayable after failure?
08规划类任务必须设置什么?What must planning tasks define?
09Java 中把子智能体包装为可调用工具的类是?Which Java class wraps a subagent as a callable tool?
10编排步骤应记录哪些可观测信息?Which observability data should orchestration record?

接着看的生产事故Production incidents to read next

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.