pi v0.82.0: constrained tool sampling and one-command provider sign-in
pi v0.82.0 was published on July 24, 2026, a day before v0.82.1, and it carries the bigger feature set of the two.
The main addition is constrained tool sampling. Tools can now prefer or require strict JSON Schema sampling, or use OpenAI’s Lark and regex grammars, so structured tool arguments come back in exactly the shape the tool expects. Model capability metadata prevents constrained requests from being sent to models that do not support them.
Signing in to providers got simpler: the /login command can now authorize OpenRouter or a Kimi Code subscription directly, without manually configuring API keys.
Bash integrations are now session-aware and streaming. Bash tools receive metadata about the current session and model, and bash commands issued over RPC stream their output back correlated to the originating request — useful for extensions and external clients driving pi programmatically.
Together with v0.82.1 (Claude Opus 5 support) released the following day, this closes out a busy week for the project. Full details are in the release notes, with links to the Constrained Sampling, OpenRouter, and RPC documentation.
source: https://github.com/earendil-works/pi/releases/tag/v0.82.0