- Автор
- TannerMidd
- Размер
- 19.9 MB
- Звёзды
- 861
- Обновлён
- КоммитNov 15Релизv0.29.0Nov 15
- Возраст
- 1 мес
- Коммиты · 90 дней
README проекта с github.com/TannerMidd/pi-pocket. Одним файлом markdown: README.md.
Your Pi coding agent, in your pocket.
Start a coding session on your computer, check its diff on your phone, and invite a teammate to the same conversation. Pi runs on your machine, in your project, with your models. No cloud VM required.
Quick start · Highlights · Feature tour · Website · Docs

In the 0.31 beta: optional classification. Relay triage can screen messages from unmarked senders and replies to them. Run outcomes can label a subagent’s or linked session’s report without replacing its answer. Both send text to the classifier provider you choose; with no classifier selected, neither makes a call. Jev Hub shows classifier activity. These features aren’t in the stable install below.
With Node.js 22.19 or newer:
npm install -g pi-pocket
pi-pocket
Or try npx pi-pocket. Choose how your devices should connect, then open the launcher’s sign-in link or scan its QR code. Keep that link private: it signs you in as the owner. In the app, open Providers to connect a model provider, or use an existing Pi sign-in. Start a session in the folder you want Pi to work in.
Prefer a desktop app? Download the latest stable release. Both installers include Node.js and install for your account without admin rights. They are unsigned; the platform guides cover verification and first launch.
Pi-Pocket-Setup-<version>.exe. Install Git for Windows if you need Pi’s shell tools and don’t already have Bash.Pi-Pocket-<version>.pkg for Apple silicon or Intel, macOS 13.5 or newer.nix run github:TannerMidd/pi-pocket) · Linux systemd service.Updates: Menu → Update Pi Pocket handles supported installs. For local npm installs, npx, or rollback precautions, see updates and backups.
Choose local for this machine, lan for a trusted local network (plain HTTP), tailscale or tailscale-serve for your tailnet, or cloudflare for a public HTTPS tunnel that still requires sign-in. The launcher guide lists prerequisites and flags. In the desktop app, use Menu → Sign in another device.
[!WARNING] Anyone who can steer Pi can run commands as your user. A session invite limits what someone sees in the app, not which files Pi can reach. Give steering access only to people you would trust at your keyboard. Security model.
On a shared host, use --socket in a protected directory rather than proxying to a TCP port another user could claim during a restart. See socket permissions, Caddy, and nginx examples.
git clone https://github.com/TannerMidd/pi-pocket.git
cd pi-pocket
npm install
npm start
There’s no build step. Run npm run check for types and API references, npm run lint for style, and npm test for the test suite. Use node test/serve.ts to try changes on an isolated copy. See Contributing, the code map, and safe self-editing.
One server process owns the database. Git worktrees separate files; they are not sandboxes. The built-in browser needs a Chromium-based browser on the host. Pi Pocket has its own extension API; Pi CLI extensions do not run unchanged. Full limitations.
Inspired by Mario Zechner’s Pi app demo. Pi Pocket is an independent project, not affiliated with Earendil. MIT; the bundled fonts and dependencies retain their own licenses, including libheif-js (LGPL-3.0). Report a security problem privately.