All drills

Building a Coding Agent

What you'll be able to do

Build the brain behind tools like Claude Code, Cursor, and Aider — an LLM that actually reads and changes your codebase in a loop, not a chat window you copy-paste from.

The engine inside AI coding assistants — Claude Code, Cursor, Aider, GitHub Copilot Workspace, Devin — an LLM in a tool-use loop over a real filesystem.
Start this internship
Create an account to unlock the 13 sections, the workbench, and AskThili.
Begin

Sections

1. Building a Coding Agent
🔒 locked
2. Lesson 1 - The Loop
🔒 locked
3. Lesson 2 - The Tool-Use Contract
🔒 locked
4. Lesson 3 - The Agentic Loop
🔒 locked
5. Lesson 4 - Reading a Codebase
🔒 locked
6. Lesson 5 - Editing
🔒 locked
7. Lesson 6 - Running Code
🔒 locked
8. Lesson 7 - Safety & Approval
🔒 locked
9. Lesson 8 - Grounding
🔒 locked
10. Lesson 9 - Self-Correction
🔒 locked
11. Lesson 10 - Delegation
🔒 locked
12. Lesson 11 - Planning & Memory
🔒 locked
13. Lesson 12 - Evaluation
🔒 locked

Dig deeper

🔗thilicodex — the reference implementation you build in this course
code
🔗Rasbt's mini-coding-agent (the inspiration for this course)
code
🔗Ollama — run open LLMs locally
docs

Part of these learning paths

I'm a software engineer and I want to learn agentic programming
View path →