Docs / Reflection

Reflection

Agent reflection

Add reflection prompts to catch erroneous reasoning and correct course before finalizing outputs.

Measure the impact of reflection loops on quality metrics across experiments to validate effectiveness.

Tune timing and frequency of reflections to balance cost with gains in reliability.

Log reflection decisions in traces to audit and debug behavior in production.

Outcomes