Skip to content

LightAgent v0.8.0

Choose a tag to compare

@wxai-space wxai-space released this 05 Jun 10:15
73497b3

LightAgent v0.8.0

LightAgent v0.8.0 introduces LightFlow, a lightweight workflow orchestration layer for deterministic multi-step agent execution.

Highlights

  • Add LightFlow for chaining multiple agents into explicit workflow steps.
  • Support DAG-style step dependencies and automatic dependency output passing.
  • Add custom step query callables for precise prompt construction.
  • Add step-level retries and structured LightFlowResult / LightFlowStepResult outputs.
  • Add flow-level trace events: flow_start, step_start, step_end, and flow_end.
  • Add LightFlow documentation and example/10.lightflow.py.

Compatibility

  • Existing LightAgent.run() behavior remains unchanged.
  • LightFlow v0.8.0 focuses on non-streaming deterministic workflows. Durable execution, manual approval nodes, and resume support remain future roadmap items.

Tests

  • CI passed on Python 3.10, 3.11, and 3.12.
  • Added focused LightFlow tests for dependency execution, callable step queries, retries, failure handling, cycle detection, and result formats.