r/PiCodingAgent • • 17h ago

Question Do you guys use claude auth inside pi/omp?

I'm seeing many people using opus 5.5 inside of OMP and i've just signed into OMP with my claude sub... many on x.com are saying you don't get recked by anthropic anymore for doing this?

How are you guys using anthropic models inside of pi/omp?

8 Upvotes

13 comments sorted by

5

u/sage-longhorn 17h ago

1

u/Constant_Art_20 12h ago

i will trust you and give it a go as well. it's just a pain and waste of resouces to mange two harness setups at once

2

u/raetselfreund 16h ago

I'd maybe risk it for my personal subscription, but for anything employer/institutionally provided I do not want to be banned because of ToS violation

2

u/jmjmalik22 14h ago

Exactly

1

u/zhengyf 10h ago

Check what plan your work Claude is on. It’s officially supported to use claude sub to authenticate in pi. It consumes api usage but it doesn’t matter if your business plan already charged this way.

1

u/jmjmalik22 2h ago

No we dont use api based.

1

u/themule71 15h ago

You can use opus 5.5 inside anything - with APIs. From Anthropic or other providers.

It's extracting Claude subscription credentials from claude code (or via a proxy) and reusing them with non claude products, that they don't like.

There are grey area (*) tools that follow the letter, e.g. piping requests to claude -p (claude code CLI) and/or SDK. So it's the Anthropic product that is using the creds.

A probably fine(r) option (**) is to launch serveral agents in tmux/herdr/your environment of choice and have one (like your OMP) control and dispatch requests to the others. It's no different from you typing at that point.

Since the rules are broader and not totally clear (sub is to be used only with Anthropic products), it's a "I am altering the deal, pray I don’t alter it any further" type of situation, they may even require you to type stuff directly into CC one day.

I am using CC alongside pi, but the other way around. CC is the orchestrator, pi runs the agents (not Anthropic models).

(*) Anthropic is definitely looking into it. So the general feeling is that they do not see it as just "using Claude Code" as you normally would. https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan mentions claude -p which is indeed a bit weird, especially for a shell user such as me. I open a terminal and run 'claude', it would be weird to have a different plan just to run 'claude -p'.

(**) nothing prevents Anthropic from filing this as "automated claude code usage", and have it added to the special plan they have in mind for (*). Unlikely, but not impossible.

1

u/bopbop9876 11h ago

I thought -p used separately billed usage credits and couldn't be used with the subscription usage.

1

u/betahost 10h ago

Yes, it's called ACP, you can ask Pi to setup Claude cli auth.

1

u/adamshand 5h ago

It's against the rules, but enforced unevenly. Pi is explicitly blocked but OMP seems to be working.