pipelin3r
Pipeline orchestration for LLM-powered workflows.
Installation
Quick Start
use ;
use Duration;
let executor = with_defaults?
.with_default_auth
.with_default_provider;
let result = executor
.agent
.model
.timeout
.prompt
.execute
.await?;
result.require_success?;
println!;
Batch execution with bounded concurrency
use ;
let items = vec!;
let results = executor
.agent
.model
.items // concurrency = 2
.for_each
.execute
.await?;
Features
- Agent builder -- single invocation or batch with bounded concurrency via
run_pool - Per-invocation auth injection -- OAuth, API key, or environment variable authentication
- Injection-safe template filler -- two-phase, single-pass content replacement
- Model/Provider enums -- TOML-configurable model ID resolution per provider
- Bundle management -- local temp dirs or remote upload/download for file transfer
- Shell command execution -- run shell commands as pipeline steps
- File transform -- pure Rust functions on file data
- Dry-run capture mode -- write prompts and task YAML to disk for testing without HTTP calls
- Typed errors --
PipelineErrorenum (noanyhow)
License
MIT