# klieo-flows

Multi-agent composition shapes for the klieo agent framework.

Part of the [klieo](https://crates.io/crates/klieo) Rust agent framework.

## Features

- Sequential, Parallel, Loop, and Graph composition of `Agent` implementations
- Typed I/O threading between agents in a pipeline
- Composable — flows are themselves agents and can be nested

## Usage

```toml
[dependencies]
klieo-flows = "0.38"
```

```rust
use klieo_flows::SequentialFlow;

let pipeline = SequentialFlow::new("my-pipeline")
    .step_agent(step_a)
    .step_agent(step_b)
    .step_agent(step_c);
```

Available flow types: `SequentialFlow`, `ParallelFlow`, `LoopFlow`,
`GraphFlow`, `TypedSequentialFlow`. All implement `Flow` and can be
nested freely.

## Status

`0.38.x` — pre-1.0; patch releases are backward-compatible.
See [`docs/SEMVER.md`](https://github.com/mohrimic/klieo/blob/main/docs/SEMVER.md).

## License

MIT — see [`LICENSE`](https://github.com/mohrimic/klieo/blob/main/LICENSE).
