LightAgent v0.8.0
LightAgent v0.8.0
LightAgent v0.8.0 introduces LightFlow, a lightweight workflow orchestration layer for deterministic multi-step agent execution.
Highlights
- Add
LightFlowfor 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/LightFlowStepResultoutputs. - Add flow-level trace events:
flow_start,step_start,step_end, andflow_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.