> ## Documentation Index
> Fetch the complete documentation index at: https://docs.generalrobotics.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Robot

> Type annotation: this parameter is a robot handle

```python theme={null}
from grid_nexus_program import Robot
```

Type annotation: this parameter is a robot handle.

Usage::

from grid\_nexus\_program import Robot, program

@program
def controller(bot: Robot, depth: float):
bot.setVelocity(linear=depth)

The parameter name is arbitrary — the compiler uses the annotation,
not the name, to detect robot handles.


## Related topics

- [CLI reference](/cli/reference.md)
- [The Intelligence Grid for Physical AI](/introduction.md)
- [Common FAQs](/faq/common-faqs.md)
- [Your first session](/get-started/first-session.md)
- [Get started](/get-started/installation.md)
