← Latest papers
🤖 AI

Self-Evolving Software Agents

This paper introduces a self-evolving software agent architecture that integrates BDI reasoning with Large Language Models to autonomously update goals, reasoning, and executable code based on experience, demonstrating both the feasibility and current limitations of LLM-driven software evolution in dynamic multi-agent environments.

Original authors: Marco Robol, Paolo Giorgini

Published 2026-05-01
📖 4 min read☕ Coffee break read

Original authors: Marco Robol, Paolo Giorgini

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

Imagine a robot chef. In the past, if you wanted this chef to learn how to bake a cake, a human programmer had to sit down and rewrite the chef's recipe book. The chef could follow the instructions perfectly, but it couldn't decide to invent a new recipe on its own. It was stuck with the goals and skills given to it when it was built.

This paper introduces a new kind of "self-evolving" software agent that acts like a chef who doesn't just follow recipes but can write new ones, change its own cooking philosophy, and even build new kitchen tools while it's working.

Here is how the authors, Marco Robol and Paolo Giorgini, explain this breakthrough:

The Problem: The "Hard-Set" Robot

Currently, most smart computer programs (agents) are like GPS systems. They can reroute you if there is traffic (they adapt to the environment), but they can't decide to change their destination or invent a new way to get there. Their goals and rules are "hard-coded" by humans before they start. They can adapt, but they cannot truly evolve.

The Solution: A Two-Brain System

The authors propose a system that combines two powerful ideas:

  1. BDI (Belief-Desire-Intention): Think of this as the agent's "daily brain." It constantly looks at the world, decides what it wants to do, and picks a plan to do it.
  2. LLM (Large Language Model): This is the "creative architect." It's the part of the AI that can understand language, imagine new ideas, and write code.

The magic happens by adding a special "Evolution Module" that runs alongside the daily brain.

How It Works: The "Night School" Analogy

Imagine the agent is a student working during the day (the BDI loop). When it hits a problem it can't solve—like trying to open a door that doesn't have a handle—it doesn't just give up.

Instead, it pauses and calls upon its "Night School" (the Evolution Module). This module acts like a teacher who says:

  • "You failed because you don't have a tool for this."
  • "Let's invent a new goal: 'Find a way to open the door.'"
  • "Let's write a new plan and even build a new tool (code) to do it."

The agent then tries this new plan. If it works, it keeps the new tool and the new goal in its permanent memory. If it fails, it throws the idea away. Over time, the agent builds a library of its own inventions, changing its own "DNA" without a human programmer touching the code.

The Experiment: Learning from Scratch

The team built a prototype and put it in a busy, changing digital world (inspired by a food delivery app). They gave the agent almost nothing to start with—just a basic description of the world and a few simple tools. They didn't tell it what to do.

The Results:

  • Success: The agent figured out on its own that it needed to do certain things (like deliver a package) and wrote the code to do it. It discovered new goals and created new behaviors from almost zero prior knowledge.
  • The Catch: The paper admits the system isn't perfect yet. Sometimes, when the environment gets too complicated, the agent struggles to remember its old successful tricks or keep its new behaviors stable. It's like a student who learns a new math formula but forgets how to do basic addition.

The Bottom Line

This paper shows that we can build software that doesn't just follow orders but can teach itself new skills and rewrite its own instruction manual. While it's still a prototype with some growing pains (specifically regarding stability and remembering past lessons), it proves that the idea of software that evolves itself is possible. The next step is teaching these agents how to hold onto their lessons better so they don't forget them when things get chaotic.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →