Favicon of Pi Boomerang

Pi Boomerang

A Pi coding agent extension that runs autonomous tasks and replaces their working history with summaries, while preserving file changes and full session history

Pi Boomerang is an extension for the Pi coding agent that reduces how much task history carries into later prompts. It's for developers whose bug fixes and refactoring jobs fill the conversation with file reads, edits and test output. After a task finishes, it replaces that history in future model context with a handoff summary. File changes stay on disk, and the full history remains accessible in Pi's session tree.

The summary includes the outcome, changed files, relevant reads, validation commands and detected failures. It appears in chat and goes directly into the coordinating agent's follow-up turn, so the agent can continue with a record of the work rather than rereading the whole task.

Pi Boomerang can run prompt templates in sequence, with separate model, skill and reasoning settings for each step. A chain returns one summary at the end. Repeated passes carry forward earlier summaries and retain file edits, which suits tasks that need several rounds of review or refinement. Shared summary points let separate tasks accumulate context together.

The extension handles summarization outside the worker's task, rather than asking the worker to monitor token limits and decide when to shorten its own context. An optional agent-callable tool lets Pi initiate tasks or manage summary points itself; that capability is disabled by default.

Summaries have limits: the extension extracts details from recorded tool calls and results, so it can miss the meaning behind a change.

Similar to Pi Boomerang