Loading patternsโฆ
Least-to-Most Prompting(LtM)
Progressive problem decomposition from simple to complex components
In 30 seconds
- What
- Solves complex problems by first solving simpler versions, then progressively adding constraints or complexity to reach the full solution.
- When to use
- Multi-step problems where each step builds on prior results and simpler cases reveal patterns applicable to harder ones.
- Watch out
- Early mistakes in simple cases compound through all subsequent steps, making the final answer wrong despite correct later reasoning.
Ask the AI expert about this pattern
Opens the assistant with your question prefilled. You review it before sending.
Least-to-Most Prompting: Overview
Progressive problem decomposition from simple to complex components
- Hierarchical problem breakdown
- Bottom-up solution building
- Progressive complexity handling
- Builds on simpler solutions
- Reduces cognitive load
- Systematic approach to complex problems
The Agent Architect
One pattern, one tradeoff, one production failure story. A short weekly briefing for people building agentic systems.
Weekly email, one-click unsubscribe. We only use your address to send the briefing.
References
The papers, specifications, and repositories this pattern is based on.
- Least-to-Most Prompting Enables Complex Reasoning in Large Language Models (Zhou et al., 2022)arXiv:2205.10625
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models (Wei et al., 2022)arXiv:2201.11903
- Decomposed Prompting: A Modular Approach for Solving Complex Tasks (Khot et al., 2022)arXiv:2210.02406
- Maieutic Prompting: Logically Consistent Reasoning (Jung et al., 2022)arXiv:2205.11822
From the engineer behind this catalog
Get your agent architecture reviewed
This page documents one pattern. Your system runs dozens, and most failures live in how they fit together. Have the whole design reviewed against the 288 patterns in this catalog: architecture, reliability, evaluation and cost, every finding mapped to the pattern that fixes it.
โฌ750 instead of โฌ1,500, one week, written report and walkthrough call, until 30 September