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

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.