---
title: "Pi coding agent on a cloud server · CloudSat"
description: "Run the Pi coding agent on a CloudSat VPS: an MIT-licensed, extensible terminal agent for OpenAI, Anthropic and Google models, kept apart from your laptop."
url: https://cloudsat.io/apps/deploy-pi
updated: 2026-11-18T15:52:35Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Automation](https://cloudsat.io/apps/category/workflow-automation)

# Pi on a VPS

Pi is an MIT-licensed coding agent and agent toolkit for the terminal. It works with OpenAI, Anthropic, Google and other models, and grows through packages.

[Deploy Pi](https://dash.cloudsat.io/console/deploy?image=app%3Api&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## About Pi

Pi is a minimal agent harness from the earendil-works project: a terminal coding agent plus libraries for a unified LLM API, an agent runtime and a terminal UI. Started with `pi` in a project folder, it inspects files, edits code and runs commands.

Pi has no built-in permission system: its tools run with the rights of the Pi process and tool calls are not sandboxed. A separate CloudSat VPS gives it a machine where that is acceptable, far from your laptop's keys, and it keeps working in `tmux` after you disconnect.

The `pi` command runs on Node.js 22.19 or newer, and `/login` connects a subscription or API key.

## What you get with Pi

- One API across many model providers
- Extensions, skills and themes shared as Pi packages
- Interactive TUI, print mode and a JSON event stream
- RPC control and a TypeScript SDK
- Sessions you can resume or branch

## Pi use cases

- Leave a long refactor running on a server that stays online
- Script agent runs in automation through print or JSON mode
- Build a custom agent on Pi's SDK and test it in isolation

## After you deploy Pi

1. Once the console reports **Running**, log in over SSH and create a regular user for agent work.
2. Clone a repository, `cd` into it, start `tmux`, then run `pi`.
3. Type `/login` to connect a subscription or an API key for your provider.
4. Keep secrets the agent should not read off this server.

## Pi ports

Open these in your firewall if you use one: `22/tcp SSH (Pi opens no port of its own)`.

## Pi FAQ

### Does Pi ask before running commands?

Not by default. Pi has no built-in permission system, and its tools run with the rights of the Pi process. Its documentation covers containerization if you want a sandbox.

### Which models can Pi use?

OpenAI, Anthropic, Google and other built-in providers, plus local models and compatible endpoints. Model usage is billed by the provider, not by CloudSat.

**Disclaimer.** The Pi project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like Pi

[All apps in Automation](https://cloudsat.io/apps/category/workflow-automation)

- [OpenCode](https://cloudsat.io/apps/deploy-opencode): Automation OpenCode is an MIT-licensed AI coding agent with a terminal UI, build and plan agents, subagents and many model providers, extended through MCP servers and plugins.
- [aider](https://cloudsat.io/apps/deploy-aider): Self-hosted aider is an open-source AI pair programmer for the terminal: it edits files across your git repo with the model you choose and commits every change.
- [Qwen Code](https://cloudsat.io/apps/deploy-qwen-code): Automation Qwen Code is an Apache-2.0 AI coding agent for the terminal. It edits your project and runs commands with Qwen, OpenAI, Anthropic, Gemini or local models.
- [goose CLI](https://cloudsat.io/apps/deploy-goose-cli): Automation goose is an AI agent you run in a terminal: open source, compatible with many model providers, and able to use tools through MCP extensions. Run it next to your code.
- [Activepieces](https://cloudsat.io/apps/deploy-activepieces): Automation Activepieces is an open-source Zapier alternative: a visual flow builder, 280+ integrations, code steps and AI agents, running on a server you control.
- [AdClaw](https://cloudsat.io/apps/deploy-adclaw): Automation AdClaw runs a team of AI marketing agents on your server, each with its own persona, model, skills and schedule, managed from a web dashboard or Telegram.
