Pi (experimental)
Configure Pi Coding Agent in Happier (ACP), including install and detection.
Happier can run Pi Coding Agent through the local pi CLI.
Install Pi
If you use hstack, you can install Pi with the providers installer:
hstack providers install pi
pi --versionOr install manually:
npm install -g @mariozechner/pi-coding-agent
pi --versionStart Pi with Happier
happier piLocal authentication in Happier
Pi does not currently expose a native interactive login flow through Happier provider settings.
Instead, Happier shows the machine-local auth state for Pi in:
- Settings → AI provider settings → Pi
Today that status is based on supported environment-backed credentials on the selected machine.
For the shared user guide, see Provider authentication.
Authentication (connected services)
Pi can reuse connected services profiles when spawned by Happier:
openai-codex(subscription OAuth)openai(API key)claude-subscription(setup-token only) for Claude subscription auth (materialized asANTHROPIC_OAUTH_TOKEN)anthropicfor Anthropic API key auth (ANTHROPIC_API_KEY)
If multiple compatible profiles exist, Happier will let you pick one when starting a new session.
Important limitation:
- Pi does not currently accept Claude OAuth profiles from
claude-subscription; use a Claude setup-token profile instead.
See: Connected services
Troubleshooting
If Pi is not detected:
- Verify
pi --versionworks. - Restart Happier.
- Set
HAPPIER_PI_PATHif your binary is not inPATH.