Phase 10 · Agentic AI/
Lesson 10.8advanced2 h 45 min

Coding agents and computer use

Why code came first, agent–computer interfaces, harnesses, GUIs as environments

Software engineering is where agents first became genuinely useful, because code gives cheap, trustworthy feedback: tests pass or fail, compilers complain, linters point at lines. Studying coding agents teaches the general lessons — interface design, verification, context management, sandboxing — in the domain where they are clearest. Computer use extends the same loop to any screen, with weaker feedback and sharper risks. You will also learn how to work with these agents, which is now part of every engineer's job.

You'll be able to

  • Explain why verifiability made code the first successful agent domain and how SWE-bench shaped progress
  • Describe the anatomy of a coding agent (tools, context files, loop, permissions, verification) and the agent–computer interface insight
  • Work effectively with a coding agent: scoped tasks, verification means, project instructions, review discipline
  • Describe computer-use agents, their benchmarks, costs, failure modes and sandboxing requirements

Key ideas

  1. Code was the first agent success because tests, compilers and linters give cheap, trustworthy feedback — an evaluator–optimizer loop with a deterministic evaluator.
  2. SWE-bench (2023) and SWE-bench Verified made progress measurable: from a few percent to roughly three-quarters resolved by late 2025, prompting harder benchmarks.
  3. SWE-agent's agent–computer interface insight: a few well-designed commands (windowed file view, compact search, linting editor) beat a raw shell.
Show 4 more key ideas
  1. A coding agent = tools + project instructions file + plan/act/verify loop + permission model + verification + cross-session memory.
  2. Work with agents by giving context once, planning before coding, providing verification means, scoping tightly, reviewing diffs (especially to tests) and parallelizing only in separate checkouts.
  3. Long-running harnesses: initializer session, structured feature list and progress file, clean-context sessions, commits as checkpoints.
  4. Computer use applies the loop to screenshots and clicks: universal but slow, costly, brittle and exposed to page-content injection; prefer APIs/DOM and sandbox everything.

Suggested path through this lesson