Code as Policies

A paradigm where LLMs generate Python code that directly controls robots, rather than natural language plans. The LLM writes executable code calling robot APIs, enabling precise, loop-based behaviors difficult to express in natural language. Code as Policies naturally handles spatial reasoning (for loops over objects) and conditional logic.

Robot LearningVision-LanguageSoftware

Explore More Terms

Browse 1,000+ robotics terms.

Back to Glossary