Intro0:00
Hey everyone, I'm Soyim, I'm the CEO and Co-Founder of StarlightSearch, and today my talk is on user signals die after retrieval boundaries. So we'll look into what are agents, essentially why agent fails, what is the cause of fails in retrieval particularly, and how to make actually signals cross the retrieval boundary, and how to make your agent basically outcome-fair.
Why Agents Fail0:29
So let's get started. What is an agent? An agent is an LLM that has agency to reason, invoke tools, interact with the real world, retrieve the memory to complete the task. One major loop here is missing is learning.
It should also learn from what worked and what didn't work. Suppose if I have to
explain what is agent, I can explain with React agent. So if I have to explain what agent is, I'll explain it with React agent. So basically, user prompt the agent, LLM execute it in a loop, client tool retrieval search, and then pause when the task is complete.
This is very basic React architecture. One thing that is missing is how to make agent learn from the outcome. So agent keeps failing at the same task. Gartner reports that 85% of AI objects fail in production and source in McKinsey's 2025 report.
The problem came out to be most of the time is that retrieval is static. 73% of RAG pipeline fails because of retrieval not generation and context stuffing. So a recent post from Ram Srinagar Shah, the ex-CTO of Pinecone, said, "We have been optimizing for the wrong thing."
You are paying a note for your agent's memory. This is probably broken. And we have been optimizing for the wrong things. We made wrong answers appear faster and cheaper, but we forgot to make retrieval learn. So why does this does it matter?
Again, the third problem is agents are not outcome-informed. So there's a missing layer between evals and action. Your observability has all the traces, all the stack that capture observability is the stack that capture every tool call, every LM completion, every exceptions.
Your eval suite judges whether the final output was correct or wrong, basically pass or fail. But these evals are not reflected in agent context skills, MD files, or agent action in any ways,right? So the agent doesn't has any access to why yesterday's runs passed or fail.
The eval signal dies in the dashboard. This is a missing layer: a system that consumed traces, absorb eval, and convert both into retrieval guidance for future runs. So there's a manual improvement tax, and engineer actually has to sit and see if the eval and observability perform well.
Rewrite the prompt, redeploy it, either upgrade to expensive model, restructure tool, or harness, or fine-tune the custom models.
Memory Shortcomings3:37
Why are current memories failing? Why? Memories was designed to actually address this, but
it's not. So let's see what we have as a current system and current memory is that they basically store user preferences, profile, conversational history, or long-lived personalization. So chat experience is not self-improving learning systems for production. If you see the already existing approach in the market, there's LangChain, there's Memzero, which does extracted fact preferences.
The user's retrieval signal is embedding similarity. Does it learn from output? No. So we have come up with something called utility score, which is a similarity weighted by how useful it is for the agent to execute the task.
Utility Score4:22
It has actually the history of past traces and past outcomes. So we came up with agent RTX, and that is agents with runtime experience. It's a runtime layer that let production agent improve from experiences without retraining, fine-tuning, or manual prompt training.
It's a bit different from compile time like DSPY because you bake in all the lessons in the prompt. Here it's actually improving while it is executing the task. So which again introduces utility score. So you do not retrieve by keyword.
You retrieve by semantic similarity to the current task, weighted by whether those memories have historically helped or hurt the execution or the outcome. The eval outcome becomes a first-class signal in the retrieval re-ranking and not just for employee.
Reasoning Memory5:41
One of the key things is it treat memory as reasoning, not as facts. Static fact with no context and no history, but reasoning. Like suppose if there's a if there is a customer support bot looking for a refund, it will not only say, "Hey, user prefers a dark theme," or "user prefers to be called by a shorter name."
It actually reason about a query. Like if someone asks for a refund, you should check the settlement before refunding it so that the customer doesn't get paid the refund twice. So re-rank based on usefulness. Context is updated based on task.
Benchmarks6:31
So this is a very big thing because most of the agents fail with context stuffing, and this has been brought up in the past and learned from history and reasoning,right? Talking about benchmarks. So we have benchmarked our memory system reflect with on Tao Bench, which essentially measured if agents have followed the policy well or not.
So we have seen the performance improve from 66 to 76% without baking in skills, and with skills, reflect performs at 80. So once there are enough memory, like 10 memories, what we do is we bake in the reasoning and the understanding into skills so that your agent always remains updated.
What happens most of the time we have seen, suppose you have a product SQL agent and there's a system, there's a column in system prompt. Even though that column is no useful anymore, it remains in the system prompt.
So there's no systemright now that can update that. Hey, there's no columnright now called this. So maybe probably you shouldn't entertain it in the future. And this is possible with skills that because agents always uses calls that skill updated skill all the time.
And the similar behavior has been seen in GPT-5.4. We have also benchmarked on agentic task, which essentially test a model's ability to reason, plan, and use tools over extended multi-step workflows rather than measuring a static Q&A. So you can see here with the suppose the human last exam with RAG, you get 47.5.
If it is starting from the baseline 35.7, with the other memory system it gets to 58.2, but with the refilled memory system it gets to 61.3%. So this kind of trend is shown in another
agentic benchmarks as well, like Big Code Bench, like Long TV, etc. So of course there are limitations to this
approach. First of all, there's a cool start. So in the beginning, it's pure semantic search until enough reviews have been accumulated. There's a utility drift. Maybe sometimes similar memories could come. There are a lot of problems that could come at scale with this experience, but we have come back most of them.
Limitations8:56
There's a review quality. So noisy labels can make the utility noisy as well. And there is a hyperparameter call Lambda that is associated with credit and re-ranking. So we have built reflect in such a way that most of these problems and most of these limits are now reduced except for cool start, which we cannot do much about it.
Demo9:45
Let's now get into the demo.
So let's check this demo.
So it's basically a product SQL demo. I'll give ask it to search for some product in a SQL database and then see if it is able to find it out.
So it gave it find me a gaming mouse.
Zero memories retrieved. I couldn't find a gaming mouse. Okay. So maybe let's just go and see what's happening in the dashboard.
Okay, it came out that
So coming on another benchmark that with this agent bench with essentially measures, if agent has actually done theright reasoning planning and have followed
which essentially test a model's ability to reason plan and use tools over extended multi-step workflows rather than measuring a static Q&A. So you can see here with the suppose the human last exam with RAG, you get 47.5. If it is starting from the baseline 35.7, with the other memory system it gets to 58.2, but with the refilled memory system it gets to 61.3%.
So this kind of trend is shown in another
agentic benchmarks as well, like Big Code Bench, like Long TV, etc.
Wait, let's check. It didn't find I couldn't find any gaming mouse in the product catalog. So suppose I want to mark it fail and tell it give any relevant
because there is a wireless mouse in the database and I have submitted the failure. This was the input. This was the response. I couldn't find any. And this was a trajectory and tool collector. So you can see the product is empty with this product or with this query.
Let's check again what happens now.
Let's see now what happens.
I'll see.
So it searched a wireless mouse.
Let's see what happens in the dashboard now.
Find me a gaming mouse was input. The response was, "I found a product related to mouse as we asked it to find any kind of relevant." But the most important thing is how the tool call evolved. You can see that previously the tool calls or the trajectory used to look just with one search, that is search products it called, and the product was empty.
Now the trajectory has changed in production and it found something in the product and it is still calling search product tool call, but it is getting some answer that we fed in as a feedback. So that's the demo.
And the most important thing that is happening over here is it's forming memories, which is retrieved based on the utility score. That is the score which basically keeps improving, keeps re-ranking itself on the basis of how useful that memory was.
Baking Skills14:06
So
you can see from these traces, past traces, which memory. So this memory scores keep changing and after a certain while, after suppose five reviews need, you can bake in these findings or these new updates in a skill without so without changing any system prompt, you can actually update certain things that agent
draws a lot from. So you can update the skill, which is very cool. So I hope everything was
I hope you get to try this new feature, this new runtime experience that we have built.
Outro15:16
If you want more details, you can visit our website and you can also contact me at sonam@starlitesearch.com or visit me. Thank you.





