Question 259
Scenario: Developer Productivity with Claude
An Agent SDK tool helps engineers explore unfamiliar codebases, understand legacy systems, generate boilerplate and automate repetitive tasks, using the built-in tools (Read, Write, Bash, Grep, Glob) plus MCP servers.
Read the full scenario lessonA team implements an agent with the Agent SDK. They want to add observability: logging each tool call with timing, inputs, outputs, and model decisions. The Agent SDK uses setting_sources for configuration. Where should they implement the logging?