SWE-Agent and OpenDevin Architectures
Tour the source code of two leading open coding agents to see how the pros structure tool surfaces and prompts.
Why Study Existing Agents?
SWE-Agent and OpenDevin (now OpenHands) are leading open-source coding agents. Reading their code teaches you what the pros do.
SWE-Agent (Princeton)
SWE-Agent introduced the "Agent-Computer Interface" (ACI) concept — a tightly designed CLI for the agent to manipulate code.
All lessons in this course
- Agentic Patterns: Plan-Execute-Verify
- Tool Surfaces for Coding (Read, Edit, Bash)
- Iterative Self-Correction Loops
- SWE-Agent and OpenDevin Architectures