Remote (mobile)
Use Letta Code remotely from the Letta Code app or chat.letta.com
The remote environments feature in Letta Code allows you to easily interact with agents deployed on any device.
Both chat.letta.com and the Letta Code app support remote environments. This means that you can use remote environments to chat with an agent running on your laptop from your phone (via chat.letta.com), or use the Letta Code app as a central command center for controlling agents running on various remote VM machines.
Getting started
Section titled “Getting started”-
Install the Letta Code desktop app.
-
Navigate to the app settings (top-left in MacOS), then enable “Allow remote access”.
-
You can now deploy agents on the same machine you installed the Letta Code app on, and access them from any device!
For example, if you enabled remote access on the Letta Code app installed on your home PC, you can now chat with agents running on your home PC via chat.letta.com remotely, as long as the Letta Code app is running on your home PC.
-
Install the Letta Code CLI (
npm install -g @letta-ai/letta-code), and log in (runlettaand use the OAuth link). -
Run
letta serveron any machine to start a WebSocket server and register it as a named execution environment for your agent. You can also specify the name directly:letta server --env-name "work-laptop" -
You can now deploy agents on the same machine you installed the Letta Code CLI on, and access them from any device!
For more information on how to deploy remote environments, see the remote environments guide.