> ## 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.

# ZenohProgram

> Compiled callable returned by ``@program``

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

Compiled callable returned by `@program`.

Calls use the wrapped function's exact Python signature. When the value
supplied for its `Robot` parameter implements the deployment protocol,
the call is dispatched to that deployment. Otherwise the original Python
function runs normally, including native robot `getImage()` behavior.

## Constructor

```python Signature theme={null}
ZenohProgram(
    func: Callable[..., Any],
    ir: ProgramIR,
    pure_functions: Mapping[str, Callable[..., Any]],
    *,
    signature: inspect.Signature,
    robot_param: str | None,
    special_params: tuple[str, ...],
)
```

## Properties

<ResponseField name="pure_functions" type="dict[str, Callable[..., Any]]" />

## Methods

### `bind_inputs()`

```python Signature theme={null}
bind_inputs(*args: Any, **kwargs: Any) -> dict[str, Any]
```

Bind a complete Python call and return deployable data inputs.

### `deployment_spec()`

```python Signature theme={null}
deployment_spec() -> dict[str, Any]
```

### `dump_graph()`

```python Signature theme={null}
dump_graph(robot_id: str = 'debug', *, fuse: bool = True) -> str
```

Lower to graph and pretty-print for debugging.

### `dump_ir()`

```python Signature theme={null}
dump_ir() -> str
```

Pretty-print the program IR for debugging.

### `show_graph()`

```python Signature theme={null}
show_graph(robot_id: str = 'debug', *, fuse: bool = True) -> None
```

Open a browser tab with the computation graph diagram.


## Related topics

- [Your first skill](/get-started/first-skill.md)
- [Get started](/get-started/installation.md)
- [Your first session](/get-started/first-session.md)
- [The Intelligence Grid for Physical AI](/introduction.md)
