8 min readUpdated: November 24, 2026

Vibe Coding vs Open Source: The Math Has Changed

AI coding agents make custom glue code cheaper to draft. The build-or-install decision still has to include review, testing, maintenance, and operational risk.

Available in:

In early 2026, I rewrote my backend on Bun and Hono. That decision changed how I think about technical choices.

I used to install first and ask questions later. Need authentication? Auth0. Need analytics? Metabase. Need LLM observability? LangSmith. That is what you are supposed to do. Do not reinvent the wheel. Stand on the shoulders of giants.

Then I watched an AI agent produce roughly 500 lines of observability code in one sitting. Drafting was fast. Making it trustworthy was the real work.

That does not mean open source lost. It means the comparison changed.

Update note — November 24, 2026: The original timings and comparison table were personal anecdotes presented as general arithmetic. I have kept the stories, labeled them honestly, and replaced the invented averages with a decision framework.


The Question Is Not “Build or Install?”

The old question was too simple.

The real question is:

Can I build, review, test, and operate this faster and more safely than I can integrate and maintain the existing option?

“Faster” now includes more than typing. Generated code still has to be understood. It still has to be reviewed. It still wakes someone up when it fails.

This philosophy carries through the stack—from the Angular frontend to the Bun and Hono backend. But it is not a license to ignore the boring parts.


Case 0: Authentication

Do not vibe code authentication by default.

Password resets, email verification, MFA, session rotation, rate limiting, account recovery, and audit logging are not a weekend side project. The OWASP Application Security Verification Standard is a useful reminder of how much surface area a real auth system has.

Auth0, Supabase Auth, Firebase, and Keycloak are not perfect. They will still require configuration and integration work. They are still a better default than a login system written in an afternoon.

Authentication is not the only category where mistakes are catastrophic. Payments, permissions, encryption, and production data migrations belong in the same conversation. The common factor is not “boring code.” It is asymmetric downside.


Case 1: Omnichannel Inbox

I used Chatwoot at my last company. It is good. Solid docs. Stable. Reasonably fast.

But Chatwoot was built around human agents. I was building around an AI agent that needed every message, customer fact, and knowledge-base result in one context.

I spent three days trying to bend the integration to my needs. Then I asked an AI agent to build a focused inbox. The first working version took about 90 minutes.

That is one experience, not a benchmark. Chatwoot may be the right choice for you. The point is that the integration had become a bigger project than the small piece I actually needed.

The risk is what comes next. A custom inbox also needs retries, deduplication, permissions, observability, and channel-specific failure handling. If those are not part of the estimate, the 90 minutes were only the beginning.

Historical meme comparing a frustrating Chatwoot integration with a fast AI-generated inbox prototype

Personal illustration from the original post, not a controlled comparison. A prototype is not a production inbox.


Case 2: LLM Framework and Observability

LangChain handles provider abstractions, tool calls, middleware, retries, and model integration. For core LLM orchestration, I still want that commodity work done once.

LangSmith is good for debugging during development. But I needed observability to be part of my product, not only a developer dashboard. I wanted control over the data, the storage, and the customer-facing view.

I read the API documentation, identified the features I actually used, and asked an AI agent to build a focused replacement. It produced a useful starting point. Then I had to review the data model, test failure paths, and decide what happened when a trace sink was unavailable.

The current QuotyAI backend uses OpenTelemetry and LogTape. That is a custom choice, not a claim that LangSmith is unnecessary.

What I gained:

  • Trace logging shaped around our workflow.
  • Cost and usage views for our own data model.
  • Fewer third-party services in the production path.
  • Control over retention and visualization.

What I did not gain:

  • Free maintenance.
  • A community fixing edge cases.
  • Automatic coverage of every feature a mature platform adds.

Use libraries for commodity parts. Build the parts that make your product unique—then budget for owning them.


Case 3: Real-Time Communication

Some things you do not build yourself by default.

Voice calling, WebRTC, echo cancellation, jitter buffers, packet loss, and reconnection are systems problems. A demo can connect two browsers. A production voice product has to survive bad networks and angry customers.

