Skip to main content
D
Devin
January 26, 2026
Download from GitHub

Project Overview

Robot Agent is built on MiniMax M2.1 LLM and Pi05 VLA (Vision-Language-Action) model, enabling natural language-driven robotic arm manipulation in the LIBERO simulation environment. Demo
Understands user’s natural language instructions, decomposes complex tasks into executable steps, and coordinates multi-step task execution.
Uses MCP to invoke visual understanding capabilities, analyze scene images, verify task execution results, and enable closed-loop feedback control.
A vision-language-action model based on PaliGemma that generates precise robotic arm control actions based on scene images and task instructions.
Executes various robot manipulation tasks in a simulation environment powered by the MuJoCo physics engine.

System Architecture


Quick Start

1

Clone Repository

2

Configure API Keys

3

Download Pi05 Model

Default model path: ./models/pi05_libero_finetuned. To change it, edit the MODEL_PATH variable in agent_mode.py.
4

Install Dependencies

Dependencies:
5

Run the Agent

Select a task scenario after startup:
  • libero_object - Object generalization
  • libero_spatial - Spatial relationship understanding
  • libero_goal - Different action goals (recommended)

Supported Tasks

In the LIBERO Goal scenario, the Agent supports the following 10 manipulation tasks:

Core Code Analysis

Agent Tool Definitions

The Agent interacts with the environment through two core tools:

MiniMax M2.1 Task Planning

Using Anthropic-compatible interface to call MiniMax M2.1:

MCP Visual Understanding

Using MCP to invoke MiniMax visual understanding for task verification:

Technical Details

Pi05 Model Parameters

Agent Workflow

  1. User Input: Receive natural language instructions
  2. Task Planning: MiniMax M2.1 understands intent and maps to supported tasks
  3. Action Execution: Pi05 VLA generates robotic arm control sequences
  4. Result Verification: MCP visual understanding analyzes the scene to confirm task completion
  5. Feedback Loop: If verification fails, automatically retry the task

FAQ

Check if ANTHROPIC_API_KEY is correctly set to your MiniMax API Key.
  1. Check if HF_TOKEN is configured
  2. Check if MODEL_PATH path is correct
Make sure you have installed: pip install mcp and the uvx command is available.
Set export DISPLAY=:2 (VNC) or ensure you have an X11 environment.

Application Extensions

Based on the current architecture, developers can explore the following directions:
  • Multi-task Chaining: Implement automatic decomposition and sequential execution of complex tasks
  • Failure Recovery: Enhance error detection and automatic recovery capabilities
  • Real-world Deployment: Transfer simulation policies to physical robotic arms
  • Multi-modal Interaction: Combine speech recognition to enable voice-controlled robots

Summary

In this tutorial, we demonstrated how to build an intelligent robot using MiniMax M2.1 and MCP visual understanding:
  • MiniMax M2.1 understands user intent and converts natural language instructions into specific manipulation tasks
  • MiniMax MCP provides visual understanding capabilities to verify task execution results and enable closed-loop control
  • Pi05 VLA serves as the underlying executor, generating precise robotic arm actions based on visual input
  • LIBERO/MuJoCo provides a realistic physics simulation environment
This LLM + VLM + VLA collaborative architecture demonstrates the potential of large models in the field of robot control.

Anthropic API

MiniMax M2.1 Integration Guide

MCP Guide

MCP Tool Configuration

LeRobot

HuggingFace Robotics Library