physicsblog

Add a note

Siddharth Mishra-Sharma

What they did

Mishra-Sharma describes setting a Claude Code agent to build a differentiable cosmological Boltzmann solver (CMB physics) over several days, in a task outside his core domain. The setup used a root instruction file with the plan, a changelog as persistent memory (including failed approaches and why), git commits after each meaningful step, and unit tests against the CLASS C code as the oracle. He states that tasks suited to this mode are well-scoped with clear success criteria, and that a coupled pipeline like a Boltzmann solver suits a single sequential agent spawning subagents rather than a swarm.

In their words

"long-running autonomous scientific work today crucially depends on the agent having a way to know whether it’s making progress."

"The failed approaches are important—without them, successive sessions will re-attempt the same dead ends."

"Notably, the task isn’t in my core scientific domain"

Lessons they draw

  • Give the agent a test oracle: a reference implementation, a quantifiable objective or an existing test suite (Mishra-Sharma).
  • Keep a progress file that records failed approaches and why, so later sessions do not repeat them (Mishra-Sharma).
  • Use git commits as coordination: commit and push after every meaningful unit of work for a recoverable history (Mishra-Sharma).
  • Choose well-scoped tasks with clear success criteria for hands-off work (Mishra-Sharma).

Limits of this account

Author is employed by the vendor and the post is hosted on its site; it is a workflow how-to built on one worked example.

Search the collection

↑ ↓ move · Enter open · Shift+Enter original source · Esc close · Search index for agents

Keyboard shortcuts

Single keys work when you are not typing and no dialog is open. Turn them off if stray key presses move the page. ⌘K / Ctrl+K and Esc keep working.

/
Search the collection
⌘K / Ctrl+K
Open or close search
?
Show these shortcuts
h
Home
l
Lessons
a
Accounts
r
Replications
p
Papers
g
Guides and tools
d
Timeline
b
Bookmark the record you are reading (press again to remove it)
s
Your saved list and notes
← →
Previous and next record on an account, lesson, replication or paper page, and in a quick look
m
Switch between system, light and dark theme
t
Back to the top of the page
Open full page