Build Your Own Coding Agent via a Step-by-Step Workshop
A hands-on workshop that teaches developers to build a coding agent in Go, one step at a time, starting from a basic chatbot and adding file reading, command execution and code search.
This is a workshop that walks through building six versions of a coding assistant, each adding one capability: a basic chat with Claude, a file reader, a file explorer, a shell command runner, a file editor, and code search across a codebase.
Each version follows the same loop: it waits for input, sends it to Claude, and Claude either answers directly or asks to use a tool; the agent runs the requested tool, such as reading a file, and sends the result back to Claude for a final answer. The material calls this the agent's 'event loop'.
It is written in Go, requires Go 1.24.2 or newer (or a devenv shell) and an Anthropic API key, with no license stated in the material's facts.