Customizing agent tools
Agent.as_tool() has options that change what goes into a specialist agent and what comes back. See structured input, a custom output extractor, live streaming from the nested run, and tools that appear only when a condition is true.
12 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 12 minutes.