Skip to content
Rapidan AI / The blog
All posts

YAGNI: You Aren't Gonna Need It

The Rapidan AI site went through three content management systems before landing on a folder of JSON files and a git push. The lesson is a classic one from software engineering: YAGNI. You are not gonna need it. Pick tools when you need them, not before.

Jon Deavers 3 min read

Software engineers have a principle called YAGNI — You Aren't Gonna Need It. The rule is simple: do not add something until you actually need it. The same principle applies to choosing tools for your business. The Rapidan AI website has been through three content management systems. Each one made sense on paper. Each one added complexity the site did not need yet. The final system is a folder of JSON files and a git push. It took over-engineering every alternative to learn YAGNI applies to more than code.

The First CMS

The first site used a traditional CMS. A CMS makes sense when multiple people publish content frequently. For a small site with infrequent updates, it was overhead from day one. The database needed maintenance. Every edit required logging into a dashboard and clicking through a publishing queue. What should have been a simple text change turned into a multi-step process. Every one of those steps also means more tokens when an agent needs to interact with the system — a login call, a navigation call, a save call, each with its own response to parse. Complexity costs twice: once in human time, once in tokens.

The Second CMS

The replacement was a headless CMS. Content lived in a separate system and the site fetched it through an API. This solved the database problem, but it added a build pipeline to every content change. Edit a sentence, save it — wait for the build to run, the assets to compile, the site to redeploy. What should have been a quick text fix turned into a multi-minute cycle. An agent making the same edit had to authenticate against the CMS API, submit the change, then wait for the build to finish and confirm the deploy landed. Every added layer multiplied the time and token cost of a simple text change.

The separation did not match how the site was actually used. Content changes were infrequent. The site did not need a publishing pipeline with roles, drafts, and scheduled releases. It needed a way to edit text and deploy it. The headless CMS was the second YAGNI violation. I assumed I would need API-driven content some day, so I built for a use case the site never actually had.

What replaced them

Both systems were stripped. The site became a static site where every page element lives in a JSON file. The build reads those files and outputs flat HTML and CSS. The only moving parts are a JSON file and a build command.

To change anything on the site, I edit a JSON file and commit it. The build compiles the new assets. The deploy takes about a minute. An agent does the same thing: edit the JSON file, commit it, move on. Stripping the tools I did not need made the system less expensive to run and more cost-efficient for an agent to interact with.

The real cost of unnecessary tools

The real cost of an unnecessary tool is not just its price tag. Every tool you add sits on top of whatever stack you already manage. You have to learn its interface, keep its credentials up to date, monitor its uptime, and remember how it connects to everything else. That cognitive overhead accumulates even when the tool does its job. The simplest way to reduce it is to not add the tool until you actually need it.

It is easy to get distracted in the AI era when every day uncovers a new tool. Staying focused on the task you are trying to accomplish and not letting unnecessary tools slow you down is critical to being successful in automating your work. YAGNI helps with that. Every CMS I added looked like progress. Each one moved me further from the actual work of editing text and publishing it.

Written by Jon Deavers Back to all posts
Agentic Foundations course preview
Free courseYour first step
A good place to begin

Agentic Foundations.

Get to know the components of an agentic AI system. A clear foundation for putting AI into your own workflows.

Free to enroll · Learn at your own pace