swink-agent-patterns 0.9.0

Multi-agent pipeline patterns for swink-agent
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# AGENTS.md — swink-agent-patterns

## Scope

`patterns/` — Composable multi-agent pipeline primitives: sequential, parallel, loop. Feature-gated behind `pipelines` (default-enabled).

## Key Facts

- `Pipeline` → sequence of steps, each backed by `AgentFactory`. `PipelineExecutor` drives execution, emits `PipelineEvent`.
- `PipelineRegistry` — named collection. `PipelineTool` exposes a pipeline as `AgentTool`.
- `ExitCondition` — regex or custom predicate for loop termination. `MergeStrategy` for parallel output combination.
- `parallel.rs` must convert branch panics and silent exits into `PipelineError::StepFailed` — never `expect()` missing results.