Autonomous Agents: Memory and Tools
Part of the Prompt Engineering course
In lesson 5 you gave a model tools through function calling, and in lesson 6 you gave it long-term memory through retrieval. This lesson puts those two pieces inside a loop so the model can act, look at the result, and decide what to do next, over and over, until a goal is met. That loop is what turns a model that answers once into an agent that works toward something.
Everything so far has been a single exchange. You send a prompt, the model sends back text, and you are done. That is a powerful shape, but it has a ceiling: the model cannot check its own work, gather a missing fact, or take a second step based on what the first step produced. ...
Want to learn Prompt Engineering Autonomous Agents: Memory and Tools in a real environment?
Click below, get a fresh Linux box with Prompt Engineering ready to go, and work through Autonomous Agents: Memory and Tools hands-on with an AI tutor that knows your code.
Start this lessonAutonomous Agents: Memory and ToolsWhat you'll learn
- The agent loop of reason, act, observe
- Giving an agent tools
- Short-term and long-term memory
- Stopping conditions and guardrails
Read this lesson in your language
All lessons in this course
11 lessons- 1What a Prompt Is20 min
- 2How Large Language Models Generate Text30 min
- 3The Five Principles of Prompting30 min
- 4Standard Practices for Text Generation35 min
- 5Prompt Templates and Function Calling35 min
- 6Vector Databases and Retrieval-Augmented Generation40 min
- 7Autonomous Agents: Memory and Tools40 min
- 8How Diffusion Models Generate Images30 min
- 9Standard Practices for Image Generation35 min
- 10Advanced Image Techniques: Inpainting, Outpainting, and ControlNet35 min
- 11Building AI-Powered Applications40 min
