mlsanityData to 14 Oct 2026

Towards LLM-Assisted Architecture Recovery for Real-World ROS~2 Systems: An Agent-Based Multi-Level Approach to Hierarchical Structural Architecture Reconstruction

arXiv 2605.20055 ↗First posted 19 May 2026cs.SE cs.AI cs.ROcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Explicit software architecture models are essential artifacts for communicating, analyzing, and evolving complex software-intensive systems. In ROS~2-based robotic systems, however, structural (de-)composition and integration semantics are often only implicitly encoded across distributed artifacts such as source code and launch files, making recovery of hierarchical architecture particularly difficult. Existing approaches mainly focus on node-level entities and communication wiring, while providing limited support for recovering hierarchical structural (de-)composition across multiple abstraction levels. In this paper, we extend our previously proposed blueprint-guided LLM-assisted architecture recovery pipeline for ROS~2 systems through two major enhancements: (1) refined prompting to improve the consistency and controllability of architecture synthesis, and (2) a staged recovery strategy based on multi-level intermediate architectural representations that incorporate the atomic ROS node list and launch file dependencies, thereby enabling structurally constrained reconstruction across multiple abstraction levels. The approach is evaluated on a real-world automated product disassembly system based on cooperative robotic arms and heterogeneous ROS~2 artifacts. Compared to our previous work, the considered case study exhibits substantially higher integration complexity and richer functionality. The results demonstrate improved structural consistency, scalability, and robustness of architecture recovery, while also revealing remaining challenges related to dynamic integration semantics in large-scale ROS~2 systems.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 6 of its 21 references that are in the map. First posted on arXiv 19 May 2026.

Builds on

6 of 21 references.

Closest ancestors · 1

Same direction, newest first

  1. 2026Modeling and Recovering Hierarchical Structural Architectures of ROS 2 Systems from Code and Launch Configurations using LLM-based Agents20 Feb

Other references · 5

  1. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  2. 2024From Requirements to Architecture: An AI-Based Journey to Semi-Automatically Generate Software Architecturescited by 8
  3. 2023MeROS: SysML-based Metamodel for ROS-based Systemscited by 6
  4. 2025Generating Software Architecture Description from Source Code using Reverse Engineering and Large Language Modelcited by 5
  5. 2026CIAO - Code In Architecture Out - Automated Software Architecture Documentation with Large Language Modelscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026StructureClaw: Traceable LLM Agents and an Executable Benchmark for Structural Engineering Workflows
  2. 2026Coco: An Agentic Copilot for the Hardware--Software Co-Design Lifecycle
  3. 2025RoboNeuron: A Middle-Layer Infrastructure for Agent-Driven Orchestration in Embodied AI
  4. 2026Recovering Software Architecture Intent from Historical Work Items using Generative AI: A Mixed-Methods Industry Case Study ↗
  5. 2026HWE-Bench: Benchmarking LLM Agents on Real-World Hardware Bug Repair Tasks
  6. 2025ROSBag MCP Server: Analyzing Robot Data with LLMs for Agentic Embodied AI Applications
  7. 2026Toward Architecture-Aware Evaluation Metrics for LLM Agents
  8. 2026Robust and Efficient Tool Orchestration via Layered Execution Structures with Reflective Correction