00
In productionProintermediateAgentic safety

The agent calls a service that doesn't exist

Point the agent's tool at the real service name.

Pairs with MCP and agentic control of ROS in Use AI efficiently with ROS 2. Read the concept first, then diagnose it here.

Unlock this lab with Pro

Operator report

The agent's action hangs; it waits on a service name no server offers.

Ubuntu 24.04, ROS 2 Jazzy, rclpy/rclcpp, an LLM coding assistant + MCP

01

System boundary

Trace only the relevant path.

3 nodes
  1. 01agent tool
  2. 02service name
  3. 03serverOUT
02

How this lab works

You diagnose it. No command list.

Open the repair workspace and gather your own evidence in a real terminal. No diagnostic commands are handed to you - finding the fault is the exercise. Stuck? Progressive hints unlock inside the workspace.

03

Verification

Pass more than the visible symptom.

4 checks
  • Service name is real
  • The call returns
  • Hidden regression behavior
  • Root cause explanation