Chapter 5 - Layer 1: Prefrontal Cortex (Reasoning + Metacognition)
Loop Engineering by Fabio Correa, the Applied AI foundation volume on working with AI through framing, feedback, verification, memory, and human judgment.
Last updated 2026-10-25. Review the vendor-neutral primary sources behind Chapter 5.
The question this chapter takes up
What would it take for a system to deliberate about its own work, and to know when it is guessing?
Put it to work
Use the vendor documentation linked below to compare two systems by visibility, thinking controls, cost, and faithfulness caveats before choosing a reasoning posture.
Key sources
Chapter 5 cites in the print book: D4, D7, D21, D26, D27, D31, D36, D53, D54, D55, D56. Entries below are the sources this page draws on; some are related literature cited elsewhere in the book rather than in this chapter.
- D4 - OpenAI. (2024). Learning to reason with LLMs. openai.com/index/learning-to-reason-with-llms/
- D7 - DeepSeek-AI et al. (2025). DeepSeek-R1. arxiv.org/abs/2501.12948
- D21 - Anthropic. (2025). Claude's extended thinking. anthropic.com/news/visible-extended-thinking
- D22 - Anthropic. (2025). Effective context engineering for AI agents. anthropic.com/engineering/effective-context-engineering-for-ai-agents
Primary-source links
- OpenAI, "Learning to reason with LLMs" (September 12, 2024) - the o1-preview launch post: the launch of the reasoning-model paradigm and the canonical "think, then answer" pattern.
- OpenAI reasoning guide (living documentation) - OpenAI's current developer guide to reasoning models, maintained and updated as the models change.
- DeepSeek-R1 paper (January 2025) - the open-weights reasoning-model release with visible chain-of-thought traces and reproducible training recipe.
- Anthropic, "Visible extended thinking" (2025) - including the explicit faithfulness caveat the chapter cites: the visible chain is not necessarily a faithful trace of the model's actual computation.
- Anthropic, "Effective context engineering for AI agents" (2025) - practitioner guidance on context shaping for reasoning + agentic patterns.
Status note
o1-preview launched on September 12, 2024. OpenAI replaced it with the full o1 model in ChatGPT that December. As of October 2026, deliberation before commitment is a general architectural pattern, not a product feature, and the chapter treats the pattern, not the product, as the durable idea.