@celestoai/pi

Run Pi coding tools in a Celesto computer

Packages

Package details

extension

Install @celestoai/pi from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@celestoai/pi
Package
@celestoai/pi
Version
0.1.4
Published
Aug 27, 2026
Downloads
229/mo · 176/wk
Author
aniketmaurya
License
Apache-2.0
Types
extension
Size
94.9 KB
Dependencies
2 dependencies · 5 peers
Pi manifest JSON
{
  "extensions": [
    "./dist/index.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

Celesto for Pi

Run Pi's coding tools away from your laptop while keeping its interface and conversation history local. A Celesto computer is an isolated remote computer that holds your project and runs the tools. Model credentials are the secrets Pi uses to access an AI model. They stay on your machine.

Read the complete Pi cloud setup guide for synchronization, security, lifecycle, and troubleshooting details.

Quickstart

Before starting, install Pi and configure it with a model provider. You also need Node.js 22.19 or newer and a Celesto API key.

Install the extension:

pi install npm:@celestoai/pi

Sign in once with the Celesto CLI:

pip install celesto
celesto auth login

Alternatively, export CELESTO_API_KEY or add it to the project's local .env file:

CELESTO_API_KEY="your-celesto-api-key"

The bundled Celesto TypeScript SDK checks the shell environment first, then .env, then credentials saved by celesto auth login.

From the project you want to work on, start Pi:

pi --celesto

The extension creates an empty $HOME/workspace on a Celesto computer and runs Pi's read, write, edit, and bash tools there. Computers created by the extension use a persistent home, so $HOME survives stop and restore. The extension does not copy anything from your machine automatically.

Copy a project explicitly

From inside Pi, copy the current local project to the Celesto workspace:

/celesto push

This explicit command replaces the remote workspace. It refuses to copy your filesystem root or home directory. Start Pi from a project directory before running it.

After pushing, copy changes in either direction explicitly:

/celesto sync

The sync command preserves independently changed files under .celesto-conflicts/ instead of overwriting local work. Pi never syncs files automatically when it exits.

Check the computer

/celesto status

This shows the computer name, workspace, cleanup behavior, and current sync revision.

Keep the computer

Computers created by the extension are deleted when Pi exits, without an automatic sync. Run /celesto sync first if you want local copies of remote changes. Keep a computer for later use with:

/celesto keep

The command prints the exact celesto computer delete command to use when you no longer need it.

Reuse an existing computer

Get a computer name from celesto computer create or celesto computer list, then pass it to Pi:

pi --celesto --celesto-computer curie

The extension never deletes a computer selected by the caller. Existing files in $HOME/workspace remain untouched unless you explicitly run /celesto push or /celesto sync. A non-empty legacy /workspace is moved into $HOME/workspace automatically when the home workspace is empty.

Files excluded from explicit transfers

For /celesto push and /celesto sync, the extension reads .gitignore and then applies .celestoignore overrides. It also excludes common secrets, dependency directories, build output, files larger than 25 MB, and symbolic links. .git remains available so Pi can inspect branches and diffs.

Add project-specific patterns to .celestoignore:

fixtures/private/
*.large-test-data

Model-provider credentials are never copied into the Celesto computer. CELESTO_API_KEY is used only by the local SDK to contact Celesto.

Current scope

This first version uses compressed archives and base64 file transfer for explicit push and sync commands. It intentionally does not override Pi's grep, find, or ls tools yet. Native workspace transfer requires future Celesto backend support.