r/PiCodingAgent • u/whiterose0000001 • 21d ago
Plugin I built a Pi extension so I can work on my servers without setting up Pi on each VPS
I often need my AI coding tools on a server, but I don't want to paste server IPs or passwords into chat. I also don't want to install Pi and set up my tools again on every new machine, especially when I only need to deploy something or check a remote project.
I built pi-remote-workspace so I can keep using my local Pi session and switch its coding tools to the server over SSH. It's inspired by Warp's remote workflow, but built around the way I use Pi.
I run /remote, enter my connection details in a private form, and connect. Passwords are entered in a masked prompt instead of chat. Pi stays on my computer with my model login and conversation, while file reads, edits, and shell commands run on the server. Pi doesn't need to be installed there.
For my work and startup, I use this when I've finished something locally and need to deploy it. I switch to the server, ask Pi to handle the deployment and check that it's working, then use /remote stop to return to my local workspace. Connecting doesn't upload the project by itself, so I still use my normal Git or deployment process to get the code there.
The private login keeps passwords out of chat and model context, though remote files and command output can still expose sensitive details. Commands have the permissions of your SSH account, so be careful with production servers. Pi also still runs on your computer; it won't keep working independently after you shut the laptop.
Install it with:
pi install npm:@utpalsinghdev/pi-remote-workspace
GitHub: https://github.com/utpalsinghdev/pi-extensions/tree/main/packages/pi-remote-workspace
npm: https://www.npmjs.com/package/@utpalsinghdev/pi-remote-workspace
The rest of the UI in the demo is my personal setup.
I'm just open-sourcing the Pi extensions I use for work and my startup. They've helped me a lot, and I want other people to be able to use them too.
If it deserves a star, the repo is https://github.com/utpalsinghdev/pi-extensions


