An AI assistant that puts the caller's history on the representative's screen
During calls, representatives searched several portals to piece together a customer's history. Bluemesh's lead architect designed an assistant on Microsoft Foundry (formerly Azure AI Foundry) that summarizes that history on screen when a customer calls, with limits on use and a safe fallback when the model is busy.
At a glance
- Service
- AI Solutions Architecture
- Platform
- Azure, Microsoft Foundry
- When
- Between 2022 and 2026
- Who
- Bluemesh's lead architect, in an earlier role. Client not named.
The story
The situation
Knowledge lived in more than one place. During calls, representatives searched several portals to piece together a customer's history: past interactions, open issues and resolved issues.
What was really holding it back
The knowledge had no single source. Success also had to be measured with numbers the business already trusted. So before any design, the architect and the product owner chose key performance indicators (KPIs) the company already tracked, such as average handle time. Because of that, the baseline existed, nobody could argue about the starting point, and the scope stayed small.
What was decided, and why
- One source of truth. Content moved into a headless content management system (CMS), Contentful, which serves content to any application through an API.
- An index updated on every change. Each create, update or delete in the CMS sends a webhook. An Azure Function splits the content into short passages, turns each into a vector (an embedding) and updates Azure AI Search.
- An assistant that looks things up first. The model answers from content it retrieves first (retrieval-augmented generation, or RAG), and an AI agent decides what to retrieve. When a customer calls, the assistant summarizes the customer's history, and Azure Web PubSub pushes the summary to the representative's screen in real time.
- Foundry for governance. Microsoft Foundry was chosen for Azure AI Content Safety, observability and built-in evaluations. The team built its own orchestrator to keep control of each step.
- Limits at the front door. Every model call goes through Azure API Management, which limits how many model tokens (the units of text a model reads and writes) each user can use.
- A safe failure. When the model is overloaded, a circuit breaker stops calling it and shows the representative a clear message. The representative continues as usual, and the call goes on.
How failure was planned
Before release, the architect and the product owner walked through every likely failure: the model is overloaded, the search finds nothing, an answer is slow. They agreed how the assistant should respond to each. The assistant helped the representative; it never spoke to the customer.
The result
The representative sees a summary of the customer's history when the call comes in, instead of searching several portals.
What Bluemesh would do differently today
Ask representatives to rate each summary, so a bad summary becomes a new test case. Add a signature check on the webhook, a queue with retries and a nightly check that the content store and the index still match.
How the parts fit
The parts used in this project, in the order a request moves through them.
- Customer callsthe call event starts the flow
- Orchestratorthe agent plans the summary
- Azure AI Searchhistory and knowledge
- API Managementtoken limits, circuit breaker
- Foundry modelwrites the summary
- Web PubSubsummary on the representative's screen
- Contentful and Azure Functionevery change indexed
Technology used in this project
- Microsoft Foundry
- Agentic RAG
- Azure AI Search
- Azure Functions
- Contentful headless CMS
- CMS webhooks
- Azure Web PubSub
- Azure API Management
- Azure AI Content Safety
- Circuit breaker
- Custom agent orchestrator
- KPI baseline: average handle time
How Bluemesh builds it today
A reference architecture for a new project, based on current Azure and AWS guidance. It describes what Bluemesh would build now, not what was built in the project above.
Foundation
- An AI landing zone on the Azure landing zone, with private endpoints for Foundry, AI Search and Storage.
- Models on Regional Standard deployments in Canada when data must stay in the country. They offer fewer models and less capacity than global deployments, so the choice is written down.
- Software-as-a-service tools, such as the content store, checked for where they keep data.
AI gateway
- Azure AI Gateway, or API Management where the company already runs it: model token limits per user, token metrics, a pool of model deployments with a circuit breaker, and content safety checks on prompts.
- Semantic caching only for general knowledge answers, never for a customer's history.
Retrieval and indexing
- Hybrid keyword and vector search with the semantic ranker, passages split by headings, and a citation on every answer.
- A webhook with a signature check, an Azure Service Bus queue with retries and dead-lettering, Azure Functions, and a nightly reconciliation job.
Safety and testing
- Prompt Shields at runtime against direct and indirect prompt injection, and an injection test set as a release gate.
- A golden set of test questions written with representatives, Foundry evaluations in the release pipeline, and sampled evaluations on live traffic.
- Personal information removed from logs, designed to support PIPEDA obligations.
Operations
- Foundry tracing and Application Insights with OpenTelemetry.
- A dashboard on the KPI agreed at the start, such as average handle time.
- Prompts and model versions pinned in Git, and infrastructure in Terraform with Azure Verified Modules.
Start small
- One team, one type of call, one KPI with its baseline. Expand only when the KPI moves.
Questions
What is agent assist in a contact centre?
In contact centres, the person on the phone is often called the agent. Agent assist is an AI assistant that works beside that person: it reads the customer's history and knowledge articles and gives a short summary, while the person stays in charge of the conversation.
What is agentic RAG, compared with classic RAG?
Classic RAG runs one search and passes the results to the model. Agentic RAG lets an AI agent plan the retrieval, run several searches and combine them, which helps when the answer is spread across many sources.
How can AI reduce average handle time?
By removing the searching during the call. Measure it with a KPI you already track, so nobody disputes the baseline, and expand only when the number moves.
What happens when the model is overloaded?
A circuit breaker stops calling the model for a while and shows a clear message. The representative continues as before, and the call goes on.
Facing the same problem?
Send a few lines about your system. You get a reply with the first questions to answer and a way to start small.
Talk to BluemeshUpdated:
More work
- AI agents for Jira, Confluence and GitHub, inside Microsoft Teams through MCP
- Chat with your business data, without letting AI write SQL
- A document assistant designed so each person sees only what they are allowed to read
- A production generative AI platform with six model providers and more than 40% fewer prompt tokens
- From ASP.NET Web Forms to .NET microservices on Azure, with no big-bang rewrite
- Enterprise architecture aimed at sales: a new biotechnology product line in the public supply chain
- Java EE point-of-sale platforms rebuilt as microservices on AWS
- SAP Business One integrations that keep each system independent
- Moving a large group of servers to the cloud, riskiest dependencies first