· AI dev tools
OpenSearch's Bianca Lewis discusses AI agent mistakes, tracing agent calls with OpenTelemetry
An AI agent might call an incorrect API and still return a perfectly valid response, leading to a situation where a dashboard remains green, which is a peculiar kind of success for developers…
An AI agent might call an incorrect API and still return a perfectly valid response, leading to a situation where a dashboard remains green, which is a peculiar kind of success for developers accustomed to diagnosing issues by spotting failed requests. This scenario is more frequent than many realize. Bianca Lewis, the executive director of the OpenSearch Software Foundation, explained this shift in a discussion with Frederic Lardinois, a senior editor at The New Stack, during AGNTCon + MCPCon North America 2026 in San Jose.
Lewis noted that in this new age of agentic AI, the way we query information is fundamentally different from how humans operate. For developers already familiar with OpenSearch through its use in log analytics or application searching, this change carries implications for the open-source project. Lewis envisions OpenSearch playing a dual role: assisting agents in locating necessary data while simultaneously furnishing developers with visibility into the agent's actions regarding that information.
She recalled a time when a failure, at least, possessed the courtesy of announcing itself, stating, "Error 500 queries used to be the best thing that could ever happen because we would know that [something] went wrong." However, she added, "An agent is not going to give me back an Error 500 message anymore because it might erroneously call the wrong API, but it’s not going to be an error; it's not going to show up as an error." This development necessitates a rethinking of how we design and monitor our applications.
When a search application grants an agent access to several services, each individual call can succeed even if the overall sequence moves the agent away from the user's original request. To address this, Lewis details employing OpenSearch alongside OpenTelemetry to track which APIs and services the agent invoked. By incorporating cost data, teams gain the ability to pinpoint not only where a process incurred high expenses but also where it took a misguided turn. This provides tangible evidence for investigation when the final output seems convincing, yet traditional error logs offer little help.
The difference between the brief context of a single interaction and longer-term data residing in search indexes is also important, especially when a team decides on necessary modifications following a flawed execution. The trace reveals the agent's actual behavior, allowing developers to examine the context the application initially offered to the agent.
The advantage of unifying search and observability onto a single platform becomes clearest for those already utilizing OpenSearch for one of those functions. Lewis described instances where teams begin by implementing observability and subsequently leverage the same technology to construct a search application, thereby capitalizing on existing expertise and prompting a reevaluation of where various copies of business data are maintained.
When Lardinois brought up the concept of data gravity, Lewis countered that the expenses associated with switching platforms should be factored into the total cost of ownership, alongside the operational bills. The process of consolidation naturally requires time, given that teams often maintain production applications for years, possess unexpired contracts, and have skills that need further development. Lewis and Lardinois discussed how a commercial ecosystem provides hosting and support choices, while an open project grants contributors a voice in the features they rely upon.
Lewis stated, "I think that contribution into OpenSearch can take many forms," pointing to avenues like community Slack discussions, pull requests, and user groups for involvement. For those just starting their careers, she sees an opportunity to create a public record of their work on a live system. For seasoned engineers, the systems-level perspective they bring to an incident where an agent confidently provides an incorrect answer is particularly valuable. Lewis has named this evolution, joking, "I always joke — and I can say this because of my age — is that it’s sort of like revenge of the dinosaurs." She concluded that we have reached a point where the individual who grasps the system-level context of the intended outcome with agentic AI is becoming exceptionally critical.
Why it matters
This shift changes how developers observe applications, as traditional error logs may not signal agentic AI mistakes. Tools like OpenSearch are becoming vital for providing the necessary visibility into agent execution paths.





