Autonomous agents lose track of decisions in long tasks.
Memory-guided prompting instructs the agent to maintain a dedicated `<memory>` block in its output where it logs completed steps, current findings, and next actions, passing this log contextually across sessions.