Lab 10A · Reuse the loop

Build a
doubt-solving agent.

Duplicate the core agent loop and change only the tools and instructions for a new academic use case.

What you will do

Adapt the teaching-assistant structure to receive a student doubt, retrieve the relevant context, and produce a carefully bounded response. Notice how little of the loop changes.