Self-evolving Agentic Customer Support System at LinkedIn
LinkedIn presents a self-evolving agentic customer support system that combines retrieval-augmented generation with evolutionary auto-prompting and a modular evaluation framework to achieve continuous, safe improvements without retraining foundation models, resulting in significant gains in self-serve resolution and routing accuracy during production A/B testing.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you're trying to teach a robot to be the perfect customer service agent for a massive, ever-changing company. You might think, "Just give it a big brain and a rulebook!" But here's the catch: the company's products, rules, and even the language it uses change every single day. If you just give the robot a static rulebook, it will quickly become confused, start making things up, or give out-of-date advice. This is the problem of "static" AI in a dynamic world. To solve this, scientists have been experimenting with a few key ideas. First, there's Retrieval-Augmented Generation (RAG), which is like giving the robot a library card so it can look up facts in a database instead of guessing from its memory. Second, there's Prompt Engineering, which is the art of writing the perfect set of instructions (a "prompt") to tell the robot how to think and act. Finally, there's Evolutionary Search, a method inspired by nature where you create many slightly different versions of a solution, test them, and keep the best ones to create the next generation. The big question researchers are asking is: Can we combine these tools to build an AI agent that doesn't just follow rules, but actually learns and improves itself automatically as the world changes, without needing a human to rewrite its code every week?
This is exactly what the team at LinkedIn set out to build: a Self-Evolving Agentic Customer Support System. Think of it as a customer service robot that has a built-in "coach" and a "gym." Instead of a human engineer spending weeks tweaking the robot's instructions, the system runs a continuous loop of training, testing, and upgrading itself.
Here is how the magic happens. The system treats the robot's instructions (the "prompt") like a living organism. It uses an Auto-Prompt Engine that acts like a genetic algorithm. Imagine a coach who writes 100 slightly different versions of a playbook for the robot. The robot tries them all out on practice questions. The coach then uses a team of "judge" robots to grade the performance. The best playbooks are mixed together (crossover) and tweaked slightly (mutation) to create a new, smarter generation of instructions. This happens automatically, over and over, ensuring the robot's instructions stay perfect even as LinkedIn's products change.
Crucially, this robot doesn't just guess answers. It is equipped with a RAG tool that it can choose to use. When a user asks a question, the robot decides, "Do I know this, or do I need to look it up?" If it needs to look it up, it searches a versioned library of help articles and product docs. This prevents the robot from "hallucinating" (making things up). In fact, in their tests, this smart, self-evolving robot hallucinated less than 0.1% of the time, compared to about 5-6% for standard systems that just read a document and guess.
The team didn't just build this; they tested it in the real world. They ran a two-week experiment where half of LinkedIn's real users got the old, static robot, and the other half got the new, self-evolving one. The results were a massive win for the new system. The self-evolving robot helped users solve their own problems without needing a human agent 9.0 percentage points more often. It also helped users cancel subscriptions on their own 4.8 percentage points more often. Perhaps most impressively, it got much better at figuring out which human department a user needed to talk to, improving routing accuracy by 30.6 percentage points.
The paper makes it clear that this isn't a magic wand that solves everything. The system still relies on having good information in its library; if the library doesn't have the answer, the robot won't invent one. Also, the "evolution" process takes time and computing power, running on a weekly cycle rather than instantly. But the study proves a vital point: by treating prompts, retrieval, and evaluation as a closed, version-controlled loop, we can build AI agents that don't just sit there and get old. They can grow, adapt, and get smarter all on their own, keeping up with the fast-paced world of enterprise support.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.