Pi
CLI name: pi · Status: experimental — use an OS or container sandbox
Prerequisites
Section titled “Prerequisites”Install the Pi coding agent (pi on PATH, package
@earendil-works/pi-coding-agent
or your distro’s equivalent). Credentials and model access are your responsibility.
Agent config
Section titled “Agent config”cli = "pi"model = "claude-sonnet-4-20250514" # passed as --modelprofile = "full" # only profile wteam can enforce on piTreat non-full profiles as documentation only: Pi has no permission API.
What wteam runs
Section titled “What wteam runs”pi --mode json [--model M] [--session ID | --append-system-prompt ROLE] … -- <prompt>- First turn:
--append-system-promptwith the role file. - Later turns:
--session <id>. - Output: JSONL. Session header → id; last assistant
message_end→ text and usage.stopReasonerrororabortedfails the turn.
Permissions
Section titled “Permissions”Every profile rule except full shows as unsupported in
wteam permissions --cli pi. Pi runs tools unrestricted — run it inside a
sandbox (container, VM, or restricted user) and assume full behaviour.
Smoke tests
Section titled “Smoke tests”Pi fixtures are optional in CI:
WTEAM_PI_SMOKE=1 tests/smoke/capture-adapter-fixtures.sh