agentic_workflow 0.1.0 copy "agentic_workflow: ^0.1.0" to clipboard
agentic_workflow: ^0.1.0 copied to clipboard

A graph workflow engine for the agentic framework: typed nodes, branching, parallelism, loops, human approval, budgets, validation before execution and runs that survive being killed and resumed.

Changelog #

0.1.0 #

Initial release of the workflow engine.

Added #

  • GraphWorkflowGraph validates on construction and refuses to exist in an invalid state, reporting every problem at once: missing inputs, unreachable nodes, undeclared cycles, ambiguous routes, concurrent writes to one key, and unknown edge or jump targets. Key availability is computed as an intersection over every path in, so a value written on only one branch is caught. WorkflowBuilder assembles chains and branches; toMermaid renders a diagram from the real graph.
  • Nodes — start, end, custom, transform, condition, switch, LLM, structured LLM, agent, tool, parallel, map, loop, delay, human approval and generic wait. WorkflowNode is base, so domain-specific nodes are ordinary subclasses.
  • StateWorkflowState, immutable, with declared access and a serialisability check that names the offending key.
  • EngineWorkflowEngine with per-run budgets on steps, per-node visits and wall clock; write-schema checking; failures returned with the trail rather than thrown; cancellation propagated.
  • Suspension — a run pauses into a JSON WorkflowSnapshot that survives the process, and resume restores it, keeping the original run identifier. Resume values are validated against the suspension's schema, and resuming into a changed graph is refused.
  • EventsWorkflowStarted, WorkflowNodeStarted, WorkflowNodeCompleted, WorkflowSuspended and WorkflowCompleted.
2
likes
0
points
289
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

A graph workflow engine for the agentic framework: typed nodes, branching, parallelism, loops, human approval, budgets, validation before execution and runs that survive being killed and resumed.

Repository (GitHub)
View/report issues

Topics

#ai #agents #workflow #automation #agentic

License

unknown (license)

Dependencies

agentic_agents, agentic_core, agentic_llm, agentic_tools, collection, meta

More

Packages that depend on agentic_workflow