Phronix lets AI agents keep what they learn from their own work
A new preprint describes a system that turns an agent's past runs into reusable skills, cutting repeat effort on scientific-computing tasks.
The short version
- Phronix stores what an agent learns from its own runs so it does not rediscover solutions each time.
- Learned capabilities solved a recurring task on the first try in 93-95% of cases across every model.
- Warm-start runs used 0.38-0.40 million tokens per task, three to four times less than one baseline attempt.
- On the 1000 Genome Pegasus workflow it passed all 11 correctness checks, versus six for the baseline.
- Two cheaper models rose from 29% and 27% to 91% and 87% of SWE-bench tasks solved.
Why it matters
Most agents today start from scratch each session unless a person writes down instructions for them. Phronix tests the idea that an agent can write, check and fix its own instructions. If the results hold up beyond these tests, a cheaper model with good stored experience could do work that now seems to need a pricier one.
The problem: agents that forget
Scientific computing teams are starting to use agents built on large language models for performance engineering. That means jobs like adding instrumentation to code (measurement hooks that record what a program is doing), analyzing the results, and porting a workflow to a new system.
As arxiv.org shows in the paper's abstract, the authors argue that how well such an agent works depends heavily on its harness. That is the software wrapped around the model, including the skills (written instructions) and the memory it can draw on. Today those skills and memories are mostly written and curated by hand.
The cost is that an agent often has to rediscover the same solution again and again instead of keeping what it worked out before. Phronix is an attempt to fix that.
How the Phronix loop works
The paper calls Phronix a capability-centric learning paradigm. In plain terms, the unit being learned is a reusable capability, something the agent can reliably do, rather than a one-off answer.
It runs a three-part cycle the authors call predictor, validator, corrector. First, tools and skills connected through MCP (the Model Context Protocol, a common way to plug tools into agents) propose a solution. Second, actually running the tools checks whether the solution works. Third, what happened in the run is used to refine the stored capability.
Every observed interaction is distilled into a capability store. When a task fails, the system researches it and tries again instead of giving up.
What the authors measured
The abstract reports three main findings. All of them come from the authors' own tests.
- Reliability: learned capabilities solved a recurring task on the first attempt in 93-95% of cases across every model. The authors say this also reduced non-determinism, meaning the run-to-run variation in what the agent produces.
- Self-generated knowledge: Phronix created 7.6-30.8 durable capabilities per task without user instruction. Once the needed capability existed, new creation fell below two.
- Cost: warm-start runs, where the agent already has relevant capabilities stored, used 0.38-0.40 million tokens per task. Tokens are the chunks of text a model reads and writes, and they drive the bill. That is three to four times less than a single baseline attempt. A cold start, with nothing stored yet, cost no more than the baseline.
Cheaper models catching up
Two concrete tests stand out. On the 1000 Genome Pegasus workflow, the task was instrumenting a production application for I/O performance analysis. Phronix passed all 11 correctness checks, while the baseline harness passed six.
The paper also reports results on SWE-bench, a collection of real software-fixing tasks. Two cheaper models went from solving 29% and 27% of tasks to 91% and 87%. According to the authors, that matches the most expensive model they evaluated.
The abstract does not name the models or say how many tasks were involved. It also does not say whether the SWE-bench setup matches the scientific-computing one. Those details would be needed to judge how far the result carries over.
How to read this result
This is a preprint, a paper posted publicly before independent review, and we have worked from its abstract. The numbers are the authors' claims, not findings someone else has reproduced.
Still, the idea fits a broader shift in how people think about agents. The question is moving from which model is best to which specific tasks an agent can be trusted with, and whether it can keep what it learns while doing them. Phronix argues the second part can be partly automated, with validation built in so the agent does not just store whatever it tried.
What to watch
- Will independent teams reproduce the first-attempt and token-savings results outside the authors' own tests?
- How does Phronix keep a wrong or outdated capability from being stored and reused?
- Will the tools and results be released so other people can try them on their own workflows?
Try it
Pick one task you give an AI agent repeatedly. Write down what a correct result looks like, run it a few times, and note what the agent had to rediscover each time. Save that as a reusable instruction.
Sources and links
- Reportingarxiv.org: the article we sourced
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Listen to the AI Wire headlines
Listen to the AI WireListen to our daily AI shows every morning: on your commute, in the shower, wherever you are
Listen to the daily showsFirst reported by arxiv.org · Read the original. Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.
