// series · 6 parts
AI Agents from Scratch in Python
You can build an AI agent without being a Python expert. But you do have to read Python — and most…
SK
Sukhveer Kaur
Updated Jun 20, 2026
~32 min
Total read
Beginner
Level
6 parts published
// the path
00
Python for AI Agents: The Basics to Read the Code (Part 0)
You can build an AI agent without being a Python expert. But you do have to read Python — and most…
5 min
✓ Published01
Call an LLM in Python: The First Building Block of an Agent
Series: AI Agents from Scratch in Python
This is Part 1. If the Python in the examples — dicts, os…
5 min
✓ Published02
Tool Calling in Python: Make an LLM Use Your Functions
Series: AI Agents from Scratch in Python
This is Part 2. So far: Part 0 covered the Python you…
6 min
✓ Published03
AI Agent Loop in Python: Build a ReAct Agent From Scratch
Series: AI Agents from Scratch in Python
This is Part 3. So far: Part 1 made your first LLM
call…
6 min
✓ Published04
AI Agent Memory in Python: Short-Term Memory From Scratch
Series: AI Agents from Scratch in Python
This is Part 4. So far: Part 1 made your first LLM
call…
6 min
✓ Published05
From Scratch to LangGraph: When to Stop Hand-Building AgentsLATEST
Series: AI Agents from Scratch in Python
This is Part 5, the finale. So far: Part 1 made an LLM…
4 min
✓ Published