PlanActReflectAgent
A self-improving agent that plans before acting, then critically evaluates its own work before deciding whether to iterate or stop.
Import path: agentflow.prebuilt.agent
Concept
Standard ReAct loops can get stuck or produce incomplete answers because there is no explicit evaluation step. The Plan→Act→Reflect pattern adds a dedicated critic that inspects all work done so far and decides: is the task finished, or should we plan again?