Agent loops and their limits; MCP as a concept
On This Lesson 4 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
bound loops and understand MCP.
Planned topics
- An agent loop repeats call-tool-then-think until done; without limits it can run forever and cost a lot.
- Set limits on steps, wall-clock time, and tokens or cost; stop with a clear message.
- MCP (Model Context Protocol) is a standard way for an app to discover and call tools and data exposed by a server.
- Worth adopting when many assistants or tools must interoperate; overhead for one app with three tools. Authorization still applies to every MCP tool.
Draft outline details
Demonstration
config: maxSteps=6, maxSeconds=30, maxCostUsd=0.10.
Check your understanding
Name two limits for an agent loop.
Show answer
Any two of steps, time, cost.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.