A Web of Small Parts: What Outlived Three Rewrites of My IDE
In three months the setup I use to work with coding agents was rebuilt three times. Each rewrite threw out the one before it, but a few small tools came through all three unchanged. Here's why I think the small parts lasted.
In three months, the setup I use to work with coding agents (my "IDE") has been rebuilt three times. First it was a set of customizations to herdr in the terminal. Then it was mods in the Herdr app. Now most of my work happens in Claude Projects, in the cloud.
Each rewrite threw out the one before it. But a few small tools came through all three unchanged, and they fit each new setup as if they'd been written for it. This post is about why.
What survived, and what didn't
Capture, the screenshot host from the visual story post. You give it an image or a recording and it gives you back a link. Since then it has learned to hold a whole story: before, after and a GIF. It never cared whether the agent ran in a terminal, a native app or a cloud sandbox. All it needs is a file and a login.
An environment command. A small CLI that sets up an environment, tears it down and gives you a preview link. That's all it does. It knows nothing about agents, sessions or editors. So when my development moved to the cloud, it came along: a cloud session calls it the same way I did from a terminal.
What didn't survive were the things that tried to be the whole workflow: the layouts, the panels, the way sessions were arranged and found. They were built for one host, and when the host changed, they had nothing left to stand on.
The tools that lasted share three things. Each does one job. Each talks through something every host has: a file, a command, a URL. And none of them has an opinion about what's calling it.
A design that grows like a painting
I saw the same pattern while designing automator, my service for agents that keep working on their own.
I tried hard to keep it simple, both in its ideas and in its code. Every concept has a name people already know: loops (now tasks), sessions, an inbox. Nobody has to learn what an inbox is. Someone I trust kept reminding me of one rule: don't add a new kind of thing unless you absolutely have to. Each new noun is something every reader has to learn and every future change has to respect.
It grew the way a painting does. I started with one drawing, the loops, and added the other parts around it only when I needed them: events that wake a loop, then sessions that can become loops and talk to each other. By the end, sessions weren't a separate system. They fed the same event queue the loops already read. Where a piece already existed, such as a scheduler, a sandbox or an MCP server, I reused it instead of writing a new one. Anthropic's article on building always-on agents was a useful reference along the way.
The part that didn't fit
The hardest problem wasn't any of the parts that fit. It was a bundled product I wanted to fold in, built on different core ideas.
It was a client/server app: a user asks, a server answers. What I was building is event-driven: things happen, and agents hear about them and act. Both are good designs, but they solve different problems. Putting one inside the other would have meant bending one of them out of shape.
Looking back, that's the same lesson from the other side. The small parts went into the design without any friction. The bundle didn't, because it came with its own idea of how everything else should work.
Do one thing well
None of this is new. In 1978 Doug McIlroy wrote down what became the Unix philosophy: "Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new features."
What's new is how fast the ground moves. When the place you work changes every few weeks, anything tied to that place has a short life. A small part with a plain interface doesn't depend on the place, so it lasts.
If you take one thing from this post, I'd make it this: build your system as a web of small parts, each of which does one thing well. I think that's the main reason a system lasts. Before I build something new now, I ask three questions:
- Can I say what it does in one sentence, without "and"?
- Would it still work if whatever calls it were replaced tomorrow?
- Does it talk through something every host has, like a file, a command or a URL?
If the answer to any of them is no, I'm probably building a product when what I need is a part.
If you enjoyed it, you can buy me a coffee ☕.