Extensions for Pi that add inline skill invocation, session IDs in the footer, Agent Guard checks, an OS sandbox for shell commands, and a DeepSeek reasoning workaround. Each extension can be enabled independently.
Type /skill-name inside an interactive prompt to complete and highlight a skill mention. The first mention outside code invokes the skill through Pi. Other mentions are named to the model, which decides whether to use them.
The session footer adds the session ID below the working directory. It keeps Pi's statistics and extension statuses.
The Agent Guard adapter checks shell, file, and search tool calls before they run. A rejected or failed check blocks the call. Agent Guard owns the rules.
The command sandbox runs the bash tool and ! commands inside a macOS Seatbelt sandbox built with Sandbox Runtime. It holds write and edit to the same write policy. A bash call runs outside it only after you approve that command; an optional judge records beside your answer whether it would have let the command run without asking. Pi and its other extensions stay outside it.
The reasoning workaround removes interjections and repeated standalone filler from the request copy. It preserves the recorded transcript. It applies only to DeepSeek models.
pi install git:github.com/Entwining/pi-extensionsThis loads every extension in the package. The Agent Guard adapter requires Apple Silicon macOS and Agent Guard installed through Homebrew. Without it, every guarded tool call is blocked; disable that extension or select only the extensions you need. The command sandbox blocks shell commands, write, and edit on systems other than macOS and until its policy file exists.
Updates follow the default branch unless you pin a Git tag or commit. The package is distributed through Git, not npm.
The editor and footer extensions replace parts of Pi's terminal UI. Other extensions replacing the same components can affect their composition. The reasoning workaround depends on the provider's reasoning_details format.
Contributors run the repository checks and try changes in a local Pi session. AGENTS.md defines the runtime, test, release, and dependency constraints for changes.
Pi Extensions is released under the MIT License.