7100: Agent Architecture - Prerequisites¶
For: 7101-ReAct-Loop-System.md
What You Should Know Before Starting¶
Essential Concepts¶
1. LLM Basics
- How LLMs generate text
- Prompt engineering
- Token-based generation
2. Function Calling
- LLMs can call external functions
- Structured output from LLMs
- Tool use patterns
3. State Management
- Tracking conversation history
- Multi-turn interactions
- Context preservation
Quick Refresher¶
What is an AI Agent?¶
Traditional LLM:
User → LLM → Response
AI Agent:
User → Agent → Plan → Tools → Execute → Observe → Agent → Response
↑___________________________|
ReAct Loop
ReAct Pattern¶
Reason: I need to answer a question
Act: Call a tool to get information
Observe: What did the tool return?
Repeat: Until satisfied
Learning Resources¶
If you're new to these concepts:
-
LLM Fundamentals (45 min):
- How LLMs Work
- Understand token generation
-
Function Calling (30 min):
- OpenAI Function Calling
- Understand tool use
-
Agent Basics (30 min):
- ReAct: Synergizing Reasoning and Acting
- Read the paper abstract
What You'll Learn¶
After completing 7101-ReAct-Loop-System.md, you'll understand:
- ✅ ReAct loop architecture
- ✅ Thought-action-observation pattern
- ✅ Tool calling integration
- ✅ Prompt engineering for agents
- ✅ Building multi-step agents
Readiness Check¶
Answer these questions:
- How do LLMs generate text?
- What is function calling?
- Why would an agent need multiple steps?
If unsure: Review the quick refresher above.
Ready to start? → 7101-ReAct-Loop-System.md
Estimated Time to Complete: 3-4 hours
Difficulty: ⭐⭐⭐ Advanced