Design an autonomous coding agent that can understand natural language task descriptions, generate code across multiple languages, run tests, debug failures, and iterate until the solution passes. Consider how the agent reasons about code structure, manages context across large codebases, and handles ambiguous requirements.
Suggested time: 45 minutes
Loading the workspace...
Code completion (like autocomplete in an IDE) predicts the next few tokens based on the current file. A code generation agent does something fundamentally different: it takes a natural language task description, reasons about the problem, writes code across multiple files, runs tests, reads errors, fixes bugs, and iterates until the solution passes. The difference is autonomy. A completion model suggests; an agent acts.
Execution environment
Feedback loops
Context management
State tracking
Design a Document Processing Agent (medium)
Design a Workflow Automation Agent (medium)
Design a Customer Support Agent (medium)
Design a Sales Development Agent (medium)
Design a Data Analysis Agent (medium)