r/ClaudeCode • • 3h ago

Help/Question Banned for calling the CLI with another agent?

I've been reading a lot of stories about people who are using antigravity on subscription and getting banned for calling the anti-gravity CLI with another agent like Claude as the coordinator for example. Apparently any sort of automated coordination on the subscription plan gets you banned. Is that also the case with Claude?

And as I understand, you can call the ChatGPT CLI from Claude or anti-gravity all day long and it's within their terms of service and will not get you banned, so pretty confusing.

0 Upvotes

24 comments sorted by

•

u/AutoModerator 3h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

4

u/FoxSideOfTheMoon 3h ago

That's weird, I use multiple CLIs all the time in an agent chat room with Claude leading. Why would you get banned for that??

1

u/dvduval 3h ago

I was basically exactly in the same boat as you and then just realized today that people are getting banned, especially on antigravity. But I just learned it's also against the Claude terms of service, but I don't see as many reports of people getting banned.

2

u/FoxSideOfTheMoon 3h ago

That’s so weird. What’s the difference if I have Claude code and codex and I’m coding up and app and then having them coordinate work trees and backlog items? I mean the alternative is I do it manually..

Is this headless only? I don’t use headless if that matters…

1

u/dvduval 2h ago

They want you to pay API credits for automation unless you're talking about chatGPT which allows you to use calls to their CLI in an automated fashion. And they have been banning people especially google

2

u/FoxSideOfTheMoon 2h ago

Hang on though...I use Claude Code before I go to bed I'll have it kick off a huge backlog and let it run all night by itself. That's in bounds.

I do the same thing with Codex in its own CLI. Additionally, there's a Codex Plugin for Claude Code to review code, lots of people use that.

The only difference is I'm having them coordinate so they don't stomp on each other and Claude gets to make calls about when something is ready for PR or not and creates the initial backlog assignments.

So is their take that they can't communicate, or that one can't create subagents out of the other? Total bullshit really.

1

u/dvduval 2h ago

I guess what you can't do is call the claude CLI or the anti-gravity CLI from another agent. But you can call the chatgpt CLI because the terms of service is different. I know it's confusing.

And from my latest research you can have a document sitting somewhere that you automatically update or at least you are responsible for writing it or compiling it and who knows how that document got there, and you can direct an agent to look at that document for its source of information and check in every 30 minutes for updates or new instructions. And somehow that would likely conform to the terms of service for Claude and antigravity.

I think we're just in that stage where nobody thought and ahead and of course we all went to use our subscriptions to the maximum and automate everything. I think probably there will be more information coming about this soon

1

u/Key_River_9288 2h ago

I recently asked claude if it could send work to codex, I asked if it was within anthropics terms and it said yes and claude installed an mcp tool or whatever and on codex it popped up, I approved it and now claude sends work to codex. Is this the same thing? Mcping into the desktop app vs using the cli?

2

u/dvduval 2h ago

Yes and I believe what you did is acceptable. And that is because as I've been told Chatgpt allows automated calls to their CLI from other agents without using API credits.

What to avoid would be the reverse of that where you're calling the claude CLI to do something from another agent with your subscription plan rather than paying for API credits.

1

u/Key_River_9288 2h ago

Thank you for the clarification.

3

u/pietrzm 3h ago

Because it's breaking their terms of use. It's a no no for Gemini and Claude, but Codex is okay with that

-1

u/danekan 3h ago

Because people are using it to circumvent api billing vs the max plan 

4

u/dvduval 3h ago

That's one perspective, but if you're talking about chatgpt they allow circumvention, in other words, you can call their CLI from another model, so it would be very easy to expect the same from another company.

2

u/EconomyDoctor3287 3h ago

I just install them alongside each other and switch to the next one when usage gets low. No issues with that so far

1

u/dvduval 2h ago

Yes that's totally valid. You can run one account down and then switch over to the other account. I don't know if that makes for great workflow but I've done it that way before

2

u/loopie__ 2h ago

It’s not a no-no for Claude at all:

- Use any other provider/model non-Claude in Claude harness = no issue whatsoever

- Use Claude in non-Claude harness = allowed and no issues IF this happens through SDK or -p headless calls = in line with TOS (IF NOT then* it’s issue and against TOS)

1

u/dvduval 1h ago

So if I used antigravity as the coordinator and called the Claude CLI from antigravity, are you saying it’s within the terms of service?

1

u/loopie__ 1h ago

Grey area, not clearly against tos, not clearly in the green. Depends on how you specifically plan to "call Claude CLI from agy"

1

u/dvduval 39m ago

Right in the heart of the discussion here is can we use our subscription from one plan to cover agents on our subscription from another plan using the CLI or do we have to use workarounds that involve manual labor or some sort of a third-party meeting place like GitHub?

My personal view is there all subsidizing to compete with each other and get the most customers. But as they see customers sliding around the terms of service and automating things, they want to try to push the customers into using API credits because they can’t afford to have all their subscription plans automated to max. It kills their numbers.

2

u/adelie42 1h ago

This does not match my experience, including the fact that one of the biggest complaints here is that all these companies are typically opaque about why they ban you.

I frequently use an orchestrator to manage sessions across models using CLI that use CLI because agents can't spawn agents and this setup gets around it.

For reference, I almost exclusively use such a setup today to do advisarial reviews of translation work.

0

u/dvduval 1h ago

Yes, I hope that you are correct and I could use one company’s agent as the coordinator and call the others with CLI. I want to be wrong. For me right now it’s not clear.

1

u/Syncroe 2h ago

Is calling the CLI absolutely necessary? My first experiment was around getting Claude, Codex, ChatGPT, Antigravity and CoPilot all playing in the same code.

Works fine, never got dinged, but granted I didn't try to call one from the other directly -- so no direct booting up agy or whatever.

Just have your agents poll for handoff plan documents and run them. I was able to get all 5 working on the same code base simultaneously this way. Claude would routinely get pissed off about someone else changing "his" files, lol, but other than that I never ran into any warnings/etc at all. None of the other AIs so much as made a mention nor seemed to care that other agents were working.

If it's just a matter of booting the CLI from another agent, well, cronjobs have your back :). Have the cronjob poll for the existence of a "start" file that other agents create when you want them to hand off their work. Claude cannot possibly know that "dostuff.txt" signals agy to boot up, so whether your concern is valid or not, you might still consider such a setup depending on what you're trying to accomplish.

1

u/dvduval 2h ago

At least technically from their terms of service Polling is not allowed if it involves coordinating with other agents. Realistically, it seems a lot safer.

I've got this file on my computer. I wrote it myself. I swear. Go look at it and I'm going to keep updating it and you keep doing the work I tell you to do. Got it? Good

1

u/KaliguIah 31m ago

only google are this shit.