Nexus Learn

Log in · Create free account

Module 3: Memory and planning · 8 min

Reflection and self-checks

Agents improve when they check their own work. After a draft or an action, ask the model (or a second model) to review it against a checklist and fix problems.

  • Code agents can run the tests and read the failures.
  • Writing agents can check length, tone and facts against sources.
  • Data agents can check totals and row counts.
  • Limit retries, for example 3 attempts, then ask a human.

Real checks such as tests and calculations are stronger than the model simply saying 'looks good to me'.

(free account needed to save progress)

← Planning and the ReAct pattern  |  Five workflow patterns →