Viam SDK

Viam TypeScript SDK

Build and connect to robots with TypeScript

license npm documentation

Warning This is a beta release of the Viam TypeScript SDK. Stability is not guaranteed. Breaking changes are likely to occur, and occur often.

npm install @viamrobotics/sdk

The examples directory contains small apps that demonstrate how to use this SDK to operate a robot running Viam.

https://ts.viam.dev

To use this SDK with node, read the documentation or view the example

To use this SDK with React Native, read the documentation or view the example

Warning

Using the typescript SDK in offline mode necessitates disabling TLS verification and so should be done with caution.

To use the browser on a local network with limited-or-no internet, follow these instructions:

1. start viam-server with the `-no-tls` flag
2. set the signaling server in typescript to `http://{HOST}.local:8080`

Copyright 2022-2025 Viam Inc.

Apache 2.0 - See LICENSE file