@devspecai/pi-plugin
DevSpec for Pi — shared team memory, live remote control from phone or web, and task provenance for the Pi coding agent.
Package details
Install @devspecai/pi-plugin from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@devspecai/pi-plugin- Package
@devspecai/pi-plugin- Version
0.15.3- Published
- Nov 23, 2026
- Downloads
- 841/mo · 51/wk
- Author
- devspecali
- License
- MIT
- Types
- extension, skill, theme, prompt
- Size
- 2.6 MB
- Dependencies
- 2 dependencies · 2 peers
Pi manifest JSON
{
"image": "https://devspec.ai/logo-icon.png",
"skills": [
"./skills"
],
"themes": [
"./themes"
],
"prompts": [
"./prompts"
],
"extensions": [
"./extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
DevSpec for Pi
Build on your team's best thinking. DevSpec is where your team, your shared knowledge, and your coding agents build software together.
Installing @devspecai/pi-plugin connects Pi directly to your DevSpec projects — giving your agent durable project memory, structured task execution, automatic commit provenance, and live remote control from your phone or browser.
Why DevSpec + Pi?
- Shared team memory with automatic staleness screening — Before each turn — whether you typed it or sent it from DevSpec — Pi brings in the project records that bear on what was asked: requirements, decisions and conventions, documents and runbooks, related plans and ideas your team turned down, and past shipped work. Each appears once per conversation and comes back only when it changes, and nothing is added when nothing applies. When you record a new decision or land changes, DevSpec screens your project's records for conflicts, duplicates, and Possibly outdated guidance so your team's shared memory stays accurate.
- Steer Pi live from your phone or the web — In a linked or pinned repository, interactive Pi connects to DevSpec automatically and appears on your project's Agents page outside any session room (or run
/devspec.remoteon demand). Attach it to a room from devspec.ai or with/devspec.remote --session <id>to chat from your phone or browser, collaborate with teammates, answer structured questions and polls, and track multi-phase execution plans in real time. - Tasks, observed verification, and automatic commit provenance — Pick up tasks with full context (
/devspec.work). When a single task is claimed in a linked project repository (including Git worktrees and Git Bash on Windows) or a.devspec/project.json-pinned folder, Pi tags your commits ([devspec:<id>]) automatically, links pull requests, and records observed verification evidence from commands and checks it actually ran against each acceptance criterion. (On native Windows outside WSL or Git Bash, Pi adds the task tag directly in its commit messages.) - Protected intent, pull-request checks, and Merge when cleared — DevSpec screens changes against your team's recorded decisions, requirements, and open tasks, runs one final check per pull request when it is ready (protected or not), holds reversals of someone else's decision and unagreed experiments on their own branch until approved, publishes its pull-request check on GitHub, and merges cleared pull requests automatically. A hold Pi can fix in code, such as a broken requirement, clears by itself once Pi fixes the work and DevSpec checks it again. When GitHub won't let DevSpec merge a cleared pull request itself, DevSpec wakes Pi once to merge it, or add it to your merge queue, with your GitHub credentials.
- One native package — Native DevSpec tools, authentication, project matching, commit tracking, and live remote control are all built in. No separate MCP server setup required.
Quick Start
1. Install the package
pi install npm:@devspecai/pi-plugin
2. Sign in
Inside pi run:
/devspec.login
Your browser opens DevSpec's approval page. Click Allow, and Pi is signed in as you, across all of your DevSpec projects. Restart pi once so your status bar and agent connection load cleanly. Pi keeps the sign-in on this computer, readable only by you, and renews it by itself, so you stay signed in until you sign out or disconnect Pi on your Agent setup page.
- Working over SSH, or on a machine your browser cannot reach? Run
/devspec.login --code. Open the link in any browser, approve, and paste the code the page shows back into Pi. Pi does this by itself in an SSH session. - Staging and production are signed in separately and side by side. Pi uses production unless
DEVSPEC_ENV=staging(or a fullDEVSPEC_MCP_URL) is set when it starts, and switching never needs a new sign-in.
3. Connect to your project
- In a linked repository: Start
piin any Git repository linked to your DevSpec project (or a folder pinned with.devspec/project.json). Interactive Pi matches the project and appears on your project's Agents page automatically (toggle startup auto-connect with/devspec.remote auto on|off). - Join a session room: Attach your connected Pi terminal to a new or existing session room from devspec.ai, or run
/devspec.remote --session <id>inside Pi (and/devspec.remote stopwhen you want to disconnect this conversation). - Switch or pin projects anywhere: Run
/devspec.projectto inspect or change the active project for the current conversation or folder (or launch withpi --devspec-project "Project Name").
Sitting idle on the Agents page uses no tokens — Pi runs only when you or an authorized teammate asks it to do something, when your project routes a check on a change for it to rule, when DevSpec follows up on work Pi did (something a check found, a cleared pull request to merge, or whether it is still on an automation run), or when an automation you opted into runs. If your model provider stops Pi for usage, such as a rate limit or a used-up quota, Pi tells DevSpec, which stops sending Pi checks, and hands on any it holds, until Pi can work again.
Commands
You can ask Pi to do anything in DevSpec in plain English ("Work on DevSpec task 4f2a", "What did we decide about rate limiting?", "Create a task for the webhook retry bug").
The package also adds these slash commands and launch flags:
| Command | What it does |
|---|---|
/devspec.login |
Signs Pi in to DevSpec through your browser (--code on a machine your browser cannot reach). |
/devspec.logout |
Signs Pi out of the DevSpec server it is using (staging and production are separate). |
/devspec.status |
Shows which DevSpec server Pi uses, who it is signed in as, and where its credential comes from. |
/devspec.work [item] |
Lists open tasks in your project or claims a task by ID or title to start building. |
/devspec.help |
Shows a quick summary of DevSpec commands inside Pi. |
/devspec.remote |
Connects this Pi conversation to DevSpec and waits on the Agents page outside any session room. |
/devspec.remote --project "<name>" |
Connects to a specific project for this conversation without changing the folder default. |
/devspec.remote --session <id> |
Connects (or attaches an already-connected Pi terminal) to a specific DevSpec session room (-s <id>). |
/devspec.remote stop |
Disconnects this Pi conversation from DevSpec (off or end) while leaving other terminals running. |
/devspec.remote reconnect |
Retries a troubled DevSpec connection immediately (retry). |
/devspec.remote auto [on|off] |
Shows or toggles automatic connection when interactive Pi starts. |
/devspec.remote preempt [on|off] |
Shows or toggles whether a new message from you interrupts Pi mid-turn (on) or queues until the turn finishes (off). |
/devspec.project |
Opens the project selector (status, choose, remember, or forget). |
pi --devspec-project "<name>" |
Starts pi bound to a specific DevSpec project by name or ID for that terminal session. |
/devspec.pin <project-uuid> |
Pins the current folder to a DevSpec project via .devspec/project.json. |
/devspec.reload |
Reloads DevSpec extensions and skills in the current Pi session. |
/devspec.review |
Lists the open review questions (possibly out of date, or waiting for someone's OK) on records Pi has seen in this session. |
/devspec.logo |
Turns the DevSpec duck header on or off when Pi starts. |
Updating
To update the package to the latest release:
pi update npm:@devspecai/pi-plugin
Then run /reload (or /devspec.reload) or restart pi.
Learn More
- Web & Sign Up: devspec.ai
- App & Agent Setup: app.devspec.ai/settings/agents
- Changelog: CHANGELOG.md