Robot Greeting Complexity Escalates from Python to LLM Agents
A developer charts the absurd complexity spiral of saying 'hello' to a robot.
In a recent forum post on RobotDreams, a developer known as RobotDreams shared a thought-provoking progression on how to 'complicate saying hello to your robot.' Starting with the simplest approach—inline Python with a one-to-one phrase-to-response map—the developer then introduces many-to-one grammar with random non-repetitive responses using phrase classification. The complexity quickly escalates when moving to a ROS node with a parameter file, a separate speech recognition server, and a response processor, all without helper methods. The next leap involves switching to C++ and Behavior Trees, adding parameter file grammar, a ROS behavior tree server, and helper methods. Further refinement includes ROS Behavior Tree blackboard with temporal validity, behaviors that call ROS actions and services, and sensing triggers like vision and LIDAR to detect when a human stops nearby.
The final stage is a full LLM with model-context-protocol (MCP) agent that uses 'tools' to execute robot functions, distributed processing on a Raspberry Pi 5, and a vision LLM to evaluate human emotions and intentions. The post also references related tools like Agent ROS Bridge and ros2_lingua. While presented with a tongue-in-cheek tone, the progression underscores a real challenge in AI and robotics: how a deceptively simple task—greeting someone—can balloon into a multi-layered system involving distributed processing, large language models, and computer vision. The post serves as both a cautionary tale and a benchmark of current technological capabilities.
- Progression started with inline Python one-to-one responses, then many-to-one with random non-repetitive output
- Moved to ROS2 nodes and C++ Behavior Trees with blackboard, temporal validity, and action/service calls
- Final stage uses an LLM with model-context-protocol agent, vision LLM for emotion/intention detection, distributed across a Raspberry Pi 5
Why It Matters
Demonstrates how even trivial AI tasks can spiral into complex systems, warning engineers about over-engineering.