Build AI Agents
Home
High Level Design
Low Level Design
Build AI Agents
Code
Java
Networking
API Design
Contact
Syllabus
Read in order — each chapter builds on the last.
Start learning
Language models
Language Models
What Is an API Key
Talking to a Model
Your First API Call
Message Roles
Conversation History
Structured Outputs
Agents
Chatbots and Agents
Tools and Skills
The Tool-Call Loop
When SDK Runs the Loop
Multiple Tools
Reasoning & RAG
ReAct Pattern
Embeddings
RAG
State & graphs
Why Simple Loops Break
Explicit State
Branching and Graphs
Persistence & HITL
Agent Frameworks
Framework Agent
Teams & MCP
Multi-Agent Patterns
What Is MCP
Build an MCP Server
Agents with MCP Tools
Quality & safety
Input Validation
Evaluating Agents
Prompt Injection