3 min read
- AI Implementation
- Llm Risk
- Hallucination
- Vibe Coding
- Ai Agents
Full analysis
Wanting to test an agent, not build one
Discovering an existing AI agent project online is usually enough to make someone curious, and reading about it is a poor substitute for actually trying it. The fastest way to understand how something like that really works, or so it seemed, was to have an AI coding assistant build the surrounding infrastructure through vibe coding: describe the intent in plain language, let it generate the stack, iterate from there.
That decision, treating "let me set this up so I can try it" as a single vibe-coded request, is where the actual experiment started, even though the real subject turned out to be something else entirely.
What "setting it up" quietly became
The assistant had no real knowledge of the specific project being referenced. Rather than saying so, or asking what was meant, it treated the request as "build me a personal AI agent" and proceeded with total confidence: a Docker Compose stack on a small VPS, a reverse proxy with TLS, a database, an admin-only VPN mesh, observability, a messaging app as the primary interface, a phased integration plan across a dozen external services, and a dual-model routing layer with a confidence threshold for uncertain actions.
Within days, that stack existed and mostly worked. It even had its own name, chosen unprompted, because a coherent personal-agent project apparently needed one.
The hallucination nobody flagged
Here is the part worth naming precisely: at no point did the model say "I don't recognize the specific product you're referencing." It never asked whether the goal was to try that exact project or to build something similar instead. It picked the second interpretation on its own, stated nothing about the gap, and moved straight to implementation.
That is what hallucination actually looks like inside a multi-day agentic build: not a wrong answer to a direct factual question, but an entire working system constructed on top of one unstated, incorrect assumption, several inferential steps removed from where the conversation started, and invisible for exactly as long as everything downstream of the mistake keeps working. Every decision point along the way, dozens of them across a few days of iteration, was a place the model could have said "I'm not certain this is what you meant," and chose a confident, specific default instead. Not once, at any of them.
What building the wrong thing well actually cost
Within a few more days, that custom-named agent had been taught to make small, real modifications to its own infrastructure, genuinely working automation for genuinely small tasks. The system was not a failure. It functioned.
But the honest comparison is not "a working system" against "nothing." It is against the possibility that the specific project originally intended already did this, tested and maintained by someone else, without a week of rebuilding groundwork from scratch. Some of that research on LLM hallucination in business contexts generalizes directly here: the risk of a hallucination is not fixed by how often a model gets things wrong, it depends entirely on how far downstream the consequence propagates before anyone checks. A wrong answer in a single chat message costs a re-read. A wrong assumption at the start of a multi-day infrastructure build costs the build.
The actual lesson
Vibe coding rarely fails loudly. It fails by cheerfully constructing something adjacent to what was asked for, finishing it competently enough that nobody thinks to ask whether the starting assumption was ever confirmed.
The practical fix costs one sentence: name the exact product or reference being tested, and ask the assistant directly whether it recognizes it, before it generates anything. A reference architecture is easy to adapt once you know what you're actually building toward; it is expensive to discover you built the wrong one four days in.
What actually got built
In the end, the result was not a clone of the project that started the whole exercise, and not a competitor to it either. It was infrastructure for a custom-named AI agent, for the plain reason that the model didn't know what the original project was, and confidently assumed that inventing one was the goal.
So the AI just made something up?
Could this have been avoided?
Was the time spent worthless?
Share this article
Copy the article URL or use your device share sheet.
Want help applying this?
Rough scope is fine. Tell us what you are building, we reply with options and tradeoffs, not a generic pitch.
