The pipeline module is experimental. Its interfaces may change in later releases.
Interface
PipelineProtocol names one capability: take inputs, stream events.
PipelineProtocol
Agent already satisfies it, an agent being a pipeline of one. So a pipeline goes wherever an agent goes:
Accepting either
launch_console in the console was widened this way, so a developer can hand a pipeline straight to the terminal.
Implementations
AgentScope ships one pipeline so far:Further Reading
Goal Pipeline
Keep an executor working until a verifier accepts the result.
Console
Run a pipeline in the terminal and answer its authorization prompts.
Planning
Let the model keep its own task list, which pipelines complement.
Human in the Loop
Authorize tools and resume after an interruption on a single agent.