Skip to main content

Crate kernex_pipelines

Crate kernex_pipelines 

Source
Expand description

Topology-driven multi-agent execution engine.

Provides TOML-defined topology configuration for sequential and parallel agent chains with file-mediated handoffs, bounded corrective loops, pre/post validation, and model tier selection.

Re-exports§

pub use error::PipelineError;

Modules§

error
Per-crate error type for kernex-pipelines.

Structs§

LoadedTopology
A fully resolved topology: parsed TOML + all agent .md contents loaded.
Phase
A single phase in the pipeline.
PhaseGroup
A group of phases to be executed together.
RetryConfig
Retry configuration for corrective loop phases.
Topology
Root topology document.
TopologyMeta
Topology metadata header.
ValidationConfig
Pre-phase validation rules.

Enums§

PhaseTier
Which model tier a pipeline phase should use.
PhaseType
Phase execution behavior.
ValidationType
Validation strategies for pre-phase checks.

Functions§

load_topology
Load a topology by name from {data_dir}/topologies/{name}/.
validate_agent_name
Validate an agent name. Same rules as topology names; called before joining the name into a filesystem path to prevent traversal via malicious TOPOLOGY.toml.
validate_topology_name
Validate a topology name: alphanumeric + hyphens + underscores, max 64 chars. Rejects path traversal, shell metacharacters, empty names.