Building agents is weird. You're not writing code that does things. You're writing code that gives an LLM the ability to do things, and the LLM decides what to do.
What is an agent?
An agent is an LLM that calls your functions in a loop until it decides the task is complete.
That shift takes s…