# SuPi

An open-source extension stack for the Pi coding agent that adds language-server and Tree-sitter code intelligence, semantic refactoring, parallel code review, and structured ask-user forms.

SuPi gives the Pi coding agent direct, model-callable access to two complementary sources of code intelligence: language servers for types, definitions, references, diagnostics and semantic refactoring, and Tree-sitter ASTs for syntax, outlines, structure and structural search. The agent receives focused tools for workspace orientation, symbol inspection, relationship analysis and safe refactor previews, and each result discloses its evidence rather than silently guessing when semantic or structural analysis is unavailable.

Other packages in the stack add web access tuned for agents, which prefers source Markdown, extracts readable content from HTML and moves long pages to temporary files instead of flooding the context window; focused documentation lookup through Context7; structured, keyboard-driven ask-user forms for choices or free text; and independent, inspection-only review of a chosen git target. Tree-sitter support is bundled, while full language-server features need the matching binary on PATH. The whole stack, or any single package, installs on top of an existing Pi setup, and is pre-release.

Website: https://pi.dev/packages?name=%40mrclrchtr
