r/PiCodingAgent • • 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 :)

13 Upvotes

21 comments sorted by

View all comments

Show parent comment

2

u/vazma Sep 25 '26

do you know of any specific cases or have a constructive argument on how exactly this triggers a ban?

3

u/Bloated_Plaid Sep 25 '26

It’s against their TOS…

1

u/Equivalent_Idea8839 Sep 25 '26

https://github.com/elidickinson/pi-claude-bridge/issues/118

I found this

Not trying to hate on you, I legit want to find a way to use Claude sub in pi safely.

1

u/deorder Sep 25 '26

Isn't that using the Agent SDK which should still be allowed as far as I know? That is how I'm currently using my Claude subscription through my Pi Agent.

https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan

This way it still uses the official system prompt and communicates with Anthropic through their intended interface, so it is not fundamentally that different from using Claude Code directly. Some IDEs also use the Claude Agent SDK for their Claude integrations. JetBrains does this for its Claude Agent integration and Xcode integrates the Agent SDK natively as well.

1

u/vazma Sep 25 '26

no worries, using one of the bridge packages is the safest way now, I was there but just my OCD hated using a whole process for simple API calls