An AI agent is an ordinary program. It talks to an AI model over HTTP, in a loop, and lets the AI ask your program to run small functions called tools.
The AI never touches your computer. It only says “please run read_file with path = routes/web.php”. Your code runs it, sends back the result, and the AI decides what to do next. That is the whole recipe: a loop plus tools.
In ten short lessons you will build a working coding agent in the terminal, one file at a time. Every lesson ends with a check so you know it works before moving on.
- 10 lessons plus setup
- About 4 hours at your own pace
- Needs: PHP, Laravel basics, an OpenAI key
