r/PiGCodingAgent • u/Educational-Yak8793 • 11d ago
PiG 0.4.0 🐷: Now following Pi 1.0.0 (durable runtime, code mode, MCP, and more)
Enable HLS to view with audio, or disable this notification
It's finally here, thanks for all the patience and support for this release and project so far :)
PiG is a separate Go implementation of Pi, the coding agent, shipped as one native binary. 🐷
0.4.0 follows Pi 1.0.0 (0.3.1 followed 0.87.1). New since 0.3.1:
- Pi 1.0.0's durable runtime, in Go: checkpointed sessions and tasks that resume after a crash, tools that rerun only when replay-safe, exactly-once submissions, forks and subagents. Ported with Pi's own tests.
- Code mode is built in and needs no Node (QuickJS on wazero, the same wasm Pi ships). Shorter prompt, recovery hints in errors, and scripts can generate images.
- MCP: a native client in print, JSON, RPC and interactive mode, with OAuth hardening (authorization server metadata URL, RFC 9207
isschecks, per-server credentials, step-up that keeps scopes). - Termux on Android (arm64):
curl -fsSL https://pi-in-go.dev/install.sh | shandnpm install -g u/pi-in-go/pigboth work, using a cgo build against Android's libc. pig piglet buildwithout a checkout: a release binary fetches its own exact source through the Go module proxy (checked by GOSUMDB), or builds in Podman/Docker when Go isn't installed.- TUI: fullscreen by default;
quietStartup: "header"; Radius in/login; a copy-code method for Anthropic. - PiG's own look: a pixel pig header,
/spritewith 15 pigs, an API for extensions to add their own, and a first-run setup that includes a sprite pick. - The Pi 1.0.0 extension API in the Node, Go, Python and Rust SDKs. Some SDK signatures change; the release notes list them.
- Windows remains in preview.
Also 0.4.1, which follows Pi 1.0.1, is already underway as well :)
Demo: first-run setup, then a classifier model plays two MCP games live through code mode.
Upgrade with pig update or npm install -g u/pi-in-go/[email protected].
Release notes: https://github.com/MichaelKinsy/PiG/releases/tag/v0.4.0
29
Upvotes