magpie
Picks the model each of your coding agents uses and serves them through one local gateway. A community plugin adds PiG to its Agents page.

What works and what you need
Needs: Community plugin (or PIG_USE_PI_DIRS=1). magpie’s community plugin @magpie-community/agent-pig needs magpie 0.1.3008 or later and covers the default ~/.pig/agent folder only. The plugin is unofficial. It was run on a PiG 0.7.0 build and a magpie build from commit b4a0a2a1abd4 with a stand-in model server behind the gateway, and has not been rerun on PiG 0.8.0.
Setup
Connection: magpie CLI plugin.
- Install magpie, then add its PiG plugin.$
magpie plugin add @magpie-community/agent-pig - Pick a magpie model in the PiG row of the Agents page, or from the command line.$
magpie pig model magpie/<provider>/<model> - Start PiG. A new session starts on that model, and /model still switches.$
pig
With PIG_USE_PI_DIRS=1, magpie’s own Pi row edits the shared ~/.pi/agent files that PiG then reads. A built-in PiG row with PiG’s folder variables is not proposed yet.
Test record
PiG 0.7.0 build (CLI, stand-in model server)
Ran. PiG reporting 0.7.0+1.5.0 with magpie built from commit b4a0a2a1abd4 and a stand-in model server behind the gateway. Both magpie’s Pi row with PIG_USE_PI_DIRS=1 and the plugin route wrote the files PiG reads; PiG listed magpie models, answered a prompt, ran a tool call, and sent the chosen thinking level.
Not run. magpie’s desktop app; a real model; PiG 0.8.0.
Sources and project
The name and logo belong to magpie’s owners. PiG is independent of magpie; no endorsement is implied.