Guides · · 3 min read
How to test a self-improving AI agent on your next order
A supplier confirms Friday delivery for only part of an order. Can an AI agent use the correction on the next order? A practical guide to memory, feedback and recursive self-improvement.
Mohamed Habbat

You ordered twenty pumps. The supplier replies, “Twelve on Friday. The date for the other eight is still open.” In this fictional example, the AI assistant puts all twenty down for Friday. Your planner catches it before the warehouse promises those pumps to a customer.
Now open a fresh order. What will the assistant do differently? If someone offers you a self-improving AI agent, ask them to demonstrate that second order. The answer depends on where the correction went and what the agent can change.
What survives after you close the first order?
Fixing the draft gets the planner through today. For tomorrow, the system needs a way to carry the lesson forward. It might keep a note and retrieve it when a similar message arrives. It might propose changing the standing instruction for every supplier email. A note saved under one supplier may never turn up for another. A poorly worded general instruction could spoil orders that were already correct.
One published example is Reflexion. Noah Shinn and colleagues gave an agent feedback on a trial. The agent wrote a reflection, stored it in memory and could read it on a later attempt. Its model weights stayed fixed. The authors tested their method on decision-making, programming and reasoning tasks. To see how other researchers handle feedback, the Awesome Self-Improving Agents repository indexes work on prompts, memory and other parts of an agent. Follow a paper from the list to see what was actually tested. Reflexion paper · Research index
What makes self-improvement recursive?
Imagine that an agent can propose better instructions for reading orders. Now suppose it can also revise the procedure it uses to come up with those improvements. That second ability is what makes the research question recursive. A planner approving a revised instruction can keep the improvement procedure exactly as it was.
In a September 2026 technical note, Jürgen Schmidhuber traces the idea to his 1987 diploma thesis. He describes applying a method for evolving programs to the program that performs the evolution itself. An improved version of that program could then take part in the next round. For a purchasing team, a narrower question is easier to settle. Does a specific change prevent a repeat error on a message the agent has never seen? Schmidhuber’s technical note on recursive self-improvement
Try the change on three fresh supplier emails
Give the agent the original twenty-pump example and the planner’s correction. Ask it for one revision to its standing instruction. A candidate might read, “Give each confirmed quantity its own delivery date. Leave the date open for any remainder the supplier has yet to confirm.” Save the candidate as a separate version so the planner can compare it with the current one.
Before the agent sees the test messages, have someone from purchasing write down what a correct draft would contain. Here are three fictional cases to show how that check works. For an actual pilot, keep a separate set of examples out of the conversation used to develop the instruction.
| Supplier's message | What the planner should see |
|---|---|
| “All twenty pumps are confirmed for Friday.” | One delivery of twenty on Friday. |
| “Twelve will arrive Friday. The other eight will arrive Monday.” | Two deliveries, twelve on Friday and eight on Monday. |
| “The next batch is due Friday. Quantity to follow.” | An open question about quantity. No units booked against Friday. |
Run each email twice in fresh sessions, once with each instruction. Keep the model version, settings and tools the same. Record the quantities and dates from both drafts next to the expected result. The second row catches an easy mistake in the proposed fix. The agent might leave every remainder open, even when the supplier has confirmed Monday. The third shows whether it invents a quantity when the supplier gives only a date.
Keep both versions in draft mode. The candidate should fix the original error, pass the unseen cases and preserve the cases the old version handled correctly. If it misses one, keep the current version and record the failure. Once a failed test has shaped the next revision, set aside fresh examples to check that revision. BiCatalyst’s guide to AI evaluation tools
For a first supplier demonstration, ask to see the original email, the exact change, both sets of drafts and how to restore the previous version. The planner who owns the order can then decide whether to approve the change and when a delivery date is ready to enter the ERP. If your team regularly corrects the same mistake, bring an anonymised example and the result your planner would accept. Discuss an order workflow with BiCatalyst