27One agent

Todo list

The agent keeps a task list in its context and rewrites it as it works, so the goal stays in view.

Also called Task planning

Manus, Cursor, Anthropic, LangChain

rewritesrecited intoTaskAgentAgentContextTodo listContextEnd of thecontext
How to read this

The problem

Over a long run of tool calls, an agent drifts off-topic or forgets its earlier goals.

A typical task in Manus requires around 50 tool calls on average. That's a long loop—and since Manus relies on LLMs for decision-making, it's vulnerable to drifting off-topic or forgetting earlier goals, especially in long contexts or complicated tasks.
ManusContext Engineering for AI Agents: Lessons from Building Manus

Therefore

In a session that has the task-tracking tools, Claude keeps a written todo list, updating each item’s status as it works.
AnthropicTrack todos
By constantly rewriting the todo list, Manus is reciting its objectives into the end of the context.
ManusContext Engineering for AI Agents: Lessons from Building Manus
Task planning is an opt-in harness capability that lets agents maintain a structured task list during execution.
LangChainDeep Agents overview

In use

Manus

If you've worked with Manus, you've probably noticed something curious: when handling complex tasks, it tends to create a todo.md file—and update it step-by-step as the task progresses, checking off completed items.
ManusContext Engineering for AI Agents: Lessons from Building Manus

Claude Code

In a session that has the task-tracking tools, Claude creates todos for most multi-step work
AnthropicTrack todos

Cursor

Agents now plan ahead with structured to-do lists, making long-horizon tasks easier to understand and track.
CursorAgent Planning, Better Context & Faster TabJul 3, 2025

Where it breaks

Newer models track multi-step work without one, and some harnesses now leave it off by default.

Newer models track multi-step work without a written todo list
AnthropicTrack todos
Starting in v0.7 task planning is opt-in only. In earlier versions, task planning middleware was included by default.
LangChainDeep Agents overview

Sources

  1. Context Engineering for AI Agents: Lessons from Building ManusYichao 'Peak' Ji, Manus
  2. Agent Planning, Better Context & Faster TabCursor, Jul 3, 2025
  3. Track todosAnthropic
  4. Deep Agents overviewLangChain

Added Nov 14, 2026