Building upon the foundational concepts of agent components and basic interaction loops, this chapter focuses on the architectures that enable sophisticated reasoning and decision-making within LLM agents. Simple prompt-action cycles often struggle with complex tasks requiring detailed planning or exploration of different possibilities. Here, we examine specific frameworks designed to structure the agent's thought process, leading to more effective problem-solving.
You will learn to analyze and implement several key agent architectures:
This chapter provides implementation details, comparative analysis of these reasoning frameworks, and practical exercises, such as building a custom ReAct agent. The goal is to equip you with the knowledge to select and construct appropriate reasoning mechanisms for advanced agentic systems.
2.1 The ReAct Framework: Synergizing Reasoning and Acting
2.2 Implementing ReAct Agents
2.3 Self-Ask: Improving Factuality through Iterative Questioning
2.4 Tree of Thoughts (ToT) for Complex Problem Solving
2.5 Graph-Based Reasoning Structures
2.6 Comparative Analysis of Reasoning Architectures
2.7 Practice: Building a Custom ReAct Agent
© 2025 ApX Machine Learning