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

A typed graph engine for agent workflows: validation before execution, branching, parallelism, loops, budgets, human approval and resumable runs.

Changelog #

0.1.1 #

  • Shortened the package description to the 60-180 character window pana scores against. Search engines truncate anything longer, so the ten points it withheld were pointing at a real defect: the useful half of the sentence was never being shown.

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
160
points
134
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A typed graph engine for agent workflows: validation before execution, branching, parallelism, loops, budgets, human approval and resumable runs.

Repository (GitHub)
View/report issues
Contributing

Topics

#ai #agents #workflow #automation #agentic

License

MIT (license)

Dependencies

agentic_agents, agentic_core, agentic_llm, agentic_tools, collection, meta

More

Packages that depend on agentic_workflow