---
title: Cloud agents | Letta Docs
description: Run your stateful agents in cloud computers
---

Run your Letta agents in cloud computers to give them an always-on environment, or to parallelize your work across many isolated VMs.

All Letta agents created with a Letta account are “cloud” agents by default - their agent state (memories and messages) are stored in the cloud. However, their execution environment differs depending on what product you’re using.

If you’re using the [desktop app](/platform/desktop-app/index.md), your agent will execute on your local computer by default - for example, allowing it to access local files or programs installed on your local machine. If you log into our web app at [chat.letta.com](https://chat.letta.com), your agent will execute on a **cloud computer** (or “cloud sandbox”) by default. Cloud computers are isolated per-conversation.

## Why use cloud computers?

Cloud computers has several advantages over local computers:

- **Scalability**: With local computers, you may exhaust the resources of your machine if you are running enough parallel conversations, and each agent is doing serious work (running scripts, writing code, testing applications). Cloud computers are isolated per-session, and are built to scale to hundreds or even thousands of parallel sessions.
- **Stability**: Every cloud computer has a consistent VM image, making it easy for your agents to know what to expect and learn (through memories) how to efficiently build and create on cloud computers.
- **Availability**: Letta agents can use cloud computers to become “always on” agents. If you’re using a local computer as the execution environment for your agent, your agents can’t operate if your computer goes to sleep (for example, if you close the lid).

In some cases, you’ll want your agent to access your local machine to access certain files, or to use your particular development environment. Luckily, Letta makes it incredibly easy to “teleport” agents across machines, so you can take full advantage of both cloud computers and local computers with the same stateful agents.

## Getting started

When using the Letta web app from your browser or phone at [chat.letta.com](https://chat.letta.com), the default execution environment for your agents will be a cloud computer. Your agents, memory, conversations, and tools carry over from the Letta app and CLI, so you can start a task on one device and continue it somewhere else.

### Web / mobile setup

To get setup visit [chat.letta.com](https://chat.letta.com) and create an account or login. Agents you create in the web app are backed up to your Letta account, so you can access them from any device, including the [CLI](/platform/cli/index.md) and [desktop app](/platform/desktop-app/index.md), as long as you use the same login.

### Bring your own computers

If you want the agent to work on a specific computer — for example, a workstation or your own cloud VM — [connect your own machine](/platform/computers/byom/index.md). Once connected, select it from the computer picker in `chat.letta.com`. The agent’s shell commands, file operations, and tool calls will run there instead of in the sandbox.

You can also use the filesystem icon to edit code and files directly on the selected computer.

To make a computer available from [chat.letta.com](https://chat.letta.com), install the Letta CLI on that computer, then run `letta server` to connect it to your Letta account. For more information, see [Bring your own machine](/platform/computers/byom/index.md).

![A Letta agent running in chat.letta.com with a cloud sandbox selected](/images/letta-code-remote.jpg) ![A Letta agent running in chat.letta.com with a cloud sandbox selected](/images/letta-code-remote.jpg)
