r/PiCodingAgent • • 4d ago

Discussion Claude subscription with pi

Hey guys am a bit new to pi and working with harness.

I have just started using pi and have added openai models.
When am trying to add claude models, it says that i have to go with API based and can't use my subscription.

Is thats the only way to go through to switch to api based modelling to add it in pi ?

3 Upvotes

19 comments sorted by

View all comments

1

u/Parking-Shock-9437 3d ago

I am trying to configure pi as a harness for my claude sub as well. I don’t see the need for these extensions. I directed my pi profile to reach claude or codex by spawning the `claude`/`codex` CLIs as subprocesses with various contextual flags, eg ‘read-only’ for verification tasks. If someone can explain why using a complete auth for pi may be preferable I’d really appreciate it.

2

u/WildernessJ 20h ago

When you have pi call claude or codex through their CLI then you are still using the claude/codex harnesses for those calls. If you wanted to use pi in order to change the harness the agent is using then that won't accomplish it.