Code as an agent's tool
A section of the "Agents: tools and planning" topic. The questions check an understanding of practice, not memory of specific library APIs. After each answer comes a review: why the correct option is right, what is wrong with each incorrect one and which chapter to read.
Quiz difficulty Formats: several correct options, order of steps, the faulty line
Quiz 3.7Code as an agent's toolStart practice Practice has no timer and a review after every answer.
01
What we check
- What actually isolates code
- Levels of execution isolation
- When to strengthen isolation
- Input validation in execution tools
- A mistake in long-output settings
- One model proposes, another approves
- A guard model next to the agent
- Observability of execution tools
02
Where to read
- Li, AI Agents in Depthsec. 4.6