How Spotify Built One Shared Place to Observe and Evaluate Its AI Agents Spotify centralized agent observability and evaluation on a single shared platform run by its Hendrix AI/ML platform team, after team-by-team evaluation left the company without a common standard of quality, product manager Shreya Venkat and platform engineer Kapil Mirchandani said. Spotify chose to buy rather than build, scoring vendors on 11 dimensions using agents modeled on how Spotify teams build, and picked on scalability, API extensibility and vendor team strength because features looked alike across vendors. Kong AI Gateway carries almost all of Spotify's AI inference and sends each trace to the evaluation platform automatically, serving a service Spotify says reaches about 780 million users. How Spotify Built One Shared Place to Observe and Evaluate Its AI Agents Shreya Venkat, Product Manager, and Kapil Mirchandani, Platform Engineer, of Spotify's Hendrix AI/ML platform team explain how they chose a shared observability and evaluation platform for agents, and why Kong AI Gateway feeds it. Kong Key takeaways - Spotify moved agent observability and evaluation onto one shared platform, because team-by-team evaluation left no common standard of quality. - The team chose to buy a platform and not build one, after scoring vendors on 11 dimensions with agents modeled on how Spotify teams build. - Features looked alike across vendors, so three things decided it: scalability, API extensibility, and the strength of the vendor's team. - Kong AI Gateway carries almost all of Spotify's AI inference and sends each trace to the evaluation platform automatically. This content contains a video which can not be displayed in Agent mode Type a prompt into Spotify, and an AI agent reads your whole music profile and builds you a new playlist. That agent is one of many. Spotify, the audio streaming service that delivers music, podcasts, and audiobooks to about 780 million users, ships agentic features that do very different jobs. Two more are AI DJ and a taste profile agent, which reads that same music profile and writes words that describe what the listener plays. Building agents like these has become so easy that employees who aren't engineers ship them too. But that ease has a catch. Every team that ships an agent decides for itself how to evaluate and observe it, or whether to. The result is that nobody can compare results across the company. Which agents are getting better, and which are slipping? And should Spotify build the tooling to find out, or buy it? Shreya Venkat, a product manager at Spotify based in New York City, and her colleague Kapil Mirchandani, a platform engineer on machine learning infrastructure, work on Hendrix, the AI/ML platform that powers Spotify. Their platform team's job is to standardize quality across the company, which means centralizing how Spotify evaluates and observes its agents. The team also manages Kong AI Gateway, so it sits on both sides of this story: it chose the evaluation platform, and it runs the gateway that feeds it. Their answer comes with a caveat they state on stage, and it is the most useful part for anyone facing the same decision. What does a shared agent evaluation platform need to do? That answer rests on two ideas, observability and evaluation, and Venkat defines both plainly. "Observability really means seeing what your agent is doing and why." She says: “what the agent is doing right now, and how it got from point A to point B. Evaluation is the second idea: the continuous measurement of how good an agent is, followed by iterating on it.” Frequency matters here. An occasional check isn't enough, because " if you don't evaluate your agents often enough, they're going to degrade over time in terms of quality," Venkat says. She points to agentic incidents elsewhere in the industry, where agents don't do what they should, and ties them to missing evaluations and guardrails. Spotify's problem was where that measurement happened. Teams ran their own evals and observability, so the work was fragmented across the company. "There's no one way in which we're doing evaluations of agentic experiences," Venkat says. Her answer is a shared platform. If one team evaluates one way, a second team does it differently, and a third doesn't do it at all, the company has no common standard of quality. Scale raises the stakes. "We have almost a billion customers. So we really have a responsibility to them to put out the highest quality AI." — Shreya Venkat, Spotify How does Spotify strategically approach platform decisions? With a shared platform settled, the next decision was who would provide it. Building meant Hendrix would own, maintain, and ship the platform for all of Spotify. Buying meant bringing in an external vendor and building on top of its product. Building has one big advantage: full control, so bespoke use cases like prompted playlists and taste profile are accounted for. The costs are steep. "Maintaining and building an evaluation platform like this is so expensive," Venkat says, in tokens and in people. Hendrix is a small team, and evaluation methods change daily, with a new research paper appearing almost every day. Keeping up would take serious engineering power, and the team saw a real risk of underinvesting over time. Buying flips the trade-off. A vendor's platform is ready out of the box, and a dedicated team works on it, which frees Hendrix to think about compliance, safety, and sustainability. A customer community also pushes the vendor's roadmap, so Spotify would learn how the wider industry does observability and evaluation, and not only what its internal customers say they need. The risk is fit. Spotify has many datasets, many traces, and specific checks it runs constantly, and a vendor may not agree to all of it. "They don't want to bloat their own product," Venkat says. How did Spotify pick a vendor? Mirchandani walked through a three-stage pipeline. In stage one, the team mapped the vendors in the market, reviewed high-level features and functionality, assessed architectural fit, and cut the list down to a short list. Stage two was the real test. To measure vendors against realistic work, the team built what it calls representative agents, modeled on how people build agents at Spotify. It interviewed teams across the company about their agents' architecture, including how many turns and tool calls they have, and about the evaluation workflows they want to follow. Then it built an agent that sent traces to each shortlisted vendor, ran the evaluation workflows it expected teams to use, and scored every vendor across 11 dimensions. Those dimensions had subcategories. Infrastructure security covered data residency and deployment model, whether hybrid or completely self-hosted. Evaluation covered LLM-as-a-judge functionality and whether the platform can call internal tools. Stage three went back to the stakeholders to realign and plan the rollout of the chosen vendor. The scoring then produced an awkward result: the vendors looked alike. What decided it when the features looked the same? "They converged when it came to features," Mirchandani says, so no single feature could separate them. The team turned to the three dimensions that mattered most to Spotify. - Scalability. Spotify has 780 million users, so the platform has to take a ton of traces and keep scaling as the user base grows. The load test measured four things: ingestion throughput, API latency, error rates, and query performance. Most vendors performed similarly on the first three. The gaps showed up in query performance, which Mirchandani considers important because "fast querying also enables users to build on top of the platform." - API extensibility. "We think that no single vendor would be able to cover all the bespoke use cases that we could have at Spotify, " Mirchandani says, so the team tested the strength of each API. It checked whether everything possible in the UI is possible through the API, and whether you can query and filter programmatically. It also checked the documentation, which Mirchandani considers the most important part. His example is an annotation tool built on the platform that renders the Spotify home screen, lets an annotator rank the recommendations, and sends the results back to the platform's back end. - Vendor team strength. The team watched how well each vendor engaged with Spotify and how its engineering progressed throughout the proof of concept. Mirchandani calls it the most subjective dimension, and still an extremely important one. Why Spotify's answer may not be yours Those three dimensions came from what Spotify values, and Venkat sums that up in three words: extensibility, scale, and culture. Extensibility, because Spotify does many unique things and needs to build on top of its evaluation platform. Scale, because with 780 million customers the platform has to be load tested and able to keep growing. Culture, because if Spotify works with another team, it wants great collaborators. Venkat is direct that this ranking belongs to Spotify, and she tells other companies to set their own. "Think about what your company wants to optimize for before you pick, because I guarantee you it's different from ours." — Shreya Venkat, Spotify How does Kong AI Gateway feed the evaluation platform? Choosing the platform was half the work. The other half was getting data into it, and that is where Kong comes in. Spotify runs all, or almost all, of its AI inference through Kong AI Gateway. The gateway automatically picks up a trace and sends it to Spotify's evaluation platform, so observability and evaluation work without extra wiring. "Engineers don't have to do anything to set it up. As soon as they onboard onto the gateway, they're good to go," Venkat says. The gateway adds a second benefit for evaluation. An agent that goes through it can be sent to multiple LLMs at once. Instead of evaluating an agent with one LLM, a team can evaluate it with three or four, and those results land in the evaluation platform automatically. Venkat says that gives breadth and depth of evaluation. Developers see the same setup from the other side. Mirchandani's team manages the gateway and gives every developer a unified API for calling models, which means a single endpoint. "They can just change a header and call different models," he says. Spotify chose Kong for the same reasons it chose its evaluation platform. The first is scale: many teams have onboarded onto the gateway with no problem, and the team reports a great reliability percentage, though the session gave no figure. The second is extensibility, since Spotify has built a lot on top of the gateway. Learn more about Kong AI Gateway https://konghq.com/products/kong-ai-gateway Kong AI Gateway . What changed once the platform was live? The shared platform is implemented, and many engineering teams use it. The biggest gain is that results are now comparable. "We're now able to do apples to apples comparisons across the company," Venkat says. Her example: someone in the personalization organization can look at an eval run by someone in the platform organization, see how they did it, and learn what to do differently. A second gain involves scorers, which Venkat considers the most important part of an eval. LLM judges can now be quality-tested, uploaded to the shared platform once, and used across the company. The speakers shared no figures for quality improvement, incident reduction, adoption, or cost, so these gains are qualitative for now. Four lessons from Spotify Taken together, the session leaves four lessons for any team in the same position. - Optimize for what your company cares about. Spotify weighted extensibility, scale, and culture. Your ranking will differ, so decide it before you look at vendors. - Evaluate continuously, not occasionally. Agents degrade over time if they aren't evaluated often enough. - Run evaluation on a shared platform. It replaces team-by-team evaluation with one standard of quality, and makes results comparable. - Test your scorers. An eval is only as good as its judges, so quality-test your LLM judges and share the ones that hold up. Six questions to answer before you choose an evaluation platform Six questions to answer before you choose an evaluation platform Those lessons turn into six questions to put to every vendor, and to your own team, before you commit. - Which use cases must it support, and will the vendor commit to your bespoke needs? - Will it hold up at your trace volume, measured by ingestion throughput, API latency, error rate, and query performance? - Can you do through the API everything the UI can do? - Is the API documented well enough for your teams to build their own tools on it? - How well does the vendor's team engage and ship during a proof of concept? - How will traces reach the platform without every team wiring it themselves? AI cost governance is the set of policies and real-time controls that keep large language model LLM and agent spend inside approved budgets. It covers four jobs: visibility into what's being spent, attribution to the team or agent spending it, enf Kong AI Governance Roadmap: A 4-Step Plan To Stop Model, MCP, and Agent Sprawl “How much are we spending on AI models?” It's the question everyone dreads, and as a marketer, even I can't answer it. I can't list the models in use, the MCP servers running on people's laptops, or the agents two teams built twice. That gap is a re What Gartner & Forrester See: API Infrastructure is Becoming AI Infrastructure "Managing and governing APIs is now critical for every organization, as API infrastructure quickly becomes AI infrastructure ." That's from the 2026 Gartner® Magic Qu Eric Pulsifer Agent, Identity, and MCP Governance in One Control Layer What is unified AI governance? Unified AI governance is a single runtime control layer that enforces identity, access, policy, and audit across every AI call — LLM requests, MCP tool calls, agent-to-agent traffic, and traditional APIs — using the s An AI coding agent is software that writes, tests, and ships code independently. This level of autonomy earlier tools never had. It doesn't wait for you to accept a suggestion line by line. It takes a goal, breaks it into steps, and executes. To do Kong AI Token Cost Management: Why AI Spend Gets Out of Control and How To Fix It This post is based on Kong's webinar on token cost management. Watch it below, or keep reading for the breakdown. Token cost management is how a business tracks, controls, and governs what it spends on AI model usage, the same way it already track Kong AI Governance Tools and Platforms: An Enterprise Guide AI adoption is outpacing the speed at which many organizations can establish standardized oversight. In fact, Stanford HAI reported that 78% of surveyed organizations were using AI in 2024, a significant jump from 55% the previous year AI Index Re Kong AI Cost Governance: Controlling Agent and LLM Spend AI cost governance is the set of policies and real-time controls that keep large language model LLM and agent spend inside approved budgets. It covers four jobs: visibility into what's being spent, attribution to the team or agent spending it, enf Kong AI Governance Roadmap: A 4-Step Plan To Stop Model, MCP, and Agent Sprawl “How much are we spending on AI models?” It's the question everyone dreads, and as a marketer, even I can't answer it. I can't list the models in use, the MCP servers running on people's laptops, or the agents two teams built twice. That gap is a re What Gartner & Forrester See: API Infrastructure is Becoming AI Infrastructure "Managing and governing APIs is now critical for every organization, as API infrastructure quickly becomes AI infrastructure ." That's from the 2026 Gartner® Magic Qu Eric Pulsifer Agent, Identity, and MCP Governance in One Control Layer What is unified AI governance? Unified AI governance is a single runtime control layer that enforces identity, access, policy, and audit across every AI call — LLM requests, MCP tool calls, agent-to-agent traffic, and traditional APIs — using the s An AI coding agent is software that writes, tests, and ships code independently. This level of autonomy earlier tools never had. It doesn't wait for you to accept a suggestion line by line. It takes a goal, breaks it into steps, and executes. To do Kong AI Token Cost Management: Why AI Spend Gets Out of Control and How To Fix It This post is based on Kong's webinar on token cost management. Watch it below, or keep reading for the breakdown. Token cost management is how a business tracks, controls, and governs what it spends on AI model usage, the same way it already track Kong AI Governance Tools and Platforms: An Enterprise Guide AI adoption is outpacing the speed at which many organizations can establish standardized oversight. In fact, Stanford HAI reported that 78% of surveyed organizations were using AI in 2024, a significant jump from 55% the previous year AI Index Re Kong AI Cost Governance: Controlling Agent and LLM Spend AI cost governance is the set of policies and real-time controls that keep large language model LLM and agent spend inside approved budgets. It covers four jobs: visibility into what's being spent, attribution to the team or agent spending it, enf Kong AI Governance Roadmap: A 4-Step Plan To Stop Model, MCP, and Agent Sprawl “How much are we spending on AI models?” It's the question everyone dreads, and as a marketer, even I can't answer it. I can't list the models in use, the MCP servers running on people's laptops, or the agents two teams built twice. That gap is a re What Gartner & Forrester See: API Infrastructure is Becoming AI Infrastructure "Managing and governing APIs is now critical for every organization, as API infrastructure quickly becomes AI infrastructure ." That's from the 2026 Gartner® Magic Qu Eric Pulsifer Agent, Identity, and MCP Governance in One Control Layer What is unified AI governance? Unified AI governance is a single runtime control layer that enforces identity, access, policy, and audit across every AI call — LLM requests, MCP tool calls, agent-to-agent traffic, and traditional APIs — using the s An AI coding agent is software that writes, tests, and ships code independently. This level of autonomy earlier tools never had. It doesn't wait for you to accept a suggestion line by line. It takes a goal, breaks it into steps, and executes. To do Kong AI Token Cost Management: Why AI Spend Gets Out of Control and How To Fix It This post is based on Kong's webinar on token cost management. Watch it below, or keep reading for the breakdown. Token cost management is how a business tracks, controls, and governs what it spends on AI model usage, the same way it already track Kong AI Governance Tools and Platforms: An Enterprise Guide AI adoption is outpacing the speed at which many organizations can establish standardized oversight. In fact, Stanford HAI reported that 78% of surveyed organizations were using AI in 2024, a significant jump from 55% the previous year AI Index Re Kong Ready to see Kong in action? Get a personalized walkthrough of Kong's platform tailored to your architecture, use cases, and scale requirements.