A dependency philosophy Christoph Nakazawa argues for in Modern Engineering Values: with coding agents, the economics that justified heavy third-party dependencies have flipped, so you should own more of your stack yourself.
The Old Math
Historically you might build an app where 95% of the code was third-party dependencies. That made sense: writing and maintaining code was slow and expensive, so leaning on external libraries was the rational trade. But it had a hidden cost — it locked you into a stack you didn’t control. The data-fetching library or UI framework you picked quietly dictated downstream product and UX decisions.
The Hidden Liability
Nakazawa’s reframe: every dependency is code, architecture, constraints, and decisions you are ultimately responsible for, regardless of who wrote them. A pile of dependencies makes it feel like you’re shipping a small app when you’re really shipping a large body of code you didn’t write and may not fully understand. That’s Comprehension Debt you took on by default, plus an architecture you don’t govern.
What Agents Change
Agents change the cost factors. Writing and maintaining code is no longer slow or expensive, so the original reason to outsource core functionality weakens. Nakazawa built his own open-source JS stack — data libraries, i18n, UI libraries, tool configs, starter templates, slideshows — which gives him two things:
- Tight constraints for agents. He can spin up new projects with strong, familiar guardrails already in place (ties directly to strict guardrails & fast feedback loops).
- Full control over product and UX. No third party dictates the experience.
His rule: with agents, there’s no longer a good reason to outsource core parts of your product to third-party dependencies if you can realistically own them yourself.
The Boundary
This isn’t “reinvent everything.” It’s about core parts of your product — the pieces that shape the user experience and that you’d otherwise be locked into. The qualifier “if you can realistically own them” is load-bearing: the point is that the realistic boundary has moved, not that it disappeared. You still don’t rewrite a database or a crypto library.
Connections
- A natural counterweight is option value (covered in Modern Engineering Values, principle 6): owning your stack increases option value by removing externally-imposed constraints, as long as you don’t over-build into a corner.
- Echoes the open-source pressure Armin Ronacher describes in AI Pressure on Open Source — when agents can generate and maintain code cheaply, the gravitational pull toward shared dependencies weakens.
- Sits alongside Layered Domain Architecture for AI Agents: owning the stack is what lets you impose a clean, agent-legible architecture instead of inheriting someone else’s.
Related
- Modern Engineering Values — the parent essay; this is value #5
- Christoph Nakazawa — author; built the nkzw-tech stack as the worked example
- Comprehension Debt — what unowned dependencies quietly accumulate
- AI Pressure on Open Source — the same cost-shift seen from the dependency-maintainer’s side