Pankaj defines an agent as an LLM that reasons, uses tools, interacts with the world, and retrieves memory. She says a learning loop is missing: agents should use what worked and failed to improve future runs. In her ReAct example, the agent searches and acts in a loop but does not learn from the outcome.
User Signal Dies at the Retrieval Boundary
Speaker
Sonam Pankaj, CEO and co-founder of StarlightSearch, explains how agents can use past outcomes to improve retrieval and future task execution at an AI Engineer talk.
Pankaj argues that static retrieval can cause agents to repeat failures. Observability captures traces and evaluations judge final results, but those evaluations do not inform the agent’s context or actions. Engineers must manually review runs and change prompts, models, harnesses, or training.
She says common memory systems store preferences, profiles, and conversation history, while retrieval often relies on embedding similarity without learning from outcomes. StarlightSearch’s Agent RX uses a utility score that combines task similarity with whether a memory helped or hurt past execution. For a refund request, a useful memory might advise checking settlement before issuing a refund to avoid paying twice.
Pankaj says task relevant context can improve policy following without stuffing every lesson into the prompt. She reports Tau-Bench performance rising from 66% to 76% without baked in skills, and to 80% with skills; she also reports gains on agentic benchmarks. She names cold start, utility drift, noisy reviews, and the reranking parameter lambda as limitations.
In a product SQL demo, the agent initially fails to find a gaming mouse and retrieves no memories. After the failure is reviewed, a later gaming mouse query searches for a wireless mouse and finds a related catalog product. Pankaj says repeated reviews can update memory scores and eventually be distilled into skills without changing the existing prompt.
Takeaways
- Capture task outcomes alongside traces so retrieval can use evidence from prior runs.
- Rerank memories by whether they helped complete similar tasks, not similarity alone.
- Use concrete failure reviews to improve tool guidance, while accounting for noisy labels and cold start.
- Promote repeatedly useful reasoning into skills when enough reviewed examples accumulate.
Mentioned in this talk
Search inside this talk
What was claimed 8
- foundedSonam Pankaj founded
StarlightSearchco-founder“the CEO and co-founder of StarlightSearch”
YouTube Verified4 sources· Talk, Web· archived
- ceo ofSonam Pankaj CEO of
StarlightSearch“I'm Sonam, the CEO and co-founder of StarlightSearch”
YouTube Unverified1 source· Talk
- featureAgent RX: Helps an LLM agent improve from experience during task execution without retraining, fine-tuning, or manual prompt engineering
“lets a large language model agent improve from experience without retraining, fine-tuning, or manual prompt engineering”
YouTube Unverified1 source· Talk
- featureAgent RX: Uses task similarity weighted by whether memories historically helped or hurt execution outcomes to rerank retrieval
“weighted by whether those memories have historically helped or hurt the execution or outcome”
YouTube Unverified1 source· Talk
- metricAgent RX: On Tau-Bench, performance improved from 66% to 76% without baking in skills, and reached 80% with skills
“performance improve from 66% to 76% without baking in skills, and with skills, performance reaches 80%”
YouTube Unverified1 source· Talk
- metricAgent RX: On the Human Last Exam with drug, score increased from a baseline of 35.7 to 61.3% with the refined memory system
“Starting from the baseline, it gets 35.7 ... with the refined memory system, it gets to 61.3%”
YouTube Unverified1 source· Talk
- featureAgent RX: Can form memories from feedback and retrieve them according to a utility score that changes as their usefulness is reviewed
“it's forming memories, which are retrieved based on a utility score”
YouTube Unverified1 source· Talk
- featureAgent RX: Can bake accumulated memory findings into an updated skill after reviews
“after a while—say, after five reviews—we can bake these findings or updates into a skill”
YouTube Unverified1 source· Talk











