← All drillsBuilding a Coding Agent
What you'll be able to do- ✓Build a coding agent that reads, edits, and runs code in a tool-use loop
- ✓Implement the agentic loop from scratch (perceive, decide, act, observe)
- ✓Define a tool-use contract and parse tool calls from a local LLM
- ✓Sandbox all file access and gate risky tools behind an approval policy
- ✓Ground the agent in a real codebase and let it self-correct against tests
- ✓Evaluate the agent on an auto-graded task suite (does the code pass?)
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 internshipCreate an account to unlock the 13 sections, the workbench, and AskThili.
BeginSections
1. Building a Coding Agent
🔒 locked2. Lesson 1 - The Loop
🔒 locked3. Lesson 2 - The Tool-Use Contract
🔒 locked4. Lesson 3 - The Agentic Loop
🔒 locked5. Lesson 4 - Reading a Codebase
🔒 locked6. Lesson 5 - Editing
🔒 locked7. Lesson 6 - Running Code
🔒 locked8. Lesson 7 - Safety & Approval
🔒 locked9. Lesson 8 - Grounding
🔒 locked10. Lesson 9 - Self-Correction
🔒 locked11. Lesson 10 - Delegation
🔒 locked12. Lesson 11 - Planning & Memory
🔒 locked13. Lesson 12 - Evaluation
🔒 lockedDig 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
docsPart of these learning paths
I'm a software engineer and I want to learn agentic programming
View path →