Multi-Agent Systems for Robotic Autonomy with LLMs

Junhong Chen, Ziqi Yang, Haoyuan G. Xu, Dandan Zhang, George P. MylonasWorkshops @ CVPR 2025

Introduction

Developing autonomous robots is traditionally a fragmented, expert-heavy process. It requires mechanical engineers to design hardware, control theorists to develop algorithms, and programmers to bridge the gap between physical constraints and software implementation. While Large Language Models (LLMs) have shown promise in code generation, a single "monolithic" prompt often struggles with the complex, multi-step logic required to design a physical system and its corresponding learning environment simultaneously. This paper introduces a multi-agent framework that automates the entire lifecycle of robotic development—from high-level task analysis to the generation of reinforcement learning (RL) code.

The Multi-Agent System (MAS) Architecture

The researchers propose a modular Multi-Agent System where specialized agents work in a linear workflow to transform natural language instructions into functional robotic designs.

The end-to-end workflow of the Multi-Agent System, from task input to performance summary.

The system consists of three core agents:

  1. Task Analyst: Acts as the architect, parsing task descriptions to establish coordinate systems and identify target locations.
  2. Robot Designer: Serves as the engineer, determining physical parameters like optimal arm lengths and base placements to ensure reachability.
  3. RL Designer: Functions as the programmer, selecting appropriate RL algorithms (e.g., PPO or SAC) and generating the Python environment (env.py), training script (train.py), and evaluation script (eval.py).

Auxiliary agents, the Code Extractor and Report Extractor, package these outputs into executable files and technical reports, which are then validated in an OpenAI Gym simulation.

Experimental Setup and Scenarios

The framework was evaluated using 10 custom-designed task scenarios across two domains:

  • Industrial Tasks: Including warehouse sorting, automobile welding, and palletizing.
  • Medical Tasks: Including rehabilitation therapy, surgical instrument handling, and elderly feeding assistance.

To test the robustness of the system, the authors also conducted an ablation study on prompt lengths (Short, Normal, Long) to determine how the level of detail in initial instructions affects agent success.

Comparative Performance and Results

The study compared several leading models: GPT-4o, GPT-4o-mini, DeepSeek-V3, and DeepSeek-R1. Performance was measured across five metrics, including Task Completion Progress (TCP) and Code Execution Feasibility (CEF), on a scale of 0 to 5.

Performance metrics comparison across different LLMs, highlighting DeepSeek-R1's superior results.

DeepSeek-R1 emerged as the clear leader, achieving a TCP of 4.60 and a CEF of 4.45. Its "chain-of-thought" reasoning allowed it to self-correct mathematical errors and logic gaps that caused other models to generate broken code. In contrast, GPT-4o-mini and DeepSeek-V3 struggled with the mathematical precision required for robotic arm design, often resulting in robots that could not reach their intended targets.

Key Insights

  • The "Goldilocks" Prompt: The researchers found that "Normal" length descriptions performed best. "Short" prompts lacked necessary context, while "Long" prompts introduced noise that distracted the models from key constraints.
  • The Task Analyst Bottleneck: The Task Analyst is the most critical link; if it fails to set correct coordinates, the entire downstream design and training process fails.
  • Algorithmic Intuition: DeepSeek-R1 demonstrated unique variability in choosing RL algorithms based on the specific task, whereas other models tended to default to PPO regardless of the scenario.

Limitations and Future Work

While the framework marks a significant step toward automated design, it currently assumes static environments without obstacles. Future work aims to integrate Vision-Language Models (VLMs) to allow the system to "see" workspaces and address the "sim-to-real" gap by accounting for real-world physics, sensor noise, and safety constraints.

Summary updated

BibTeX
@inproceedings{chen2025multi,
  author = {Junhong Chen and Ziqi Yang and Haoyuan G. Xu and Dandan Zhang and George P. Mylonas},
  title = {{Multi-Agent Systems for Robotic Autonomy with LLMs}},
  booktitle = {Workshops @ CVPR},
  year = {2025},
}
Figure