# What is Plan-and-execute? Definition and meaning

A pattern where one step produces a plan and later steps execute and revise it.

## Definition

**Plan-and-execute**: A pattern where one step produces a plan and later steps execute and revise it.

In short: Plan first, then carry out the steps.

## When it is used

Longer tasks that benefit from an explicit plan.

## Where it fits

Plan-and-execute belongs to **Patterns** in the [Agentic AI](/topics/agentic-ai) topic. These are the other terms in the same group:

- **[ReAct loop](/glossary/react-loop)**: An agent pattern in which the model writes a thought, takes an action with a tool, observes the result and repeats.
- **[Reflection](/glossary/reflection)**: A pattern where the model reviews its output, finds mistakes and revises it before finishing.
- **[Tree-of-thoughts](/glossary/tree-of-thoughts)**: A search over multiple partial reasoning paths with evaluation and backtracking.
- **[Orchestrator-workers](/glossary/orchestrator-workers)**: One model breaks down a task dynamically and hands subtasks to workers, then combines their results.
- **[Multi-agent systems](/glossary/multi-agent-systems)**: A design in which specialized agents with separate contexts divide work and exchange results.
- **[Human-in-the-loop](/glossary/human-in-the-loop)**: Places human review at defined points of an automated workflow, especially before consequential actions.
- **[LLM-as-judge](/glossary/llm-as-judge)**: A model scores or compares responses against a rubric.
- **[Guardrails](/glossary/guardrails)**: Checks on inputs, outputs and actions that block unsafe, off-topic or malformed behaviour.

## Learn more

The full guide to **[Plan-and-execute](/tools/plan-and-execute)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [Pipeline parallelism](/glossary/pipeline-parallelism) · Next term: [Polars](/glossary/polars)
