← All notes

Miller's Law for Engineers: Why Running Five AI Agents Fried My Brain

Muhammed Hidash · · 1 min read

Everyone kept saying AI had simplified software engineering. I felt more exhausted than I ever did before it.

First, a note: if you outsource your critical thinking to AI agents, you are no longer an engineer, just a rubber stamp. This post is not for you.

Loop engineering, at scale

We have moved well beyond single-prompt code generation. Today's workflow is loop engineering: autonomous feedback cycles where agents plan, write code, run commands, read error logs and correct themselves until the tests pass.

I started orchestrating four or five of these loops at once across separate Git worktrees. On paper, my output was through the roof. In reality, my brain was burning out.

The 1956 paper

While listening to a talk by Garry Tan, I heard a reference to George A. Miller's classic 1956 paper, "The Magical Number Seven, Plus or Minus Two." I read it that night.

Miller's finding: human short-term memory holds roughly five to nine items at a time. Past that limit, accuracy drops and fatigue sets in. Juggling five agents, each with its own context, goal and state, I was forcing my brain's working memory far past its hard limit.

The fix: stop using your head as a database

I didn't stop running multiple agents. I stopped using my short-term memory as a state store. My system is deliberately low-tech:

  • Before switching agents, I write a three-word summary of what that agent is doing and its end goal, on paper.
  • The moment it's written down, my brain gets the signal: the pointer is saved, you can let go.
  • Coming back to an agent means glancing at the paper, not reconstructing the context from memory.
AI gives us near-infinite execution speed. Human cognitive bandwidth hasn't changed. Offload your context and let paper, or anything else, be your external cache.

This started as a LinkedIn post.

Join the conversation there, or connect with me.

Discuss on LinkedIn →