Run Pi with project tools already connected.
my-pi is a ready-to-run coding-agent CLI with the tools and workflows this repository actually uses: scoped MCP, LSP, skills, context, recall, guardrails, observability, and peer coordination.
pnpx my-pi@latest Recall, edit, validate
Recall restores the earlier decision. Terminal tools make the change. LSP diagnostics and tests verify the result.
add a token-bucket rate limiter to the public API guard, then run the unit tests
recalling previous session…
Recall has notes from yesterday: the limiter belongs in the route guard, keyed by client IP. Adding a token bucket and wiring it in.
read src/lib/server/guard.ts:1-9
… 23 more linesimport type { RequestEvent } from '@sveltejs/kit'; import { error } from '@sveltejs/kit'; export function guard(event: RequestEvent) { // auth + validation runs here return event; }lsp_diagnostics(src/lib/server/guard.ts) → 0 errors · 0 warnings · 4 symbols
edit src/lib/server/guard.ts const buckets = new Map<string, number>(); const LIMIT = 60; // auth + validation runs here const ip = event.getClientAddress(); const left = buckets.get(ip) ?? LIMIT; if (left <= 0) throw error(429, 'rate limited'); buckets.set(ip, left - 1);
exit 0pnpm test:unit -- --runTest Files 3 passed (3) Tests 18 passed (18) Duration 1.42sDone — limiter in place, LSP shows the file clean, all 18 tests green. Want me to open a PR or hand it to a peer for review?
How my-pi supports recurring development work
These workflows recur across real project sessions and show when each part of my-pi is useful.
Finish with evidence, not confidence
Inspect the diff, run the narrow check and test, then query diagnostics on changed files before handing work back.
pi-lsp project checksKeep large output searchable
Large reads and tool results become compact receipts; search snippets first, retrieve nearby chunks, and export only for broad offline processing.
pi-contextContinue from earlier decisions
Earlier sessions answer “what did we decide?” so work resumes with the original constraints, inspected files, and validation state.
pi-recallDelegate implementation; keep final review
Independent Pi sessions carry research and implementation, return results through messages and artifacts, and leave final integration to the lead.
pi-team-modeConstrain risky work before it starts
Constrain editable paths and commands, encode validation, log evidence, and check for drift before a delegated task is complete.
pi-harnessUse credentials without putting them in chat
Discover available key names, load only what a command needs, and return the result without putting the credential into chat.
pi-nopeek pi-redactSee why an agent run failed
Local usage data and live traces expose slow requests, noisy tools, failed calls, and coordination state while work is happening.
pi-telemetry pi-observabilityLoad only what the repository needs
Activate relevant MCP servers and skills by project, then follow that repository’s own README, agent guidance, and validation flow.
pi-mcp pi-skills native project tools
Choose how to use my-pi
Run the distribution
Choose this when you want all included extensions and my-pi defaults configured together.
pnpx my-pi@latest pi install.Add one package
Choose this when you already use Pi and only want one extension from this repository.
pi install npm:@spences10/pi-lsp Install selected extensions into your Pi setup.
Every row opens its package README, the source of truth for commands, configuration, and runtime behavior.
agent essentials
@spences10/pi-lspLanguage-server diagnostics, hover, definitions, references, and symbols.@spences10/pi-mcpProject-aware MCP servers, tool discovery, and the /mcp control surface.@spences10/pi-contextA searchable SQLite sidecar for oversized tool output.@spences10/pi-skillsSkill discovery, profiles, import, enablement, and sync.@spences10/pi-harnessEphemeral, contract-driven runtimes for implementation and review.
memory & operations
@spences10/pi-recallPrior-session recall reminders and background sync.@spences10/pi-observabilityA live local event stream with browser and terminal dashboards.@spences10/pi-telemetryLocal SQLite telemetry, queries, exports, and eval metadata.@spences10/pi-team-modeCoordination for independent Pi sessions, groups, artifacts, and mailboxes.@spences10/pi-git-uiInteractive source-control staging and commit workflows.
safety & guidance
@spences10/pi-redactSensitive-output redaction with session statistics.@spences10/pi-nopeekPrompts agents toward secret-safe environment loading.@spences10/pi-confirm-destructiveExplicit confirmation before destructive actions.@spences10/pi-coding-preferencesConfigurable coding-workflow guardrails.@spences10/pi-svelte-guardrailsChecks that block configured Svelte anti-patterns.@spences10/pi-omnisearchPrompts agents toward source-verified web research.@spences10/pi-sqlite-toolsPrompts agents toward safer structured SQLite operations.@spences10/pi-themesA bundled theme pack selected through Pi settings.
Installation and compatibility questions
Is my-pi a replacement for Pi?+
No. Pi is the underlying coding-agent CLI and SDK. my-pi runs Pi with a selected set of extensions and defaults already configured.
How do I run the full distribution?+
Run pnpx my-pi@latest (or npx/bunx). The root package is its own CLI wrapper; do not install it with pi install.
Can I use the packages without my-pi?+
Yes. The user-installable @spences10/pi-* extensions can be installed independently. For example: pi install npm:@spences10/pi-lsp.
Are all published packages direct installs?+
No. Packages such as pi-settings, pi-project-trust, pi-sqlite-core, and pi-tui-modal are shared implementation dependencies. The installable package list separates them from direct-install extensions.
Where is the configuration reference?+
Each package README is the source of truth for its commands, configuration, runtime behavior, and local-development instructions.
Run the full setup. Or install only what you need.
pnpx my-pi@latest