Where Vespin agents run: cloud or your Mac
An agent runs in a cloud sandbox or on a machine of yours. Here's how the two differ and how to set up your own.
Updated · Published
An agent runs either in the cloud, in a sandbox of its own, or on a machine of yours. That can be This Mac, or a Linux server or another Mac you add. You choose with the Runs on chip under the message box when you start a task.
Differences
| Cloud | Your machine | |
|---|---|---|
| Runs with your laptop closed | Yes | Only if the machine stays on and logged in |
| Access | Its sandbox. See How Vespin isolates coding agents. | Everything the machine's user can reach |
| Model login | The plan or key in Settings › Agents | Claude Code or Codex as signed in on the machine |
| GitHub | Your workspace's GitHub App or your token | The machine's gh login, Git credentials, and SSH keys |
| Checkout | In the sandbox | A worktree under ~/.vespin |
| Cloud environment variables and scripts | Yes | No |
Browser, shared ports, run_on_mac | Yes | No |
| Automations | Yes | No |
Run an agent on your machine when the work needs something only that machine has, like Xcode, a simulator, or a local database.
Move an agent
Choose Move to in the agent's menu. We stop the agent and continue it in the new place. Moving from the cloud brings uncommitted work along, but moving from your machine brings only what the agent pushed.
Run agents on this Mac
Turn on Run agents on this Mac in Settings › Machines. If macOS asks, allow Vespin in System Settings › General › Login Items.
To keep the Mac from sleeping while agents work, set Keep this Mac awake in Settings › This Mac. Closing the lid still puts it to sleep.
Add a machine
- In Settings › Machines, open Add a machine.
- Run the install command on the machine.
- Open the link it prints and approve the code.
Before you start an agent there, sign in on that machine to Claude Code or Codex, and to GitHub with gh auth login or SSH. A machine only runs its owner's agents.
Frequently asked questions
Can I move an agent to my Mac after it has started in the cloud?
Yes. Choose Move to in the agent's menu. Uncommitted work comes along from the cloud.
Can automations run on my Mac?
No. Automations run only in the cloud.
Related guides
How Vespin isolates coding agents
What a cloud agent's sandbox holds, what it can reach, and how long it lasts.
How the Vespin Inbox works
The Inbox is where you answer your agents' decisions, to-dos, and questions. Here's how each kind of ask works.