pi is a terminal coding agent. It runs in interactive, print/JSON, and RPC
modes, and can be embedded in other applications through its SDK.
It is extended with TypeScript extensions, skills, prompt templates and
themes rather than by forking it, and those extensions are distributed as
pi packages via npm or git.
Provides
Requires
License
0BSD AND Apache-2.0 AND BSD-3-Clause AND BlueOak-1.0.0 AND ISC AND MIT AND Unlicense
Changelog
* Fri Oct 16 2026 Martin Pluskal <mpluskal@suse.com>
- Update to version 1.3.0:
* /share destination selectable via sessionShareDestination
(auto, gist or radius)
* GPT-6 thinking-level changes keep the prompt cache; Kimi Code
via Chat Completions keeps it when tools are added mid-chat
(base URL overrides now need /v1)
* Model switching drops the previous model's thinking; resumed
sessions keep active tools with --tools +/- applied on top
* Internal Pi dependencies pinned to exact versions; --model
prefers the provider with credentials
* Fixed codemode Bun interrupt and worker leaks, read line
labels, prompt-template empty args, tool-call parsing,
Anthropic/Bedrock image errors, OpenCode Go endpoints,
gateway retries, Gemini/Vertex and Xiaomi thinking levels,
plus Nix and overlay fixes
* Many more fixes and improvements; see upstream's release notes
for the full list
- Refresh the vendored node_modules 1.2.0 -> 1.3.0: the six
@earendil-works packages move to 1.3.0. 117 shipped modules
and the licence union is unchanged
* Thu Oct 15 2026 Martin Pluskal <mpluskal@suse.com>
- Update to version 1.2.0:
* Per-key OpenRouter model lists with the key's context size,
max output and prices, including regional endpoints
* Published $schema for settings, models, keybindings and
themes; theme schema moved and validated on startup
* PI_CLIPBOARD_OSC52=1 copies to the remote clipboard over
sessions Pi cannot detect
* Codemode shows input constraints and run elapsed/total time
* before_agent_start also fires for extension-triggered runs;
handlers must check event.messageType, and the session counts
as busy while a run starts
* Changed pi mcp list --json resources report, thinking blocks
omitted from serialization, terminal cursor only
* Fixed Mistral timeout aborting streams, symlinked AGENTS.md in
worktrees, codemode @options/timeout and quadratic text join,
print-mode truncation exit, MCP resources and OAuth, plus
terminal, keybinding and overlay fixes
* Many more fixes and improvements; see upstream's release notes
for the full list
- Refresh the vendored node_modules 1.1.0 -> 1.2.0: the six
@earendil-works packages move to 1.2.0 and
@earendil-works/chord is dropped upstream. 117 shipped modules
and the licence union is unchanged
* Rebase pi-use-modular-runtime.patch for the removed ./client
exports
* Fri Oct 09 2026 Martin Pluskal <mpluskal@suse.com>
- Update to version 1.1.0:
* Program status reporting via OSC 7501: supported terminals and
dashboards see whether pi is working, blocked, done or failed
* Claude Haiku 5.5 (anthropic/claude-haiku-5-5) with adaptive
thinking up to xhigh/max effort
* --tools takes +name/-name entries adjusting the default tool
selection instead of replacing it
* GPT-6 Luna as classifier model via Decisions API; codemode
models.classify() accepts images for supporting classifiers
* Native llama.cpp decision models (Julia-1, Laya, Kev, lev,
OpenJev) as classifiers via /v1/systemone
* Changed: outputPad also applies to ! output, tool output and
summary blocks; pi mcp login --timeout limits the whole sign-in
* Fixed MCP OAuth cancellation/timeouts, /mcp live updates, bash
result timing, image resize under node --watch, clipboard in
Termux, plus provider retries (Bedrock thinking, Mistral
finish_reason error, server_busy) and Anthropic login fallback
* Many more fixes and improvements; see upstream's release notes
for the full list
- Refresh the vendored node_modules 1.0.4 -> 1.1.0: the ten
@earendil-works packages move to 1.1.0; @babel/runtime and
@smithy/core move too inside the shipped tree, picomatch,
rolldown and vite only in the dev tree. Still 119 shipped
modules and the licence union is unchanged
* CVE-2026-102276 (boo#1283188): brace-expansion is 5.0.12, above
the 5.0.10 fix floor, so the package is not affected by it
* CVE-2026-102277 (boo#1283392) and CVE-2026-102278
(boo#1283412): brace-expansion is 5.0.12, at the 5.0.12 and
above the 5.0.11 fix floors, so the package is not affected
by them
* Tue Oct 06 2026 Martin Pluskal <mpluskal@suse.com>
- Update to version 1.0.4 (1.0.3 was superseded the sa