That is why we use LiveKit for voice and do not pretend an AI-generated afternoon is equivalent to a mature real-time stack.

I looked at it, understood the boundary, and connected it. The important engineering work was the integration and the product behavior around it—not reimplementing ICE negotiation.


Case 4: Embedded Analytics

I did not need another dashboard. I needed answers to specific questions:

  • Which conversations had pricing mismatches?
  • What was the average response time by channel?
  • How many customers actually used voice?

I used to spend time maintaining Metabase dashboards. Then I realized I could ask an AI agent to write a targeted query, inspect the result, and save the query when it proved useful.

I stopped paying for a dashboard tool I was not using. That is a workflow change, not proof that every company should delete its BI stack.

Generated SQL can be wrong. So can a hand-written query. The safeguard is to inspect the query, validate the result against a known case, and control access to the underlying data.


A Decision Framework

Decision tree for choosing between an existing library and a focused custom implementation
Question Prefer a library or service Prefer a focused custom implementation
Is the problem commodity? Yes No; it is specific to your product
Is the downside asymmetric? Yes—auth, payments, permissions No, or strongly contained
Does the dependency fit the data and deployment model? Yes No, and adapting it is risky
How often will it change? Rarely Often, in a small bounded area
Can you test the behavior? Existing tests and contracts help You can write representative tests
Who owns incidents? Vendor plus your integration team Your team, with an on-call path
What is the exit cost? Low or acceptable You can replace it without rewriting the product

If you cannot answer the ownership and testing questions, the draft being cheap does not make the decision good.


The Tradeoffs

This is not a manifesto against open source. It is a manifesto against cargo culting.

When I build a focused component, I give up:

  • Battle testing. Other people have not already found the weird failures.
  • Community support. I cannot Google a stack trace from code nobody else uses.
  • Upstream features. I do not get the next timeline view or integration for free.
  • Review leverage. A familiar library comes with known patterns and failure modes.

When I build it, I gain:

  • A smaller surface. The component does what this product needs.
  • Direct control. I can change the behavior without negotiating a roadmap.
  • A better fit. The data model and UI can be designed together.
  • A learning loop. The team understands the boundary because it built it.

“Zero learning curve” and “perfect fit” were too strong in the original article. Generated code still has to be learned. Every fit has a tradeoff.


The Verdict

The biggest lie in software development is not “reuse code.” It is “reuse code without counting the integration cost.”

AI agents changed the cost of a first draft. They did not repeal the cost of ownership.

Historical comparison graphic of time and complexity for existing software versus custom code

Historical illustration, not a benchmark. Compare total cost and risk, not lines of code or time to first draft.

You still should not build your own database. You still should not build your own WebRTC server. You should not build auth because the generated login page looks convincing.

But for a small, well-tested piece of glue that makes your product behave the way your product needs? Building it can now be the rational choice.

That is the new arithmetic: draft fast, own deliberately.

If you are a solo founder and an integration has already consumed more time than the feature itself, close the tab and compare the real options. I covered naming and scope in vibe coding’s golden rule, and the stack decision in Why I Picked Bun and Hono.

Then review the diff. That part never got automated away.


Frequently Asked Questions

When should I build instead of using an open source library? Build when the requirement is genuinely specific, the integration is small, and you can test and maintain the result. Include review and operations in the comparison. Use a mature library or service for security-sensitive or operationally complex problems such as authentication and WebRTC unless you have a strong reason and the expertise to own them.

What are the risks of vibe coding? Generated code can look correct while missing edge cases, permissions, failure handling, or operational safeguards. It also has no external community fixing bugs for you. Add tests, review the diff, limit scope, and make sure someone understands the code well enough to operate it.

Does this framework work for teams larger than one person? It can, but shared code raises the bar for documentation, ownership, review, and onboarding. Small custom modules can work well for a team. A critical shared platform usually benefits from mature dependencies and explicit operational ownership.

What changed with AI coding agents? The cost of producing a first draft dropped. The cost of understanding, testing, securing, and operating that draft did not disappear. The decision moved from “who can write this?” toward “can we afford to own this?”


Sources


Tags: ai-coding software-architecture startup bun hono

Found this useful? Share it.

Related articles