← Back to Build an AI Agent in Python From Scratch

Module: Ship It

Practice Test: Ship It

Connect to MCP servers, test the agent with an eval harness, and trace every step to debug failures.

9 questions. 15 minutes. You need at least 7 right to pass. This test is optional. It does not mark any lesson complete and it does not count towards your certificate.

Time left: 15:00

1. How does the stdio MCP server get started in this lesson?

2. What did the client receive when get_weather was called for Atlantis?

3. What finally made the agent retry the failed convert_currency call?

4. Why does agent.py return the list of tool calls as well as the answer?

5. Why is the expected value 15081.97 a good test of tool use?

6. All 12 runs passed. What does that prove?

7. Why does the tracer append one JSON line per event as it happens?

8. What does replay.py hold constant?

9. Why did input tokens grow from 381 to 525 between steps?