"Complexity is the enemy" is a common heuristic in software engineering: every line of code or dependency a system adds has to be maintained by someone, so the cheapest system to live with is the smallest one that solves the actual problem. A popular statement of it is "The Grug Brained Developer", a humorous essay written in the voice of a caveman programmer whose main fear is the "complexity demon".[1]
I apply the heuristic to code and to the tools I build for agents, including how they store knowledge. It is the code-level counterpart of The bitter lesson, since both distrust clever structure that will be costly to keep.
Background
The argument for simplicity rests on maintenance cost. Most of a program's cost comes after it is written, when people have to change it. Abstractions save effort only when they match how the code will actually change. When they don't, every change has to work around them, a problem the programmer Sandi Metz summed up as "duplication is far cheaper than the wrong abstraction". Her remedy for an abstraction that has gone wrong is to copy its code back into each caller, delete the parts each caller does not use, and only then look for a better abstraction in what remains.[5]
I have used the grug framing since at least 2022, when I applied it to managing engineering teams as well as code.[2] My agents load a written version of these principles as a skill in their knowledge base, kept out of AGENTS.md because not everything I ask an agent to do is coding.[3] In November 2026 I wrote that the AI era needs its own version of the grug essay.[9]
My position
I want the smallest correct solution. Before deciding how to build something, I ask whether it needs to exist and whether a smaller version would solve the problem, because unwritten code carries no maintenance cost.
In practice that means a few working habits. I let a pattern appear about three times before extracting it, because a little duplication is cheaper than a shared helper that only fits some of its callers and grows special cases for the rest. I keep each feature's code together in one place so it can be read without jumping between layers. I measure before optimizing, and I let errors surface instead of hiding them.
Applied to agents
The same rule shapes how I work with agents. For Personal Agent, my earlier agent app, I stored what an agent should know about me as a folder of plain Markdown files rather than a database or a vector index.[3] My current bots keep a short memory file and search their past conversations. I argue in Plain files and search beat memory systems that memory systems built on embeddings duplicate data and spend effort before anyone knows it will be needed.[4] In my own tools the simple versions outlived the ambitious ones. A voice setting on any thread replaced a separate voice page (Talking to agents, minus the real time), and plugins on an existing workbench replaced an app I maintained myself (Agent workbench). By July 2026 I found building yet another harness boring, and the only part of mine worth keeping was its extension system.[7] A month later I wrote that maintaining your own fork does not hold up long term and that plugins were the better route.[8]
A related rule from my experiments is to decide what a system is for before building it. Spool, a personal tool that pulled email, calendar, feeds and browsing into one searchable timeline, had no task that needed it, and I replaced it by fetching data when a task needed it (Spool: collecting all the context before knowing what it's for).
Evidence
The evidence here comes from my own experience, and I have not measured it. Each of the agent tools I dropped had grown machinery that no longer matched what I needed, and each simpler replacement has needed little upkeep. Agents also seem to work better in small, local code, because a feature contained in one folder fits in a model's context, while a feature spread across layers of abstraction does not.
Criticism and counterpoints
Simplicity can be used to avoid necessary work. Some problems are complex, and a design that hides that complexity can push it onto users or operators. Abstractions also pay off in large teams. A team of fifty needs shared interfaces that a single developer does not. Preferring familiar tools can also mean missing a tool that would have removed a whole class of problems. The engineer Dan McKinley's "Choose Boring Technology" allows for this. It gives each team a few "innovation tokens" to spend on new technology and asks only that they be spent where the existing stack truly cannot do the job.[6]
My own practice has not always followed the rule. In November 2026 I forked the workbench anyway, keeping the fork thin with a ledger of edits to its core, scripted syncs and most features still in plugins (BB Studio). Whether that holds up is an open question.
Agents also make building cheap enough to tempt me away from my own rule. In November 2026 I suggested that people build their own "everything app", a private network with native phone and desktop apps that gain whatever features their owner wants.[10] Each feature is cheap to add with an agent, but every one of them still has to be maintained, which is the cost this position warns about.
With agents writing most of the code, there is a further question of whether duplication is still cheap. An agent can update ten copies as easily as one, which weakens one argument for abstraction. Agents also copy code freely when asked for something similar, so duplicates multiply faster than they would by hand, and a copy the agent misses becomes a bug.
Open questions
- Does the right amount of abstraction change when agents, not people, read most of the code? See Understanding unfamiliar code.
- How should a team write down simplicity rules so agents follow them consistently?
History and timeline
- 2015: McKinley publishes "Choose Boring Technology".[6]
- 2016: Metz publishes "The Wrong Abstraction".[5]
- Aug 2022: I apply the grug framing to managing engineering teams.[2]
- May 2026: I store my agent's knowledge as plain Markdown files, with my engineering principles as a skill.[3]
- Jul 2026: I find building another harness boring and keep only its extension system.[7]
- Aug 2026: I move from my own app to plugins on an existing workbench.[8]
- Nov 2026: I argue that memory systems duplicate data[4] and call for a grug essay for the AI age.[9]
Change log
- 2026-12-03: Enriched with cited sources for Metz and McKinley, a dated timeline, and a counterpoint from my own "everything app" post.
- 2026-12-02: First written, from the grug posts and my own coding practice.
See also
Reading
References
- ^ The Grug Brained Developer
- ^ The grug brained manager (post, Aug 2022)
- ^ Personal Agent's knowledge base (post, May 2026)
- ^ RAG memory duplicates your data (@trashpandaemoji, Nov 2026)
- ^ Sandi Metz, The Wrong Abstraction (2016)
- ^ Dan McKinley, Choose Boring Technology (2015)
- ^ Building yet another harness is boring (@trashpandaemoji, Jul 2026), since deleted
I'm seriously considering pivoting Neon Pilot. It started as an agent harness, but building yet another harness is boring. Everybody is doing that. The really powerful part of NP has been it's extension system. Having your agent self-extend itself is cool, but what if it was…
- ^ Maintaining your own fork is not maintainable long term; plugins are the way (@trashpandaemoji, Aug 2026), since deleted
@shamanic_arts Yeah, maintaining your own fork is not very maintainable long term. Plugins are the way! It’s been vey way to build plugins for bb, I’ve been quite happy with it.
- ^ We need a Grug Brained Developer for the AI age (@trashpandaemoji, Nov 2026)
- ^ Build your own everything app (@trashpandaemoji, Nov 2026)