AIWG 2026.9.2 - Pi from resources to runtime

AIWG 2026.9.2 - Pi from resources to runtime

Release date: 2026-09-04

Channel: stable

AIWG 2026.9.2 takes the experimental Pi Coding Agent integration from resource deployment into real runtime use. Pi can now participate in model discovery, headless External Ralph work, governed extension policy, and native session ingestion without losing its own backend/model identity.

What this changes for you

Run AIWG work through Pi

External Ralph now has a dedicated Pi adapter. You can select Pi as the coding harness, pass a Pi-native backend/model identifier, and carry thinking, tool, and session controls into a strict JSONL headless run:

node tools/ralph-external/index.mjs \
  "Implement the bounded change" \
  --completion "Tests pass" \
  --provider pi \
  --model openrouter/your-model \
  --thinking high \
  --tools read,bash

AIWG checks Pi's Node.js requirement before launch, keeps protocol output and diagnostics separate, sends an RPC abort before bounded process escalation, and treats `agent_settled`—not merely `agent_end`—as terminal settlement.

Discover the models Pi can actually use

AIWG reads Pi's non-interactive `--list-models` catalog and preserves the full backend/model identity. That matters with a routing harness such as Pi: “Pi” is the coding-agent provider, while `openrouter/...` identifies the LLM backend and model selected inside Pi.

Apply a reviewed extension policy

`aiwg use all --provider pi` now installs a receipted `.pi/extensions/aiwg-bridge.ts`. Once you trust the project in Pi, the bridge blocks destructive and package-mutating bash calls in headless sessions. In an interactive TUI it asks explicitly and defaults to denial. Operator extensions and Pi settings remain untouched.

aiwg use all --provider pi --dry-run
aiwg use all --provider pi

Import native Pi session trees

Pi v3 JSONL is now the thirteenth canonical AIWG session provider. The adapter discovers only authorized roots, preserves native entry and parent IDs, maps messages and lifecycle entries, retains future entry types opaquely, and redacts tool results and custom extension data before normalization.

Malformed, truncated, oversized, duplicate, unsupported-version, symlinked, and out-of-scope sources fail closed.

Verified boundary

The release was qualified with Pi Coding Agent 0.85.0 and OpenRouter in isolated temporary roots. Discovery, RPC state and abort, strict JSONL framing, live inference, and `agent_settled` all passed. No raw model output was persisted.

Pi remains experimental while its promotion gate is evaluated. AIWG does not install Pi itself, configure authentication, or add MCP packages, and Pi core does not provide a native MCP surface.

Package matrix

[email protected]
@aiwg/[email protected]
@aiwg/[email protected]

Learn more

Try Pi with the backend you already use, then tell us which model-routing and session-review workflows would benefit most from promotion to stable support.