Long-Horizon Task
ELI5 - The Vibe Check
There's a big difference between 'make this button blue' and 'migrate our entire billing system to a new provider.' One is a job an agent nails in a single pass. The other takes hundreds of steps across dozens of files, and the hard part stops being any individual step and becomes simply not losing the plot over that many steps.
Real Talk
A long-horizon task is an agentic task requiring many sequential steps, tool calls, or subtask decompositions to complete, where compounding error rates, context management, and plan drift become the dominant failure modes rather than any single step's difficulty. Benchmarks increasingly measure agent capability by the task length at which success rate drops below a threshold like 50 percent, rather than by pass or fail on isolated short tasks.
When You'll Hear This
"A button color tweak is a five-second job, a billing system migration is a long-horizon task." / "Most agents fall apart somewhere past step fifty on long-horizon tasks."
Related Terms
Agent Loop
The agent loop is the heartbeat of any AI coding agent: think, act, look, repeat.
Context Rot
Context rot is when a long AI conversation has been running so long that the model is confusing old instructions with new ones, forgetting what it already...
Plan-and-Execute
Plan-and-execute is writing the full grocery list before you enter the store instead of wandering the aisles improvising item by item.
Trajectory
A trajectory is the full replay of everything an agent did to get from your prompt to its final result, not just the destination but the whole road trip: e...