Reading the repo
Opening the box…
Reading the repo
Opening the box…
Assembly instructions
Pi extension package for Anthropic OAuth compatibility
Saved setup from 6 h ago
Will it work on macOS?
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/gotgenes/pi-anthropic-auth.git cd pi-anthropic-auth
Node.js >=22
# needs nvm: brew install nvm (or https://github.com/nvm-sh/nvm) nvm install --lts
corepack enable pnpm install
pnpm test
/login anthropic as usual — Pi's native Anthropic login flow is preserved.
On pi 1.0.0 and later, that includes Copy code login (headless), for when the browser runs on another machine: sign in there, then paste the code Anthropic shows into pi.Pi applies an extension's transport per provider name, so by default only the provider named anthropic is shaped.
If another extension registers a Claude subscription under its own name (pi-multi-pass registers anthropic-2, anthropic-3, …), name those providers in the extension's config file:
{
"providers": ["anthropic-2", "anthropic-3"]
}
The file is read from two places, and the providers from both are shaped:
~/.pi/agent/extensions/pi-anthropic-auth/config.json, when the extension loads<project>/.pi/extensions/pi-anthropic-auth/config.json, at session start, and only when the project is trustedanthropic is always shaped and does not need listing.
A malformed file or entry is ignored with a warning rather than failing the extension; run /anthropic-auth:status to see which providers are shaped and any config warnings.
A provider removed from the file stays shaped until you run /reload.
No reports for macOS yet.
GitManual AI Agent reads the 6 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.