Self-Iterating AI Agents: Configuration-Based vs. Proactive Memory
Self-iterating AI agents are drawing intense discussion, with praise for their potential to evolve from passive execution tools into assistants that accumulate experience, and criticism of products that remain hard for general users to adopt. This article uses a real CSV-import scenario to examine the debate and distinguishes between an agent that remembers something and an agent that actively invokes that memory. It compares two design philosophies—configuration as behavior and experience as an asset—and then breaks down three engineering capabilities behind proactive agents: experience extraction, experience consolidation, and experience invocation with conflict handling. It also offers scenario-based guidance on when general users should consider changing their approach, and concludes that a human-in-the-loop model—machine proposes, human approves—may be the most practical path.
Self-Iterating AI Agents: Configuration-Based vs. Proactive Memory
1. Starting with a Real-World Scenario
Recently, agents with “self-iteration” capabilities have become a hot topic in technical circles, with mixed reviews. Supporters argue that they let agents evolve from “passive execution tools” into “assistants that actively accumulate experience.” Critics complain that some products are still not user-friendly: command-line interaction creates a high barrier, and general users find them difficult to adopt.
To understand the debate, it helps to start with an example that left a strong impression on me during actual use.
About two months ago, I asked an agent to process a CSV file for me: clean the data and import it into a database. It completed the task well, and I casually praised it. But the next day, when I wanted to do something similar again, it started from scratch.
2. “Remembering” and “Invoking Memory” Are Two Different Things
I reminded it: “Didn’t we do this CSV import last time?”
It replied: “Yes, we discussed a similar topic last time.”
And then? Nothing. It confirmed that the memory existed, but it did not actively invoke that memory. I had to search through the history myself, summarize the process myself, describe the requirement again myself, and manually translate the “memory” into instructions for it.
I complained to a developer friend, and his suggestion was: write the task flow into a memory file—something like Memory.md or Agent.md—and record personal preferences as well, so it will “know” next time; or manually invoke a “skill generation” meta-function to package the CSV import into a reusable skill.
That approach can indeed solve the problem, but something still felt off to me. It is called an “agent”—so why do I still have to do the work of making it smarter?
3. Two Design Philosophies: Configuration as Behavior vs. Experience as an Asset
After thinking it through calmly, I realized that these two approaches reflect completely different design philosophies.
1. Configuration-Based Agents: “The More Accurately You Write, the Better It Performs”
The core logic of this type of agent is “configuration as behavior.” User preferences, processes, and constraints are written into configuration files, and the agent executes strictly according to the file contents. The advantages of this approach are:
- Behavior is predictable and auditable, making it suitable for enterprise scenarios with high stability requirements;
- Users have complete control over the agent’s behavior;
- Configuration files can be version-managed and incorporated into team collaboration workflows.
But the premise is that users must be willing to continuously invest time in maintaining this “memory.” If the configuration is detailed, the agent performs precisely; if the user is too lazy to write it, the agent returns to its initial state every time. In essence, the work of making the system intelligent is shifted back onto the human.
2. Proactive Agents: “Turning Experience into Reusable Assets”
Another design approach is to let the agent actively manage experience. Take a scenario I tested later: for the same CSV-import task, after the task was completed, the agent proactively asked me: “Would you like to save this operation flow as a skill? You can call it directly next time.”
After I confirmed, I raised the same requirement a week later. It directly invoked the previously validated flow and even added a step on its own—checking whether the target table existed.
The difference in experience is qualitative:
- Memory collection is initiated proactively by the agent, rather than manually recorded by the user;
- Memory organization exists in the form of “executable skills” rather than “chat logs”;
- Memory invocation is automatically triggered in appropriate scenarios without user prompting.
4. An Engineering Breakdown: Three Key Capabilities of Proactive Agents
Abstracted into a general technical architecture, an agent with self-iteration capabilities usually needs to solve three problems:
(1) Experience Extraction
After a task is completed, the agent needs to identify from the conversation and operation traces “which steps constitute a reusable process.” This usually depends on task-structuring capability: converting natural-language interaction into a standard process description of “input—steps—output.”
(2) Experience Consolidation
The extracted process needs to be stored in a persistent and verifiable form. A common practice is to generate a skill description file containing trigger conditions, execution steps, parameter descriptions, and pre-checks. By way of illustration, this is roughly equivalent to the agent automatically generating the following structure:
skill: csv-importtrigger: "User requests CSV file import"steps:- Parse source file structure and field types- Apply data cleaning rules- Check whether the target table exists (create if it does not)- Batch import and output a validation reportverified: true
(3) Experience Invocation and Conflict Handling
When a new task matches an existing skill, the agent needs to decide whether to reuse it directly or adjust it as needed. The key here is confidence control: if the match is high, invoke automatically; if the match is low, confirm with the user to avoid incorrect reuse and erroneous results.
5. Should General Users Switch Approaches?
Returning to the original question: is this wave of self-iteration capability worth general users changing their existing habits for? My judgment is that it depends on the scenario:
- If you are a user of high-frequency, repetitive tasks—data processing, batch reporting, operations inspections, and so on—a proactive agent that consolidates skills can significantly reduce the cost of repeated descriptions, and it is worth investing learning effort to migrate.
- If your tasks are highly non-standardized, with different requirements each time, then the advantage of proactive skill consolidation is not obvious, and the controllability of the configuration-based approach is more practical.
- If your scenario has extremely high compliance and auditability requirements, I recommend combining both: let the agent automatically extract skills, but require human review before a skill takes effect—that is, a human-machine collaboration model in which “the machine proposes and the human approves.”
6. Conclusion
On the surface, the debate over agents is a debate over features. In substance, it is a debate over route: should the responsibility for intelligence fall on the machine or on the human? The configuration-based approach gives control to the user, at the cost of ongoing maintenance. The proactive approach gives consolidation work to the machine, at the cost of reduced behavioral predictability. For most users, the optimal solution may not be a binary choice. Instead, it may be to give agents the ability to “proactively suggest consolidation, with human review and confirmation”—so that the experience from every task is not wasted, and the final control over behavioral boundaries is not surrendered.
