Code Like a Surgeon

concept
agent, workflow, delegative-ux, prototyping
5 sources

created
2026-11-09
updated
2026-12-02
reviewed
2026-12-02
confidence
medium

Geoffrey Litt‘s model (blog post, 24 October 2025) for working with AI coding tools: keep the core work, delegate the prep. He writes it against the claim that AI will make us all “managers” or “editors”, which he calls “a dangerously incomplete view”.


index

6 sections
select a row to jump


1 The argument

  • The surgeon does the work. “A surgeon isn’t a manager, they do the actual work! But their skills and time are highly leveraged with a support team that handles prep, secondary tasks, admin.”
  • His goal is “to spend 100% of my time doing stuff that matters.” As a UI prototyper, “that mostly means tinkering with design concepts.”
  • What he hands off to agents, often “async in the background – while I’m eating lunch, or even literally overnight”:
    • “Before attempting a big task, write a guide to relevant areas of the codebase”
    • “Spike out an attempt at a big change. Often I won’t use the result but I’ll review it as a sketch of where to go”
    • “Fix typescript errors or bugs which have a clear specification”
    • “Write documentation about what I’m building”
  • The aim: “When I sit down for a work session, I want to feel like a surgeon walking into a prepped operating room.”

2 Mind the autonomy slider

He uses AI very differently for primary and secondary tasks:

Primary (core design prototyping) Secondary (prep and grunt work)
How much by hand “still do a lot of coding by hand”; careful and “in the details” when using AI “much much looser”, “happy to let an agent churn for hours in the background”
What matters “fast feedback loops and good visibility” “The ability to get the job done eventually”; “speed and visibility matter less”
Tools he names Cursor tab-complete Claude Code for “long unsupervised sessions”; Codex CLI “possibly my new favorite”

He links this to Andrej Karpathy’s “autonomy slider”: “It’s dangerous to conflate different parts of the autonomy spectrum – the tools and mindset that are needed vary quite a lot.” The wiki hasn’t checked Karpathy’s talk. On the defined scale in Levels of Autonomy for AI Agents, his primary setup is L1 (operator; the essay calls the “copilot” metaphor “apt for this level”) and his secondary setup is L4–L5. The placement is mine.source 2

3 The lineage, and status

  • Source of the image: the “software surgeon” is from Harlan Mills, via Fred Brooks’s The Mythical Man-Month (1975): a “chief programmer” supported by a “copilot” and administrators, all of them human.
  • Beyond economics: AI makes the model affordable, but Litt points to “something more subtle… to do with status hierarchies.” He prefers teams “where everyone shares the grunt work” and dislikes “giving all the grunt work to some lower-status members of the team.” With agents, “this concern completely disappears”. Agents are also available around the clock: “I would never call a human intern at 11pm and tell them to have a research report on some code ready by 7am.”
  • At Notion, his employer, he sees the product as bringing the same mode to “knowledge workers beyond programmers”: “enabling everyone to ‘work like a surgeon’.” He notes that a codebase “well setup for” AI tools helps him “especially as a newcomer to a big codebase.”
  • Summary line: “The goal isn’t to delegate your core work, it’s to identify and delegate the secondary grunt work tasks, so you can focus on the main thing that matters.”

4 Connections

  • Automation vs Collaboration Agents: Litt uses both modes, but divides them by task, not by product or agent. He collaborates on the core work (tight loops, visibility) and automates the prep (hours unsupervised). That matches Narayanan’s claim that the two need different designs. It also suggests the split may happen inside one person’s day rather than between configurations of firm and worker. That second reading is mine.

  • Decide-Execute-Deliver Sandwich: the sandwich’s caption puts “design and implementation” in the execute layer, the one AI is said to compress. Litt keeps exactly that work, tinkering with design concepts, and delegates tasks that sit around it. The codebase guide and the spike support decide (planning: “a sketch of where to go”). Fixing errors to a spec and writing docs fall under deliver (verification, maintenance). So, for a UI prototyper, the layer kept is the filling, and agents fatten both buns instead of thinning the middle. One way to square this: for a prototyper, hands-on design is how deciding happens, which is the wiki’s open question about whether Design Engineering straddles decide and execute. The whole mapping is my reading, not Litt’s.

  • Beyond Chat Interfaces: his primary-task setup is close to Amelia Wattenberger‘s “more tools and fewer operated machines” (tab-complete is a tool), while his secondary tasks are deliberately the machine end of her spectrum.

  • Critical Design Engineering (tenet 7): the manifesto asks design engineers to inhabit the space between generation and shipping, while the code is still open to change. Litt’s overnight spikes reviewed “as a sketch” and his refusal to merge them unchanged are one practitioner’s version of that window; Software Factory Level 5 is the case where the window is removed entirely.

  • Delegative UX: the background half is a delegation workflow. He reviews spikes “as a sketch”, not as output to merge, which is one answer to how much oversight delegated work needs.

  • Joshua Crowley cites Litt as an influence; Crowley’s Single-File HTML Prototypes are another prototyper’s version of keeping the core work fast and visible.

  • Oversight Degrades the Overseer: keeping core work hands-on is, in Mitchell, Ghosh & Passi’s terms, “domain skill maintenance”; overnight unsupervised agents are where the “out-of-the-loop” problem lives. They also note that experts over-rely most “slightly outside of their expertise”, such as “an experienced software developer using AI agents to code in a new programming language”. Mine to apply to Litt.source 3

  • Notion versus the IDE: Litt says Notion wants to bring “work like a surgeon” to knowledge workers. Lamis Mukta argues that AI workspaces like Notion don’t let you “control the context”, and moves her knowledge work into an IDE with Claude Code, co-editing with the agent while it “runs research in the background” (The IDE as Home of Work). Same goal, different home; the pairing is mine.source 4

  • A Notion colleague’s version: Brian Lovin, who built Notion’s Prototype Playground (Notion), hands the agent the checking as well: “anytime the AI asks you to do something… see if you could teach the AI to answer that question for itself”, including opening the browser to verify its own work (Give Your Agent a Laboratory). Litt lists “fix typescript errors… which have a clear specification” as grunt work. Lovin goes further, treating browser and Figma comparisons as delegable too. The feedback loop Litt wants for himself, Lovin builds for the agent. The comparison is mine.source 5

  • Autonomy Scales Compared — the autonomy slider as one of five scales compared

5 Open questions

  • If grunt work goes to agents, how do juniors learn? Litt says juniors “should also be given many interesting tasks to help them grow”, but doesn’t say whether grunt work was part of how they learned. The question is mine. Feng et al. suggest one design answer: L1 and L2 agents suit people “developing or honing skills”, and an L2 agent “that strategically delegates tasks to a user can encourage skill development”.source 2
  • Where is the line between primary and secondary for someone other than a UI prototyper? He gives one role’s answer only.
  • The background work runs overnight without supervision. Who checks it, and how carefully, beyond spikes that are discarded? See Authorship of Consequence.

6 Sources

  • raw/articles/litt-code-like-a-surgeon.md
  • raw/articles/feng-levels-of-autonomy-2025.md (connection only)
  • raw/articles/mitchell-ghosh-passi-agents-out-of-loop-2026.md (connection only)
  • raw/articles/mukta-ide-home-of-work.md (connection only)
  • raw/articles/rogerwong-notion-prototype-playground.md (connection only)

referenced by

12 pages link here


sources

numbers match the markers
in the text above