troupekit-graph 0.3.1

Durable TOML workflows for the Troupekit agent framework: agent, tool, human, router, join and end nodes run by a checkpointable graph run.
Documentation
//! Durable workflows for Troupekit: a TOML graph of agent, tool, human,
//! router, join and end nodes over a typed shared state, run by `GraphRun`,
//! a serializable state machine the host steps and checkpoints, with
//! parallel branches, human pauses, graph budgets and retries.

#![doc(
    html_logo_url = "https://raw.githubusercontent.com/ChaoticQubit/troupekit/main/assets/brand/logo-mark.svg",
    html_favicon_url = "https://raw.githubusercontent.com/ChaoticQubit/troupekit/main/assets/brand/favicon.svg"
)]

pub mod condition;
pub mod error;
pub mod io;
pub mod run;
pub mod testing;
pub mod workflow;

pub use condition::{ConditionFn, Conditions};
pub use error::{GraphError, WorkflowError};
pub use io::{GraphIo, SimpleGraphIo};
pub use run::{GraphOutcome, GraphRun, GraphStatus, HumanAsk, Stop, GRAPH_FORMAT};
pub use workflow::{Ask, Edge, Node, NodeKind, Workflow};