Skip to content
Back to full roadmap
topicadvanced

Coding Agents (Claude Code, Cursor, Devin, Aider)

Patterns behind agents that write, refactor, debug, and test code.

5 hours3 resources

Critical techniques:

  1. Selective context loading — open only relevant files (not the full repo)
  2. Diff-based editing — search-replace patches instead of full-file rewrites
  3. Test-driven loop — write test → run → fix code → retest
  4. Static analysis feedback — feed TypeScript/Pyright/ESLint output to the agent as observations
  5. Sandboxed execution — run code safely via E2B / Modal / Riza
  6. Plan before code — for large changes, present an architecture diff first, then implement
  7. Self-review — after implementation, critique your own diff

Production examples: Claude Code (Anthropic), Cursor, Aider, Codex, Windsurf, Devin (Cognition), SWE-Agent.

Resources(3)

Related steps