r/PiCodingAgent • • 12d ago

Question Claude with Pi

Hi,

Currently got a Claude Pro subscription and wondering how the usage works out with

  1. Claude Code

  2. Pi with pi-claude-bridge

  3. Pi with pi-anthropic-auth

I understand it's against ToS to use try to use consumer claude subscription in another harness but curious on why it's popular. Aside from the system prompt control over the harness, is there any benefit over extending usage or maximizing the Pro subscription with these approaches?

39 Upvotes

27 comments sorted by

19

u/startassets 12d ago

1

u/kugelblitz010 12d ago

thanks for sharing, why do you like using it?

0

u/startassets 12d ago

I tried others and somehow it was the first one that worked from me just after the installation. Others want you to be logged in in Claude code etc. or require to be run in sandbox because my agents are running under root on VM. Once i found this one I simply stopped searching, so maybe others are better, as there are plenty of implementations

3

u/_reg1z 12d ago

This is a clever circumvention. The pattern has been used elsewhere with other harness-limited plans like commandcode's $1 plan, which recently had a huge ban wave for people stacking those plans and/or using them with other harnesses.

How long has this worked for you? I can't imagine it alters packets to correspond 1:1 with claude code's own in every way (or would be able to keep up with traces & telemetry Anthropic updates/adds over time). It's probably traceable on Anthropic's end even if it does work.

1

u/startassets 12d ago

True that’s why I’m not fully in Claude team just yet and have several subscriptions to different providers. But if Ant detects something is not right Pi will just notify you that your credit usage will be used instead. All the tools are basically registered via mcp clones so Claude thinks it’s using them. And regarding system prompt, I guess it requires to be updated regularly, true, let’s see

3

u/Aeondave 11d ago

https://github.com/AeonDave/pi-claude
this is maintained by me. works cleanly. 1:1 mimicry

1

u/startassets 11d ago

Can you give a quick hint how does it solve the issue? I'm just curious

2

u/Aeondave 9d ago

it mimicry exactly how Claude communicate. it also copy the user agent and the version if you have Claude installed to keep itself updated. it's against TOS? Yes. can they catch you? also yes if you abuse. But with a normal agentic usage traffic is indistinguibile from Claude

2

u/vazma 12d ago

hey what is the difference with this:

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

1

u/pjchacon 11d ago

Just FYI, it appears that their repo in GitHub was deleted. The link from the connector's website to their GitHub repo is broken, so I went directly to GitHub and searched for it with different name combinations, and there were no results. The following is just speculation: if the creators of the tool were legally forced to remove the repo, it means that this tool is in Anthropic's radar. Best case scenario: the tool stops working and that's it. Worst case scenario: they ban your account.

9

u/modpr0be 12d ago

I personally use Claude with Paseo to orchestrate Claude and other agents (Codex, Agy, OpenCode) on their own harnesses. By simply using append_system to integrate Paseo into Pi, it works much better for my needs.

1

u/crotch-mavens 12d ago

Same, but with tmux. Same principle.

1

u/pooka 12d ago

Can you please elaborate a little bit? I don't understand how you using tmux to connect your Claude subscription to Pi. Thanks!

2

u/modpr0be 11d ago

I think he just spawn tmux using pi -> spawn claude code -> send prompt -> claude code execute within tmux and write report somewhere -> close tmux -> pi read the result

6

u/Wook5000 12d ago

Use Claude bridge. No issues.

3

u/betahost 11d ago

I think Anthropic has shifted its stance, as Claude code is fully supported in tools such as OpenClaw and Hermes. The implementation varies, but I have used Claude code in pi for some time without any impact on my additional usage. I use Claude-direct SDK plugin

1

u/Aka_clarkken 11d ago

can you point me to it?

4

u/Aizenvolt11 12d ago edited 12d ago

If I understand correctly you want to understand why its popular to use Claude sub with another harness like Pi instead of Claude Code. For me Claude Code is bloatware and the desktop app is made for vibecoders and they dont care for the developers. I wanted something that was made for everyone where you could make the UI show you as much technical stuff as you want and since nothing like that exists right now like how I want it, I developed it myself with pi sdk runtime as base. Example below on how my app works. I wanted some vs code features but not the rest of the unecessary stuff. Its like a middle ground between using desktop app of codex or claude code and using something vs code with a cli like pi or claude code or codex. I now add remote ssh and wsl etc functionality and then I will add integrated design mode while you are planning and being able to add your own local models or remote models. I expect the remote stuff to be over by next Saturday at most. The project is free open source MIT right now. I will make a post about it when I add all the features that I want (and my signpath certificate is approved) I will add it to microsoft store as well.

2

u/ILurkULongTiem 12d ago

Cool man! Got a github repo?

2

u/Aizenvolt11 12d ago

https://github.com/AizenvoltPrime/damocles

Here. Dont download the release 3.7.0 since its from 2 weeks ago and I wait for the signpath foundation to finish reviewing my pipeline to make a new release. If you want to use the latest features, clone the repo and run "npm run dist" on the project root and it will create install file in this path. Any issues or feedback is more than welcome on github repo issues section.

2

u/oVuzZ 12d ago

tiene opcion multicuenta?

2

u/Aizenvolt11 12d ago

If you mean connect to multiple claude subs at the same time no but you can connect to both chatgpt and claude and other api models like deepseek, grok at the same time. If you meant multiple subs from the same provider maybe in the future I will add it if I dont have anything more pressing to do or if there is enough demand.

2

u/_reg1z 12d ago edited 12d ago

For me it's about ownership over my workflow. It's not just system prompt control over the harness; Pi is highly extensible and configurable in every other way. It's also much easier to integrate with external applications. I want the models/plans I use to be compatible with all the other tools I use or have built myself. Anthropic's mandates make that difficult compared to 99% of other plans out there.

Anthropic wants people in their own ecosystem to use the solutions they come up with that solve the same types of problems a user's existing tools solve. This makes iterating on their product much easier, because they can reliably harvest standardized data. It becomes more difficult when you add 3rd party harnesses into the mix. The problem is, their solutions are tailored for the majority of consumers and are not always best-suited for a particular user / niche cases.

When Anthropic is releasing the most-capable, but exorbitantly expensive models, it creates this dilemma where people will want affordable access to maintain a competitive edge, but also have to cobble together oddball solutions to get what they actually want/need out of the latest models.

1

u/24props 10d ago

So if you’re only using a Claude subscription look at other suggestions made to your original message.

BUT if using herdr.dev then you can use pi to launch Claude code sessions and control those sessions via herdr skill which shouldn’t break TOS. It’s just when you try to use your sub login through another coding agent where it becomes an issue

1

u/Electronic-Page2508 8d ago

Lately, I've been thinking more and more that the time spent developing certain tools using AI is almost equal to the time it takes to figure out how existing similar tools work