How to Build an Agent
Jun 02, 2025How to Build an Agent. I went through this tutorial today. It is very good for grasping the basics of how a coding agent works.
I really like how he presents what an agent is:
An LLM with access to tools, giving it the ability to modify something outside the context window. An LLM with access to tools? What’s a tool? The basic idea is this: you send a prompt to the model that says it should reply in a certain way if it wants to use “a tool”. Then you, as the receiver of that message, “use the tool” by executing it and replying with the result. That’s it. Everything else we’ll see is just abstraction on top of it.