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

# grid-cortex-client

> Python client for GRID Cortex

Python client for GRID Cortex — cloud model inference for robotics: depth, detection, segmentation, grasping, VLMs, and VLA policies behind one `run()` call.

## Install

```bash theme={null}
pip install grid-cortex-client
```

## Quickstart

```python theme={null}
from grid_cortex_client import CortexClient, ModelType

client = CortexClient()  # reads GRID_CORTEX_API_KEY from the environment
depth = client.run(ModelType.ZOEDEPTH, image_input="scene.jpg")
```

Every hosted model and its inputs/outputs is documented in the **Cortex Models** section of the sidebar.

## Classes

* [`CortexClient`](/v2.2/python-api/grid-cortex-client/cortexclient)
* [`AsyncCortexClient`](/v2.2/python-api/grid-cortex-client/asynccortexclient)
* [`CortexExecutionEvent`](/v2.2/python-api/grid-cortex-client/cortexexecutionevent)
* [`RuntimeObserver`](/v2.2/python-api/grid-cortex-client/runtimeobserver)
* [`CortexHubClient`](/v2.2/python-api/grid-cortex-client/cortexhubclient)
* [`CortexHubError`](/v2.2/python-api/grid-cortex-client/cortexhuberror)
* [`HubResult`](/v2.2/python-api/grid-cortex-client/hubresult)


## Related topics

- [GRID Cortex Client](/v2.2/models/cortex.md)
- [grid-types](/v2.2/python-api/grid-types/overview.md)
- [Your first skill](/v2.2/get-started/first-skill.md)
- [Your first session](/v2.2/get-started/first-session.md)
- [Get started](/v2.2/get-started/installation.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.