ReCreate: Reasoning and Creating Domain Agents Driven by Experience
The paper introduces ReCreate, an experience-driven framework that automatically generates and adapts domain-specific agents by leveraging interaction histories through an agent-as-optimizer paradigm, outperforming both human-designed and existing automated methods.
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
The Big Problem: Building Robots is Hard Work
Imagine you want to build a specialized robot to fix broken cars, another to bake perfect cakes, and a third to solve math puzzles. Right now, every time you want a new robot for a new job, a human expert has to sit down and write a very detailed instruction manual (called a "scaffold") for it. They have to tell the robot exactly how to think, what tools to use, and what steps to take.
This is slow, expensive, and hard to scale. If you want a robot for 100 different jobs, you need 100 different human-written manuals.
The Old Way: Guessing and Checking
Some researchers tried to automate this. They built a "meta-robot" that tries to write these manuals. But the old method was like playing a game of "Hot or Cold."
- The meta-robot writes a manual.
- It tests the robot.
- It gets a score (e.g., "You got 60% right").
- The score is the only feedback. It doesn't say why the robot failed. Was it the wrong tool? Did it forget a step? Did it look at the wrong file?
Because the meta-robot didn't know why it failed, it had to guess blindly, trying millions of random changes until it got lucky. This took a lot of computer power and money.
The New Way: ReCreate (The "Experience-Driven" Mechanic)
The authors of this paper propose ReCreate. Instead of just looking at the final score, ReCreate acts like a master mechanic who watches the robot work, sees exactly where it stumbled, and fixes the manual based on that evidence.
Think of it like this:
- Old Way: You take a test, get a "C," and the teacher just says, "Try harder next time." You don't know which questions you got wrong or why.
- ReCreate: You take a test, get a "C," and the teacher pulls out the video recording of you taking the test. They point to the specific moment you got confused, say, "Ah, you didn't read the instructions carefully," and then rewrites the instruction manual to prevent that specific mistake next time.
How ReCreate Works (The Three Magic Tools)
ReCreate uses a special "Optimizer Agent" (a super-smart AI) that goes through three steps to improve the robot's manual:
1. The Detective (Experience Storage & Retrieval)
When a robot fails, ReCreate doesn't just throw away the attempt. It saves the entire "movie" of what happened: what the robot thought, what tools it clicked, and where it got stuck.
- Analogy: Imagine a detective who doesn't just look at the crime scene, but has access to the suspect's entire diary, phone logs, and security footage. When the robot fails, ReCreate searches this "diary" to find the exact moment things went wrong.
2. The Editor (Reasoning–Creating Synergy)
Once the Detective finds the problem, the Editor steps in. It reads the evidence and decides how to fix the manual.
- Analogy: If the robot kept forgetting to check if a file was empty, the Editor doesn't just say "be better." It adds a specific new rule to the manual: "Always check if the file is empty before opening it." Or, if the robot kept doing the same boring math over and over, the Editor writes a new "tool" (a script) to do that math automatically.
3. The Teacher (Hierarchical Updates)
This is the most important part. Sometimes a robot learns a trick that only works for one specific puzzle. ReCreate makes sure the robot doesn't get "stuck" on that one trick. It looks at many different failures and asks, "Is this a one-time mistake, or is this a pattern?"
- Analogy: If a student fails a math test because they forgot to carry the one, the teacher doesn't just tell them to "do better on that one test." The teacher realizes the student has a pattern of forgetting to carry numbers and updates the student's entire study guide to include a permanent rule about carrying numbers. ReCreate turns specific fixes into general rules that work for the whole domain.
The Results: From Seed to Master
The paper tested ReCreate in four different worlds:
- Software Engineering: Fixing bugs in code (like GitHub).
- Data Science: Cleaning data and making charts.
- Math: Solving complex math problems.
- Digital Assistance: Managing apps and digital tasks.
They started with a "seed" manual that was very basic—almost empty.
- The Result: ReCreate took these tiny, weak manuals and evolved them into powerful, specialized agents.
- The Score: In almost every test, the agents created by ReCreate performed better than agents designed by human experts. They also performed better than other AI methods that tried to build agents automatically.
Why It Matters (According to the Paper)
The paper claims that by letting AI learn from its own "experience" (the detailed logs of what it did) rather than just a final score, we can automatically build specialized robots for any job. It's cheaper, faster, and creates smarter agents than the old "guess and check" methods.
In short: ReCreate is a system that teaches AI agents by showing them their own mistakes in detail, then rewriting their instruction manuals to ensure they never make those same mistakes again. It turns a "black box" of trial-and-error into a "white box" of clear, logical improvement.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.