AI coding agents turn into a productive but unreliable tool when they aren't given context about the internal codebase. According to new research from Bucharest-based enterprise AI startup DesignVerse, agents working without context used the company's approved components in fewer than 60% of tasks. In the remaining tasks, the agents preferred components they made up themselves or generic, publicly available solutions.

What happened?

DesignVerse's research found that AI coding agents given no context about the company codebase used approved internal components in fewer than six out of ten tasks. In the remaining tasks, the agents either rewrote an existing component from scratch or suggested an open-source/public alternative. Engineers then had to scan this output afterward and bring it in line with company standards — the time saved during generation was lost again during review and correction.

Why does it matter?

Large language models are trained on public code: popular repositories on GitHub, Stack Overflow answers, common open-source packages. When a model answers a question like "how do I write a login form," it statistically produces the most common pattern — a well-known UI library, a standard validation pattern. The company's own design system, internal API wrappers, or security layers aren't in that training data, because they were never public. The model doesn't know they exist; it's simply predicting the most likely continuation.

This gap isn't new to the industry. Early versions of GitHub Copilot drew similar criticism: suggestions sometimes included insecure patterns or deprecated interfaces. The codebase-indexing features in tools like Cursor, Claude Code, and Sourcegraph Cody target exactly this problem — the model scans actual files and internal libraries in the repo and gathers context before generating a response, in other words applying retrieval-augmented generation (RAG). DesignVerse's finding gives concrete shape to the gap that opens up when this context layer isn't set up or is switched off.

Who does this affect, and how?

The result isn't just a cosmetic inconsistency. When an agent rewrites an internal helper function, the codebase accumulates two different implementations doing the same job, making it harder down the line to figure out which one is "correct." When a public package or snippet of code leaks into the project, a license-compliance problem arises — especially in a closed-source product. And when an agent suggests a package name that doesn't exist and an engineer installs it without noticing, attacker-registered fake packages can slip through — a risk the literature calls "slopsquatting."

DimensionContext-free agentCodebase-connected (RAG-assisted) agent
Component selectionInvented or generic packageApproved internal library
License riskHighLow
Review burdenEvery output checked from scratchLess drift, faster approval
Design consistencyMismatched with existing systemAligned with existing pattern

The gap in the table explains why the productivity promise doesn't play out the same way everywhere. Even though the agent appears to speed things up, when there's no context, the time gained is spent on review and correction — in some teams, the net gain ends up close to zero.

What's next?

Enterprises' priority will shift from the model itself to the infrastructure that feeds the codebase into it: repository indexing, vector databases, static-analysis gates that enforce the approved component list. On the vendor side, expect companies like GitHub, Cursor, and Anthropic to push "enterprise context" features to the forefront. On the independent benchmarking side, new comparisons that distinguish between "the model can generate code" and "the model can generate compliant code" look set to increase.

The fact that AI agents can write code doesn't mean they write the right code. Agents deployed without context engineering turn a short-term speed gain into long-term technical debt; what enterprises actually need to invest in today isn't the model itself, but the context infrastructure that feeds it.