The LLM Agent Wrote it’s Own Agent Loop

In the previous chapter, I partially made an LLM Agent. One that is missing the agent loop. In this chapter, I use ipython to manually tell the LLM Agent to write it’s own agent loop. It succeeded (GPT-4.1). There are two sections: Write Your Own Agent Loop This is where I define the task. Note: [ ]