We gave our AI builder the right tool. It still guessed.
Someone asked our AI builder, "Is my app live?" It said "Yes." It hadn't checked. It couldn't.
Another asked how to add login. Base44 has login built in, one click away. The builder didn't know, so it wrote a whole login page from scratch. Confident, polished and completely unnecessary.
Both answers sounded right. Getting the builder to check instead of guessing took zero new tools and tests that check one rule at a time.
TL;DR
About 5% of the messages people send our AI builder are questions about the platform itself, and in our test set about 1 in 4 of those answers went wrong.
What moved that number used zero new tools. We taught the docs search tool the builder already used four new verbs, tested one rule at a time with unit evals, attached the app's live state to search results the model was already reading and generated the builder's map of screens from our own code, so plain code can check every direction it gives. On platform questions, wrong answers went from about 1 in 4 to about 1 in 8 on one model, and from about 1 in 5 to about 1 in 15 on Opus 5.5.
The harness is what stays
I'm Eliran, a senior AI engineer on the AI Infra / Builder team at Base44. I work on the harness around our builder, the agent that turns "I want a booking app for my yoga studio" into a working app. Models change every few months. The harness is what stays.
Small in volume, big in what it cost
Most people ask the builder to build things. About 5% of messages are questions about the platform itself: my domain, my users, my settings, why something failed. These are the moments someone is about to publish, share their app or pay. A wrong answer here costs trust, not a retry.
On those platform questions, in our test set, about 1 in 4 answers went wrong. And they were the worst kind of wrong, the kind that sounds right.
The obvious fix: a tool per question
The obvious fix is a tool per question. A tool for domain status, a tool for login settings, a tool for function logs and so on.
The catch is that tools aren't free. Every tool's description rides along on every single request, whether the agent uses it or not, and every extra tool is one more thing the model can pick wrong. Keep going and you get an agent that's slower, pricier and more confused, with a tool list that never stops growing.
Zero new tools, four new verbs
So we built zero new tools.
Our Infra team had already built a public API for the whole platform, with every route described, because developers and outside agents use it. That API is why this was possible. And the builder already had a tool it used all the time: searching our docs. So we taught that one tool a few new verbs:
- state: what's true about this app right now?
- catalog: what can I look up?
- describe: how does this part work?
- link: for anything that changes something, give the person a button
"Four verbs" might sound like four tools in a trench coat. It isn't. A tool per feature means every request carries every tool's description. Here, the request carries a few lines, and the list of what can be looked up is fetched only when it's needed.
It's read-only, scoped to the app you're working on, and anything that changes something becomes a button you click. We even learned that "read" isn't always harmless: one route that looks like a simple fetch actually runs an AI generation. So the builder only gets routes we've marked as safe to read.
Unit evals: one rule at a time
To know whether it worked, we use what we call unit evals. A normal eval builds a whole app and asks "Is it good?" That's slow and noisy, and when it fails it can't tell you which rule broke. A unit eval checks one rule at a time, like a unit test for the prompt.
Here's one. A realistic app that was never published, and a message the way people really write it: "I published it, why can't my friends see it?" The case runs the real builder turn, with the same prompt, tools and checks as production, and stops as soon as the answer is decided. So it costs a few model calls, not a whole build.
Then comes the hard part: checking the answer. You can't assert on exact text. Ask the same question twice and you get two different, equally fine replies, sometimes in another language. A regex or a keyword list breaks on the first rephrase. So the assertion is one plain yes/no question for Jev, the judge model we use: "Does the reply say the app is live?" Yes means fail. One question per rule, because when we packed several rules into one question, the judge got sloppy. Anything code can check, like whether the build passed, stays in plain code.
And a test that can't fail is worse than no test, because it makes you feel safe. So every case proves itself twice. It must fail when we remove its rule from the prompt, and it must catch a scripted bad answer like "Yes, it's live." Models aren't deterministic, so each case runs several times on each model, and we look at how often it passes, not whether it passed once.
The model didn't use the tool
So, did the new verbs fix it? On one model, yes. On the other, not much. That was the surprise.
We run more than one model. On Opus 5.5, the builder checked the app's state most of the time it needed to. Our other model checked only about a quarter of the time. The rest of the time it searched the docs and answered from memory. Same tool, same prompt, very different habits. We built the tool. The model didn't use it.
So we stopped waiting for the model to ask. Both models were already searching our docs before answering these questions. When a search matched a settings page in the dashboard, we attached the app's live state to the result: "Here are this app's settings right now. Trust these over memory and the docs." Our other model also needed one short line in its prompt telling it those settings would be there.
The evals told the story. On platform questions, wrong answers went from about 1 in 4 to about 1 in 8 on our other model, and from about 1 in 5 to about 1 in 15 on Opus.
The lesson I'd hand any harness engineer: put the truth where the model is already looking, so it never has to fetch it.
A map of every screen, generated from code
Live state fixed what's true. It didn't fix where things are.
The builder kept sending people to places that don't exist. "Go to App Settings." There's no "App Settings." It's called "Settings." In one day's sample, a fifth of the answers that gave directions named a page that wasn't real.
The cause was simple. The builder's list of pages was written by hand, and the product moved on without it. Someone renames a tab or moves a button, and the list is wrong the next day.
So we stopped writing it by hand. Every time we build the product, a script reads the product's routes and page code and produces a map of every screen. Before the builder answers, it gets the screens that match your question. After it answers, plain code checks every "go to X, then Y" against the map. If a path doesn't exist, the builder gets one chance to fix it before you see it.
The model writes the answer. Code checks the facts.
What I'd hand another engineer building an agent
1. Every tool costs you. Give your agent the API you already have, behind one tool.
2. Test one rule at a time, and prove the test can fail.
3. Put the truth where the model already looks, instead of waiting for it to ask.
4. Generate facts from your code, and let code check the answer. Hand-written facts drift.
Is my app live?
Ask the builder "Is my app live?" today and it doesn't say yes. It checks. It's still wrong sometimes. But when it is, we can see which rule broke, and that's what lets us fix it.





