{"slug": "my-pi-coding-agent", "title": "My-Pi Coding-Agent", "summary": "Developer Scott Spencer released My-Pi Coding-Agent, a curated distribution of the Pi coding agent CLI with prewired extensions including MCP, LSP, skills, recall, redaction, telemetry, team mode, and prompt presets. The tool is built on the @earendil-works/pi-coding-agent SDK and is available via pnpx, npx, or bunx, offering both a full opinionated setup and individual packages for existing Pi users.", "body_md": "My curated [Pi](https://pi.dev) distribution: a ready-to-run\ncoding-agent CLI with MCP, LSP, skills, recall, redaction, telemetry,\nteam mode, prompt presets, and other handy extensions prewired.\n\nBuilt on the\n[@earendil-works/pi-coding-agent](https://github.com/badlogic/pi-mono)\nSDK. Use the full distribution directly, or install individual\n`@spences10/pi-*`\n\npackages into your own Pi setup.\n\n```\npnpx my-pi@latest\n# or: npx my-pi@latest / bunx my-pi@latest\n```\n\nUse `my-pi`\n\nif you want the complete, opinionated setup:\n\n```\npnpx my-pi@latest\n```\n\nThis is its own CLI wrapper around Pi. Do not install the root package\nwith `pi install npm:my-pi`\n\n.\n\nMost extensions in this repo are also published as normal Pi packages:\n\n```\npi install npm:@spences10/pi-lsp\npi install npm:@spences10/pi-mcp\npi install npm:@spences10/pi-redact\n```\n\nUse this path if you already have your own Pi setup and only want selected features. Package READMEs are the source of truth for install instructions, commands, configuration, and runtime behavior.\n\n**Pi-native CLI + SDK wrapper**— interactive TUI, print mode, JSON mode, RPC mode, and programmatic runtime creation.** Project-aware MCP tools**— stdio and HTTP/streamable-HTTP servers from`mcp.json`\n\n, scoped so sensitive or noisy tools only load for the projects and orgs where they belong.**Project-aware skills**— discover, enable, disable, import, and sync Pi-native skills, with different skill sets per project.** LSP tools**— diagnostics, hover, definitions, references, and document symbols via language servers.** Context sidecar**— local SQLite storage for oversized tool output, keeping long results searchable without flooding chat context.** Guardrails**— Svelte and coding-preference checks that block configured anti-patterns before agents write them.** Prompt presets**— base presets plus additive prompt layers with per-project persistence.** Secret safety**— redaction plus reminders to use secret-safe environment loading.** Recall, telemetry, and observability**— local support for prior-session lookup, evals, latency analysis, live event streams, and operational debugging.** Git UI**— interactive source-control staging and commit support.** Team mode**— local RPC teammate orchestration with tasks and mailboxes.** Themes and TUI helpers**— visual polish and shared modal primitives.\n\n- Node.js\n`>=24.15.0`\n\n- pnpm 11 for local development\n- Pi authentication via\n`pi auth`\n\n, provider environment variables, or supported OAuth flows\n\n`my-pi`\n\nuses native `node:sqlite`\n\nthrough context, telemetry, and\nobservability packages. The CLI suppresses Node's expected\n`node:sqlite`\n\n`ExperimentalWarning`\n\n; standalone package/API consumers\nown their process warning policy until Node marks it stable.\n\n```\n# full TUI\npnpx my-pi@latest\n\n# one-shot print mode\npnpx my-pi@latest \"summarize this repo\"\npnpx my-pi@latest -P \"explicit print mode\"\n\n# NDJSON events for scripts/agents\npnpx my-pi@latest --json \"list all TODO comments\"\n\n# RPC mode for team/agent orchestration\npnpx my-pi@latest --mode rpc\n\n# local live observability dashboard\npnpx my-pi@latest\n# then run /observability in the TUI to open the browser dashboard\npnpx my-pi@latest observability\n```\n\nPi handles model authentication natively. For provider-specific model examples, see the Pi docs and the relevant extension/package README.\n\nUmans.ai is available as a built-in provider. Run `/login`\n\n, choose API\nkey auth, then choose Umans; select models like `umans/umans-coder`\n\nor\n`umans/umans-flash`\n\n. The provider can also read `UMANS_API_KEY`\n\nand\ncan be disabled with `--no-umans-provider`\n\n.\n\nOpenRouter Fusion is configured by default: `my-pi`\n\ninjects a\nnon-Anthropic Fusion panel/judge only for `openrouter/fusion`\n\n.\nConfigure it in `~/.pi/agent/my-pi-settings.json`\n\nunder\n`openRouterFusion`\n\n, e.g.\n`{\"openRouterFusion\":{\"analysisModels\":[\"deepseek/deepseek-v3.2\"],\"judgeModel\":\"~openai/gpt-latest\",\"force\":false}}`\n\n.\nFusion is forced by default with `tool_choice: \"required\"`\n\n; set\n`force: false`\n\nto let OpenRouter decide whether deliberation is\nneeded. Env vars `MY_PI_FUSION_ANALYSIS_MODELS`\n\n,\n`MY_PI_FUSION_JUDGE_MODEL`\n\n, and `MY_PI_FUSION_FORCE`\n\nstill work as\noverrides. Disable with `--no-openrouter-fusion-config`\n\n.\n\nInstall the full distribution with `pnpx my-pi@latest`\n\n, or install\nselected extensions into vanilla Pi:\n\n```\n# Bash/Zsh/Fish\npi install npm:@spences10/pi-{context,lsp,team-mode}\n```\n\nFull package list here:\n\n| Package | Purpose |\n|---|---|\n`@spences10/pi-coding-preferences` |\n\n`@spences10/pi-confirm-destructive`\n\n`@spences10/pi-context`\n\n`@spences10/pi-git-ui`\n\n`@spences10/pi-lsp`\n\n`@spences10/pi-mcp`\n\n`/mcp`\n\n`@spences10/pi-nopeek`\n\n`nopeek`\n\nreminder for secret-safe environment loading`@spences10/pi-observability`\n\n`@spences10/pi-omnisearch`\n\n`mcp-omnisearch`\n\nreminder for verified web research`@spences10/pi-recall`\n\n`pirecall`\n\nreminder and background sync`@spences10/pi-redact`\n\n`/redact-stats`\n\n`@spences10/pi-skills`\n\n`@spences10/pi-sqlite-tools`\n\n`mcp-sqlite-tools`\n\nreminder for safer SQLite database work`@spences10/pi-svelte-guardrails`\n\n`@spences10/pi-team-mode`\n\n`@spences10/pi-telemetry`\n\n`/telemetry`\n\n`@spences10/pi-themes`\n\nShared helper packages such as `@spences10/pi-child-env`\n\n,\n`@spences10/pi-project-trust`\n\n, `@spences10/pi-settings`\n\n, and\n`@spences10/pi-tui-modal`\n\nare published as dependencies and are not\npackages to install via `pi install`\n\n.\n\n```\napps/\n  web/                     Landing page for discovering my-pi and its packages\nsrc/\n  index.ts                 CLI entry point\n  api.ts                   Programmatic API\n  extensions/              Root-only built-ins and distro wiring\npackages/\n  pi-*/                    Reusable Pi packages and shared support packages\n.pi/\n  presets.json             Optional project prompt presets\n  presets/*.md             Optional project prompt preset files\nmcp.json                   Project MCP server config\n```\n\n", "url": "https://wpnews.pro/news/my-pi-coding-agent", "canonical_source": "https://github.com/spences10/my-pi", "published_at": "2026-06-26 19:05:36+00:00", "updated_at": "2026-06-26 19:35:49.033315+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-agents", "large-language-models"], "entities": ["Pi", "Scott Spencer", "@earendil-works/pi-coding-agent", "Umans.ai", "OpenRouter", "Node.js", "pnpm", "Git"], "alternates": {"html": "https://wpnews.pro/news/my-pi-coding-agent", "markdown": "https://wpnews.pro/news/my-pi-coding-agent.md", "text": "https://wpnews.pro/news/my-pi-coding-agent.txt", "jsonld": "https://wpnews.pro/news/my-pi-coding-agent.jsonld"}}