Client ====== Both SDKs expose a ``Client`` entry point for the appliance gRPC control plane. Python owns its channel directly; TypeScript accepts a Connect transport from the runtime-specific entry points. .. tab-set:: :sync-group: sdk-language .. tab-item:: Python :sync: python .. automodule:: olo :no-members: .. autoclass:: olo.Client :members: .. autoclass:: olo.Robot :members: .. py:data:: DEFAULT_TARGET :module: olo :value: '127.0.0.1:50151' Default gRPC target when ``Client()`` is called without one and :envvar:`OLO_SDK_GRPC_TARGET` is unset. .. py:data:: ENV_TARGET :module: olo :value: 'OLO_SDK_GRPC_TARGET' Environment variable that overrides :data:`olo.DEFAULT_TARGET`. .. tab-item:: TypeScript :sync: typescript ``olo`` exports a runtime-neutral ``Client`` and channel helpers. - :doc:`Client ` — entry point for the TypeScript SDK; exposes the ``core``, ``spatial``, ``kinematics``, ``locomotion``, ``navigation``, ``vision``, and ``ai`` module wrappers plus ``robot()``. - :doc:`Robot ` — namespace-scoped robot handle with always-present capability handles; operations validate their own runtime dependencies. - :doc:`DEFAULT_TARGET ` — default appliance gRPC target. - :doc:`ENV_TARGET ` — environment variable that overrides ``DEFAULT_TARGET`` for target resolution in Node. Construct ``Client`` with a Connect transport for your runtime: .. code-block:: typescript import { Client } from "olo"; const client = new Client(myTransport);