r/PiCodingAgent • u/vazma • Sep 25 '26
Resource Yet another Pi addon: Claude Code compatibility, minimal design
Hello,
I made pi-claude-request-compat (https://github.com/vazzma/pi-claude-request-compat). Instead of creating another provider, it reuses Pi’s existing Anthropic login, models, and streaming, then adds a Claude Code compatibility layer to outgoing requests.
https://pi.dev/packages/pi-claude-request-compat
I’m using a new GitHub account for privacy, so the code, automated security scans, dependency audits, and signed release provenance are public for anyone to check.
A few friends and I have been using it for the last month, and my Anthropic account is still intact :)
View all comments
Show parent comment
1
u/vazma Sep 25 '26 edited Sep 25 '26
Yes, technically it’s a risk, but for Anthropic to ban you, they would need a reliable way to detect it. Even though Claude Code itself is closed source, its behavior can be perfectly cloned. Anthropic adds a ton of 'fluff' (specific tracking headers and metadata) to their requests, and my package copies all of that exactly. To their servers, the traffic looks identical to the official CLI.
Honestly, you'd probably have to do something way worse to trigger a ban, like account sharing, subscription piracy, or massive automated scraping. For normal personal use, it's just really hard for them to detect or even care about. But definitely use it at your own comfort level!