QuestionQ70
VerifiedAgentic Architecture & OrchestrationYou are building developer productivity tools using the Claude Agent SDK. The agent helps engineers explore unfamiliar codebases, understand legacy systems, generate boilerplate code, and automate repetitive tasks. It uses built-in tools (Read, Write, Bash, Grep, Glob) and integrates with Model Context Protocol (MCP) servers.
A developer asks the agent to investigate why a specific API endpoint intermittently returns 500 errors. The codebase contains 200+ files, and the developer does not know which components are involved. The agent must trace the error through the routing, middleware, business logic, and database layers.
Which task decomposition approach would be most effective?
Community Discussion