Skip to main content

troupekit_graph/
lib.rs

1//! Durable workflows for Troupekit: a TOML graph of agent, tool, human,
2//! router, join and end nodes over a typed shared state, run by `GraphRun`,
3//! a serializable state machine the host steps and checkpoints, with
4//! parallel branches, human pauses, graph budgets and retries.
5
6#![doc(
7    html_logo_url = "https://raw.githubusercontent.com/ChaoticQubit/troupekit/main/assets/brand/logo-mark.svg",
8    html_favicon_url = "https://raw.githubusercontent.com/ChaoticQubit/troupekit/main/assets/brand/favicon.svg"
9)]
10
11pub mod condition;
12pub mod error;
13pub mod io;
14pub mod run;
15pub mod testing;
16pub mod workflow;
17
18pub use condition::{ConditionFn, Conditions};
19pub use error::{GraphError, WorkflowError};
20pub use io::{GraphIo, SimpleGraphIo};
21pub use run::{GraphOutcome, GraphRun, GraphStatus, HumanAsk, Stop, GRAPH_FORMAT};
22pub use workflow::{Ask, Edge, Node, NodeKind, Workflow};
23