1. Open a dev session
In the GRID shell, run:~/.grid/sessions/ with dev.ipynb and the Python environment
configured, and reuses it on later runs. Run the notebook’s
connection cell, then write your code. You can also create Python files or
additional notebooks in the editor; no existing script is needed to get started.
To use your own project folder instead, pass its path:
skill run my_skill.py or skill run my_skill.py --deploy. Each run asks you
to choose an online robot in the GRID shell. To target a robot explicitly, add
--robot <robot>; headless commands require this flag.
The notebook connects using the robot you selected, for example:
2. Find out what your robot can do
make_robot() returns a RemoteRobot.
Its attributes are the robot’s own methods, discovered live when you connect —
so the fastest way to see the surface is to ask it:
Quadruped, an arm gets
Arm, and every robot gets the shared
Robot methods like getState() and
getImage().
3. Drive it
State, motion, and camera all work directly from notebook cells:4. Add perception
Anything you capture can go straight to a hosted Cortex model. This finds a water bottle in the robot’s camera frame:Where next
- Every method your robot exposes: Robot interface
- The full Cortex model catalog for perception in your skills: AI models
- Calling models from Python: grid-cortex-client
- Every shell command: CLI reference