Custom pi agent configs as a Pi-installable package.
pi install git:https://github.com/PlebeiusGaragicus/dot-piAfter install, if postinstall reports that agent commands are not on your PATH, run the printed command (usually "<package>/core/bin/dotpi" symlink-agents) or from any directory where dotpi resolves to this tree:
dotpi symlink-agentsThat appends an idempotent block to ~/.zshrc or ~/.bashrc (from $SHELL; on Linux with bash that is usually ~/.bashrc). If you get permission denied, the file may be owned by root (often from a past sudo edit); the command prints a sudo chown "$(whoami)" … line to repair it—see docs/install.md. Then run any shipped agent command from a project directory:
ask -p "What does this project do?"Updates use ordinary Pi package management:
pi updateRemove with the source shown by pi list:
pi remove git:https://github.com/PlebeiusGaragicus/dot-piMutable user state lives under $DOT_PI_OVERLAY (default ~/.pi/dot-pi) so pi update can reset and clean the package clone without touching sessions, model defaults, API-key env files, prompts, skills, extensions, themes, or shared dot-pi settings.json.
Commands are available through symlinks in the installed package's core/bin/. If you add or remove local overlay resources manually, run:
dotpi relinkYou can iterate on this repository from a normal git clone without running pi update after every edit. The dispatcher sets DOT_PI_DIR from the resolved path of dispatch-agent, so whichever clone’s core/bin is first on your PATH is the tree Pi loads (agents/<name>/, shared/, extensions, and so on).
- Clone the repo to any directory and
cdinto it. - Run
npm installin the repo root sopostinstallruns (symlinks, overlay wiring—same as afterpi install). - Prepend this clone’s
core/bintoPATH(before any Pi-installed dot-picore/binif you have both), or run./dotpi symlink-agents --rc ~/.zshrc(or~/.bashrc) once so your shell rc picks up this clone. - Run
ask,mas,dotpi, etc. as usual. You still need a workingpibinary and the usual~/.pi/agentauth and model files.
Optional TypeScript check for shared extensions:
(cd core/tests && npx tsc --noEmit)The supported consumer flow remains pi install / pi update as in Quick Start. For how the Pi-managed clone, overlay, and dispatch fit together, see docs/architecture.md (MkDocs: Architecture).
Add new top-level configs under agents/<name>/ by following docs/reference/creating-a-new-agent.md (MkDocs: Creating a new agent). Then run dotpi relink so core/bin/<name> and symlinks match shipped conventions.
Sessions remain under $DOT_PI_OVERLAY/<agent>/sessions/.
See the documentation site for installation, usage, extension API, and MAS details.