NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MimicAgent: Quadruped Skills via Prompt-to-Trajectory Generation

Lucky Kant Nayak, Narayanan Palghat Parameswaran, Neehar Peri, Deva RamananarXiv 2026

TL;DR

MimicAgent bypasses the notoriously difficult process of manual reward shaping for quadruped robots by using LLMs to directly generate coarse reference trajectories from text prompts. By combining an agentic code-generation loop with example-guided reinforcement learning, it successfully trains robots to perform complex, dynamic skills like flips, skating, and handstands in both simulation and the real world.

What Problem Does This Paper Address?

Training quadruped robots to perform agile, dynamic behaviors typically relies on reinforcement learning (RL) governed by meticulously tuned reward functions. Crafting these rewards is an art form often jokingly called "graduate student descent"—a tedious process of trial-and-error. While recent frameworks like Eureka have tried to automate reward design using LLMs, they often struggle to generalize across diverse skills and unique robot shapes (like wheeled quadrupeds), requiring hand-engineered success metrics for evaluation.

Alternatively, robots can learn from demonstrations (imitation learning). This works wonders for humanoids because we have massive motion-capture datasets. Quadruped robots, however, suffer from a severe data scarcity problem; there are no massive, open-source repositories of quadrupeds doing stunts. MimicAgent solves this by letting LLMs synthesize the missing reference trajectories directly from natural language prompts.

Methods

MimicAgent splits the problem into two main phases: Agentic Motion Synthesis and Example-Guided RL.

Fig. 2: MimicAgent Pipeline. Given the prompt “the wheeled quadruped performs a full forward flip and lands upright on all four wheels”, our motion planner agent draws on prior knowledge of the robot model and the simulation environment API to decompose the skill into subparts. The code generator agent converts this phase plan into executable base and foot trajectories, which the kinematic executor renders. Task-agnostic unit tests then check the rendered motion for violations. The motion-diagnosis agent summarizes any failed checks and returns them as targeted feedback for code revision. This self-improvement loop repeats until the trajectory passes validation or the iteration budget is exhausted.
  1. Agentic Motion Synthesis Pipeline:
  2. Motion Planner: Takes a text prompt (e.g., "perform a full forward flip") and outlines the temporal and kinematic sub-phases (e.g., crouch, takeoff, airborne tuck).
  3. Code Generator: Translates this plan into executable Python code defining base and foot trajectories over time.
  4. Kinematic Executor: Runs the code using forward kinematics in MuJoCo without physics simulation. This makes generation incredibly fast.
  5. Task-Agnostic Unit Tests: Rather than checking for task success, a critic checks for basic physical plausibility (e.g., joint limits, ground penetration, base height).
  6. Recursive Self-Improvement: If a trajectory fails a unit test, a diagnostic agent provides natural language feedback to the code generator to fix it.
  7. Example-Guided RL: Once a trajectory passes the unit tests, it serves as a reference for a DeepMimic-style imitation learning pipeline. A privileged teacher policy is trained using PPO to track the trajectory in simulation, which is then distilled into a hardware-deployable student policy via DAgger using yaw-invariant observations to prevent sensor drift.

Datasets

The paper does not rely on pre-existing motion datasets. Instead, the authors use an automatic skill proposal agent to generate a brand-new library of 65 unique quadruped skills to test the diversity of their approach.

Fig. 3: LLM Generated Skill Diversity. MimicAgent gener- ates 65 skills distributed across all six taxonomy categories, covering both 22 Active (wheel-driven), 36 Passive (limb- driven), and 7 Hybrid motion regimes. The balanced spread demonstrates that the pipeline does not collapse onto a narrow subset of the motion space.

These skills span six categories across active (wheel-driven), passive (limb-driven), and hybrid motion regimes on the Unitree Go2 and Go2-W (wheeled) robot models.

Key Insights and Ideas

  • Trajectories are Easier than Rewards: It is far more intuitive for a human—and consequently, an LLM—to describe what a motion looks like geometrically over time than to write a complex mathematical reward function that coaxes a policy into that motion.
  • Embrace Kinematic Imperfection: The generated reference trajectories do not need to be dynamically stable or physically perfect. The downstream RL algorithm naturally handles the real physics, balance, and torque limits; the reference trajectory merely acts as a stylistic guide.
  • The Power of Task-Agnostic Filtering: By evaluating trajectories with universal structural checks (like "don't clip through the floor") rather than task-specific success metrics, the framework scales effortlessly to entirely new behaviors without human intervention.

Key Results

  • High Semantic Alignment: When utilizing Claude Fable 5.1 within the MimicAgent harness, 87% of text prompts successfully generated semantically accurate reference trajectories.
  • User Preference: In a 57-person user study, participants consistently preferred policies trained by MimicAgent over Eureka, particularly on highly dynamic skills like side flips and front flips (scoring up to +3.5 points higher on a 5-point Likert scale).
  • Superior Tracking: MimicAgent achieved lower mean squared tracking errors across almost all skills compared to trajectories manually designed using a human keyframing tool.
  • Sim-to-Real Deployment: The distilled student policies successfully transferred directly to a real Unitree Go2-W robot, achieving stable real-world execution of complex skills like a two-legged handstand walk and a front-wheel wheelie roll.
Fig. 4: Qualitative Skill Synthesis Results. We present representative skills synthesized by MimicAgent. Each sub- figure shows a different skill (with the initial prompt in the subcaption); please see the project page for trajectory rollouts.

Limitations and Future Work

The authors note that MimicAgent still struggles with certain aerial or highly complex in-place rotational skills. In these failure cases, the LLM sometimes generates physically impossible flight phases (e.g., rising too slowly or floating in the air too long). Because the imitation learning tracking objective is heavily weighted toward root-relative end-effector positions, the robot can occasionally exploit a "stationary counterfactual"—reproducing the joint movements while remaining on the ground—and still achieve a high reward without actually performing the intended aerial skill. Future work will likely target tighter integration of coarse physics heuristics during the LLM generation phase.

Summary updated

BibTeX
@misc{nayak2026mimicagent,
  author = {Lucky Kant Nayak and Narayanan Palghat Parameswaran and Neehar Peri and Deva Ramanan},
  title = {{MimicAgent: Quadruped Skills via Prompt-to-Trajectory Generation}},
  year = {2026},
  eprint = {2609.24145},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.24145},
}
Figure