Source-linked AI summary
Towards AGI A Pragmatic Approach Towards Self Evolving Agent
Indrajit Kar, Sammy Zonunpuia, Zonunfeli Ralte
TL;DR
LLM agents are limited by static post-deployment designs that constrain adaptation and capability growth. The paper proposes a hierarchical multi-agent framework that escalates task failures to tool synthesis and then agent evolution. Across the evaluated paradigms, curriculum learning is strongest on learning efficiency and generalization, reward-based learning on high-difficulty tasks, and genetic evolution on behavioral diversity.
Problem
Deployed LLM agents commonly retain fixed prompts, workflows, reasoning patterns, and toolchains, while lacking unified mechanisms for capability expansion and evolution after persistent failures.
Source: §IV · p. 4Method
A hierarchical system coordinates Base LLM orchestration, Code-Generation LLM tool synthesis, Teacher LLM optimization, and operational SLM execution, with cloning and replacement based on performance.
Source: §I · pp. 1–2Results
Curriculum Learning showed the highest overall learning efficiency and generalization, RL performed better on high-difficulty tasks, and GA yielded the greatest behavioral diversity.
Source: §VII · p. 9, §VIII · p. 11Takeaways & Limitations
The evaluation indicates complementary strengths: CL for reliability, RL for specialization, and GA for innovation across the agent lifecycle.
Source: §IX · p. 12
Abstract
from arXiv · showhide
Large Language Model (LLM) based agents are powerful yet fundamentally static after deployment, lacking the ability to autonomously expand capabilities, generate new tools, or evolve their reasoning. This work introduces a hierarchical self-evolving multi-agent framework that integrates a Base LLM, an operational SLM agent, a Code-Generation LLM, and a Teacher-LLM to enable continuous adaptation. The workflow begins with the agent attempting a task using reasoning and existing tools; if unsuccessful, it escalates to tool synthesis through the Code-Gen LLM, and when failures persist, it triggers an evolution phase using Curriculum Learning (CL), Reward-Based Learning (RL), or Genetic Algorithm (GA) evolution. Using the TaskCraft dataset rich in hierarchical tasks, tool-use traces, and difficulty scaling we evaluate these paradigms. CL delivers fast recovery and strong generalization, RL excels on high-difficulty tasks, and GA offers high behavioral diversity. Across all settings, evolved agents outperform their originals, demonstrating robust, autonomous, self-improving agentic evolution.
I. INTRODUCTION
LLM agents remain fixed after deployment, limiting adaptation; this work proposes a hierarchical multi-agent system that escalates failures from tool generation to curriculum- or reward-guided evolution.
I. INTRODUCTION
- The Base LLM routes tasks, the operational SLM reasons about them, the Code-Generation LLM creates tools, and the Teacher LLM guides curriculum- or reward-based optimization.Unresolved tasks escalate from tool generation to iterative optimization.Source: §I · pp. 1–2
- When existing capabilities fall short, the system clones an agent for learning and replaces the original once the clone performs better.The clone can learn through curated curricula, reward signals, or genetic-algorithm-inspired evolution.Source: §I · p. 2
- The architecture combines dynamic tool generation, curriculum-driven evolution, multi-agent coordination, and verifiable improvement mechanisms to operationalize self-evolving agents.The paper presents this as addressing gaps identified in prior literature [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14].Source: §I · p. 2
II. RELATED WORKS
- Tool-integrated reasoning by Gou et al. [1] and self-reflective rationale refinement by Zelikman et al. [2] motivate independent tool use followed by escalation.Code-execution reasoning from Ni et al. [3] and Yin et al. [4] supports the Code-Generation LLM's role in producing executable tools.Source: §II · p. 2
- Prior work informs the system's orchestration, reward, curriculum, and self-generated learning stages, including multi-agent workflows [5], reward pipelines [6] [7], and trajectory- or preference-based refinement [8] [9].Synthetic-data and internally generated learning signals are also discussed as related approaches [10] [11] [12] [13].Source: §II · p. 2
- Adaptive curriculum selection [15] [16], knowledge refresh and interface learning [17] [18], and long-horizon strategy accumulation [23] inform possible extensions to the system.Related work also covers self-evolving RL and symbolic updates [19] [20], proposer–solver–judge co-evolution and modular reasoning [21] [22], and artifact-centric learning [23].Source: §II · pp. 2–3
III. LEARNING FRAMWORKS
The paper presents genetic optimization, curriculum construction, and reward-based improvement as complementary evolution paradigms, then defines a unified multi-agent framework to address agents' limited ability to expand tools or evolve after persistent failures.
III. LEARNING FRAMWORKS
- The paper frames evolutionary optimization, curriculum-driven improvement, and reward-based self-learning as three complementary paradigms for autonomous agent evolution.Evolutionary methods explore policy variations, curricula structure progression toward harder tasks, and rewards refine behavior through feedback.Source: §III · p. 4
IV. PROBLEM DEFINITION
- Existing agents remain largely static after deployment, with fixed prompts, workflows, reasoning patterns, and toolchains that limit adaptation to new tasks and environments.The paper identifies missing mechanisms for autonomous capability expansion, tool generation, and systematic evolution after persistent failures.Source: §IV · p. 4
- The central problem is the lack of a unified framework combining specialized-component orchestration, on-demand tool synthesis, adaptive evolution, and performance-based agent replacement.Without these mechanisms, agents cannot autonomously refine policies, toolchains, or reasoning as tasks grow more complex.Source: §IV · p. 4
- The proposed architecture assigns orchestration to a Base LLM, tool creation to a Code-Generation LLM, optimization to a Teacher LLM, and execution to operational SLMs.These components interact through structured feedback loops over heterogeneous tasks.Source: §IV · p. 4
- The framework is designed to diagnose capability gaps, synthesize and integrate tools, construct curricula, optimize with rewards, and explore policy variants through mutation and crossover.The stated evolution options include Curriculum Learning, Reward-Based Learning, and GA-Based Evolution.Source: §IV · p. 4
- New agent variants are replicated, trained, and evaluated, then promoted when they show verifiable performance margins over existing agents.Underperforming or outdated agents are retired.Source: §IV · p. 4
The mathematical problem definition
The mathematical setup names the task distribution, deployed agents, routing and optimization policies, available tools, and quantities for tool cost, execution reliability, reward, agent parameters, and performance change.
- Tasks τ are drawn from a possibly non-stationary distribution 𝒯; A denotes the deployed agents, while πB and πU are the Base LLM's routing policy and Teacher LLM's optimization policy.Source: The mathematical problem definition · p. 5
- The available tool set at time t is St, the Code-Generation LLM G outputs candidate tools c, Ccost(c) is tool-generation cost, and Pexec(τ, a, c) is the probability that a tool executes correctly.Source: The mathematical problem definition · p. 5
- θa denotes an agent's parameters, r(τ,a,c) its task reward when solving τ with a tool, and Δperf(a′, a; D) the measured performance difference on dataset D.Source: The mathematical problem definition · p. 5
Core Optimization Problem
The passage introduces a system-choice stage and identifies the ensuing formulation as constrained optimization.
- The section states that the system must choose, then frames the task as a constrained optimization problem.Source: Core Optimization Problem · p. 5
(1) Objective Function
The objective is to maximize expected cumulative reward while constraining routing, tool generation, and agent evolution.
(1) Objective Function
- The objective is to maximize expected cumulative reward.Source: (1) Objective Function · p. 5
- The framework imposes routing, tool-generation, and agent-evolution constraints.Source: (1) Objective Function · p. 5
- The Base LLM selects an agent, the Code-Gen LLM generates tools when needed, and agent parameters update through an evolution mode.Source: (1) Objective Function · pp. 5–6
(5) Evolution Mode Selection
The framework selects among three evolution modes, promotes a replacement only after validation, and specifies cost and safety constraints; TaskCraft supplies the required evaluation structure.
(5) Evolution Mode Selection
- Evolution can use curriculum learning, reinforcement learning, or genetic algorithms, with the mode chosen at time t.Source: (5) Evolution Mode Selection · p. 6, (1) Objective Function · p. 6
(6) Performance Verification (Promotion Condition)
- A new agent is promoted only if it outperforms the original on validation tasks.Source: (6) Performance Verification… · p. 6
(7) Tool-Generation Cost Constraint
- Generated-tool costs must remain within a budget.Source: (7) Tool-Generation Cost Constraint · p. 6
(8) Safety Constraint
- Execution traces must be safe.Source: (8) Safety Constraint · p. 6
V. DATASET
- TaskCraft uniquely meets the stated needs with hierarchical tasks, tool/action traces, observable trajectories, and adjustable difficulty.The evaluation dataset is expected to support multi-step reasoning, trajectories, curriculum scheduling, reward computation, and evolution.Source: §V · p. 6
VI. METHODOLOGY
The methodology combines task orchestration, tool synthesis, and agent-policy evolution in a hierarchical multi-agent framework.
VI. METHODOLOGY
- The framework includes a Base LLM, operational SLM, Code-Generation LLM, and Teacher-LLM, supporting task execution, tool integration, and evolution through curriculum, reward-based, or GA-based learning.Source: §VI · p. 7
- TaskCraft is reorganized into agent-centric records with difficulty buckets, trajectories, tool-use logs, gold outputs, and stratified train/validation/test splits.Source: §VI · p. 7
A. Task Routing and Agent Execution
- For each task, the Base LLM routes to an agent, which produces a trace of reasoning steps, tool calls, and intermediate computations.Source: A. Task Routing and Agent Execution · p. 7
B. Tool Generation and Integration
- When a capability is missing, the Code-Gen LLM synthesizes an executable tool; execution-based checks validate tools before deployment expands the tool set.Source: B. Tool Generation and Integration · p. 7
C. Failure Detection and Evolution Trigger
Persistent failure after tool synthesis triggers an evolution operator; curriculum-driven evolution selects tasks based on agent state and trains a clone until performance thresholds are met.
C. Failure Detection and Evolution Trigger
- Repeated failure after tool synthesis triggers an evolution operator chosen from curriculum learning, reinforcement learning, or genetic algorithms.Source: C. Failure Detection and Evolution… · pp. 7–8
D. Curriculum-Learning–Driven Evolution
- The Teacher-LLM selects a curriculum bucket based on agent state from the available set of buckets.The selection follows a non-stationary multi-armed bandit curriculum formulation.Source: D. Curriculum-Learning–Driven Evolution · p. 8
- A cloned agent trains on tasks sampled from the selected bucket until performance thresholds are met.Source: D. Curriculum-Learning–Driven Evolution · p. 8
E. Reward-Based Evolution
Reward-based evolution scores execution traces with a reward or preference model before the agent updates its parameters. GA-based evolution generates new agent candidates.
E. Reward-Based Evolution
- Execution traces are scored using a reward or preference model in reward-based evolution.The agent then updates its parameters, though the update rule is not specified in the supplied passage.Source: E. Reward-Based Evolution · p. 8
F. GA-Based Evolution
- GA-based evolution generates new agent candidates.The supplied passage introduces the generation step but does not specify its operator.Source: F. GA-Based Evolution · p. 8
Crossover
The section describes candidate evaluation and agent promotion, then compares learning paradigms. Curriculum Learning leads overall, while Reward-Based Learning and GA-based evolution show distinct strengths.
Crossover
- The crossover discussion aligns its approach with evolutionary agent creation described in EvoAgent, evolutionary coding agents, and multi-agent co-evolution frameworks.The passage supplies this connection but does not describe the crossover operator itself.Source: Crossover · p. 8
- Candidate performance is measured as the difference between the candidate and original agent on the validation set.The comparison is expressed as Δperf(a′, a; Dval) = Perf(a′, Dval) − Perf(a, Dval).Source: Crossover · p. 8
G. Agent Promotion and Lifecycle Management
- Promotion requires the evolved agent’s validation-performance gain over the original to meet or exceed εverify.After promotion, the evolved agent replaces the original, completing one lifecycle iteration.Source: G. Agent Promotion and Lifecycle… · p. 9
VII. EXPERIMENTS AND RESULTS
- Curriculum Learning leads overall in efficiency, convergence, and generalization; RL is most efficient in the tool-use plot, while GA evolves fastest across generations.The success-rate graph ranks CL ahead of GA and RL as task difficulty rises.Source: §VII · p. 9, Figure 1.1 · p. 9, Figure 1.2 · p. 10
VIII. DISCUSSIONS
The discussion finds complementary strengths across the learning paradigms, with Curriculum Learning strongest across several evaluation areas. The conclusion assigns distinct roles to CL, RL, and GA in the agent lifecycle.
VIII. DISCUSSIONS
- Curriculum Learning leads in four of seven areas—learning speed, generalization, stability, and tool-use efficiency—while RL favors high-difficulty tasks and GA favors exploration and behavioral diversity.The conclusion further characterizes CL as fastest to recover after failure, RL as useful for fine-grained feedback refinement, and GA as useful when other mechanisms plateau.Source: §VIII · p. 11, §IX · p. 12
- No paradigm is universally optimal; the discussion proposes hybrid or adaptive strategies combining CL, RL, and GA as a likely route to more resilient agents.The evaluation spans seven dimensions, and Table 1 is identified as comparing the paradigms across key criteria.Source: §VIII · p. 11, Table 1 · p. 11
IX. CONCLUSION
- The conclusion maps CL to reliability, RL to specialization, and GA to innovation within the agent lifecycle.CL is described as providing the highest stability, fastest recovery after failure, and best generalization across difficulty levels.Source: §IX · p. 12