git404hub

what is behavior_prompting fr?

real-stanford/behavior_prompting — explained in plain English

Analysis updated 2026-05-18

55PythonAudience · researcherComplexity · 5/5LicenseSetup · hard

tl;dr

Research code for training robots to learn new manipulation tasks from a single demonstration used as a prompt, instead of full retraining, from a Stanford robotics lab.

vibe map

mindmap
  root((behavior_prompting))
    What it does
      Learn from one demo
      Behavior prompting policy
      Robot manipulation research
    Tech stack
      Python
      Diffusion Policy
      Mamba env
      iPhUMI
    Use cases
      Visuomotor policy training
      iPhone demo capture
      LIBERO benchmark eval
      2D drawing sim
    Audience
      Robotics researchers
      Manipulation labs

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Train a visuomotor robot policy conditioned on language, a goal image, or an in-context demonstration.

VIBE 2

Capture robot demonstrations with an iPhone using the iPhUMI system and use them to train single arm or bimanual policies.

VIBE 3

Evaluate manipulation policies against the LIBERO benchmark, including procedurally generated LIBERO-Gen tasks.

VIBE 4

Test 2D drawing capability of a policy in the DrawAnything-Sim simulation environment.

what's the stack?

PythonPyTorchDiffusion PolicyMamba

how it stacks up fr

real-stanford/behavior_promptingbhartiyashesh/purelymailcalendarbiao994/docpaws
Stars555555
LanguagePythonPythonPython
Setup difficultyhardmoderatemoderate
Complexity5/54/53/5
Audienceresearchergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · hard time til it works · 1day+

Requires git submodules, a mamba environment, and separate robot hardware or simulation setup depending on the workflow used.

MIT license: use, modify, and redistribute freely, including commercially, as long as you keep the copyright notice.

in plain english

Behavior Prompting Policy is research code from a Stanford robotics lab, built to accompany a paper about teaching robots new tasks by showing them a demonstration instead of retraining a model from scratch. The idea is that a robot policy can be prompted with an example, much like showing a person how to do something once, rather than needing thousands of new training examples for every new task. The repository bundles several related pieces of robot learning research together. It includes training for visuomotor policies, meaning models that learn to act based on camera images, with support for following language instructions, following a goal image, or following an in-context demonstration. It also includes support for iPhUMI, a system for training single arm and two arm robots using demonstrations captured on an iPhone, and code for deploying trained policies onto real robots and sensors. The project also extends and evaluates against LIBERO, a common benchmark suite for robot manipulation tasks, adding a version called LIBERO-Gen that can automatically generate new environments, tasks, and demonstrations for training and testing. A separate simulated environment called DrawAnything-Sim is included to test how well a policy can learn 2D drawing tasks. Setup requires cloning with git submodules, opening the project as a VS Code workspace, and creating a mamba (a Conda-like package manager) environment from a provided file, with a second environment needed only if deploying to a physical robot. Detailed setup guides are provided as separate documents for each subsystem, such as iPhUMI, laundry folding, and LIBERO. This is specialized research code intended for people working on robot learning and manipulation, not a general purpose tool. It is released under the MIT license, and the authors ask that users cite their paper if the code is useful in research.

prompts (copy fr)

prompt 1
Explain how in-context behavior prompting differs from standard imitation learning in this repository.
prompt 2
Walk me through setting up the mamba environment and VS Code workspace for behavior_prompting.
prompt 3
How do I use an iPhUMI demonstration captured on an iPhone to prompt a trained policy?
prompt 4
Summarize what LIBERO-Gen adds on top of the standard LIBERO benchmark in this codebase.

Frequently asked questions

what is behavior_prompting fr?

Research code for training robots to learn new manipulation tasks from a single demonstration used as a prompt, instead of full retraining, from a Stanford robotics lab.

What language is behavior_prompting written in?

Mainly Python. The stack also includes Python, PyTorch, Diffusion Policy.

What license does behavior_prompting use?

MIT license: use, modify, and redistribute freely, including commercially, as long as you keep the copyright notice.

How hard is behavior_prompting to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is behavior_prompting for?

Mainly researcher.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.