AS AgentScopeAPI 手册 / API Reference
包package agentscope.sop

agentscope.sop

module agentscope.sop

agentscope.sop 属于规划与工作流,目标分解、SOP 与流水线。 该包共收录 9 个公开类型。

A :class:SOP says which steps there are and what each must prove; how a step gets there is its own business. :class:SOPEngine walks them, routes answers to whichever one parked, and records verdicts in a :class:SOPRunState that outlives the process.

A definition holds no run state, so one can drive any number of runs.

源码Source agentscope/sop/__init__.py:1

类Classes

AgentLike
类class
智能体 Like,把复杂任务拆分为可执行步骤并驱动流程。
What a step needs of whatever does its work or judges it.
SOP
类class
SOP,把复杂任务拆分为可执行步骤并驱动流程。
A fixed sequence of milestones, each verified before the next.
SOPEngine
类class
SOP 引擎,把复杂任务拆分为可执行步骤并驱动流程。
One run of a :class:`~._schema.SOP`, shaped like an agent.
SOPPhase
类class
SOP 阶段,把复杂任务拆分为可执行步骤并驱动流程。
Where a step, or a whole run, stands.
SOPRunState
类class
SOP 运行状态,把复杂任务拆分为可执行步骤并驱动流程。
One execution of a SOP, and the whole of what is worth saving.
SOPStep
类class
SOP 步骤,把复杂任务拆分为可执行步骤并驱动流程。
The usual shape: someone does the work, someone else judges it.
SOPStepBase
类class
SOP 步骤基类,把复杂任务拆分为可执行步骤并驱动流程。
One milestone: a name, what it must prove, and how many tries.
SOPStepRunState
类class
SOP 步骤运行状态,把复杂任务拆分为可执行步骤并驱动流程。
What one step did in one run.
VerificationResult
类class
Verification 结果,把复杂任务拆分为可执行步骤并驱动流程。
One settled verdict on one attempt.
基于官方固定版本源码静态生成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.