# Long-Horizon Tasks

- **Canonical URL:** https://getaimath.com/dictionary/long-horizon-tasks/
- **Topics:** [AI Agents & Agentic AI](https://getaimath.com/dictionary/category/ai-agents-and-agentic-ai/)
- **Last updated:** 2026-11-25

## What is Long-Horizon Tasks?

**In one sentence:** Long-horizon tasks are jobs that take many steps or a long time to complete, such as hours of work.

They require planning, memory and recovering from mistakes along the way. They are much harder for AI than single questions.

![Chatbot vs. AI Agent: Giving Advice vs. Doing the Chore — Simple cartoon comparing a Chatbot (gives you a recipe and stops) with an AI Agent (plans steps, uses tools like your calendar and browser, checks if it worked, and finishes the job).](https://getaimath.com/diagrams/ai-agents-and-agentic-ai.png)
*Napkin Diagram (AI Agents & Agentic AI): A regular chatbot just talks back; an AI agent has hands (tools) and loops until the chore is actually finished.*

## What is an example of Long-Horizon Tasks?

Building a complete small app from scratch is a long-horizon task.

## Why does Long-Horizon Tasks matter?

Handling long-horizon tasks is a key milestone for useful AI agents.

## Related Concepts

- [Agent Reliability](https://getaimath.com/dictionary/agent-reliability/): Agent reliability is how consistently an agent completes tasks correctly without failing, getting stuck or causing problems.
- [State Machine](https://getaimath.com/dictionary/state-machine/): A state machine is a system that is always in one of a set of states and moves between them based on rules.
- [Agent Evaluation](https://getaimath.com/dictionary/agent-evaluation/): Agent evaluation is testing how well AI agents complete tasks, how reliably and how safely.
- [Workflow Automation](https://getaimath.com/dictionary/workflow-automation/): Workflow automation is using software, often with AI, to complete repeated multi-step processes automatically.
- [Guardrails](https://getaimath.com/dictionary/guardrails/): Guardrails are rules and checks that keep an AI system's behavior safe, appropriate and on-task.
- [Human-in-the-Loop](https://getaimath.com/dictionary/human-in-the-loop/): Human-in-the-loop means a person checks, approves or corrects an AI's work at important steps.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/long-horizon-tasks/)
