agentic-reasoning-techniques
Skill4 starsChanged 5 months agoMITView on GitHub
Structured methods that make an agent's internal problem-solving explicit and allocate more inference-time 'thinking' to hard problems: Chain-of-Thought (stepwise), Tree-of-Thought (explore/backtrack across strategies), Self-Correction, ReAct (interleave reasoning with tool actions), and Chain-of-Debate (multi-agent). Use when a problem is too complex for a single pass and showing the work matters.
In this repository21 other files it gives its agents.
- agentic-evaluation-monitoringSkill
- agentic-exception-handlingSkill
- agentic-exploration-discoverySkill
- agentic-goal-setting-monitoringSkill
- agentic-guardrails-safetySkill
- agentic-human-in-the-loopSkill
- agentic-inter-agent-communicationSkill
- agentic-knowledge-retrievalSkill
- agentic-learning-adaptationSkill
- agentic-mcpSkill
- agentic-memory-managementSkill
- agentic-multi-agentSkill
- agentic-parallelizationSkill
- agentic-pattern-selectorSkill
- agentic-planningSkill
- agentic-prioritizationSkill
- agentic-prompt-chainingSkill
- agentic-reflectionSkill
- agentic-resource-aware-optimizationSkill
- agentic-routingSkill
- agentic-tool-useSkill
The file
Files
Reasoning Techniques
Agentic Design Pattern 17 of 21 — distilled from Antonio Gulli, Agentic Design Patterns: A Hands-On Guide to Building Intelligent Systems (Ch. 17).
What it is. Apply a structured reasoning method matched to the problem: CoT to break it into steps, ToT/self-correction to deliberate across and backtrack between strategies, and ReAct to interleave reasoning with tool calls in a thought-action-observation loop.
Reach for this when
- A problem is too complex for a single-pass answer
- It needs decomposition, multi-step logic, or strategic planning
- Reasoning must interleave with external tools/data (ReAct)
- Showing the reasoning ('the work') matters as much as the answer
Don't reach for this when
- Simple lookups where reasoning just adds cost and latency
- Verbose reasoning doesn't measurably improve accuracy
- The task is better solved directly by tools or retrieval
Shape of the solution
Match technique to task: CoT for an explicit stepwise plan, Tree-of-Thought and self-correction to evaluate multiple strategies and backtrack, ReAct to establish the thought-action-observation loop with tools, and Chain-of-Debate for multiple agents to reason together. More allocated inference time generally raises quality on hard problems — budget it deliberately.
Common failure modes
- Rationalized but wrong answers
- Cost blowup from excessive 'thinking'
- Overthinking trivial tasks
Composes with
agentic-tool-use— the 'act' half of ReActagentic-reflection— critique and refine reasoningagentic-planning— higher-level decompositionagentic-multi-agent— Chain-of-Debate
Selection signals live in this skill's description (used for auto-triggering). To choose among all 21 patterns, see agentic-pattern-selector. Conceptual source: Antonio Gulli, Agentic Design Patterns: A Hands-On Guide to Building Intelligent Systems, Ch. 17 — original distillation from the text, not reproduced prose, code, or figures.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

