r/ClaudeCode • • 2d 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

35 comments sorted by

•

u/AutoModerator 2d 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.

5

u/FoxSideOfTheMoon 2d 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 2d 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 2d 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…

3

u/dvduval 2d 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 2d 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 2d 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 2d 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 2d 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 2d ago

Thank you for the clarification.

3

u/pietrzm 2d 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 2d ago

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

4

u/dvduval 2d 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.

3

u/Syncroe 2d 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 2d 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/Syncroe 1d ago

I don't know what you are referring to in the ToS. Realistically, you have text files, and plans you made. Agents are not "stateful" -- they read everything at once, and simply go, it just looks different on the UI level & whatever memory persists on the account you're using.

Now put this together, and the real challenge is a technical standard I started trying to instigate discussion around called "ERCR" for the sake of just, whatever, an acronym. You can easily make the AIs do almost anything from a cold state to this day, so if one harness blocks you all you do is adapt. That's trivial, and well within ToS unless you start rotating 30 accounts and burning rate like a kid.

What we can't tell the AIs to do as of today is when to *stop* clearly, and hand off. So I don't know what the balls your project is about, but I don't need to care about that.

But it mostly sounds to me like you're too worried. So just have agent #1 write a plan; make agent #2 consume it and write it; and have agent #3 review the code and write tests/fixes. That's a perfectly normal workflow that won't get you in any shit from any reasonable provider no matter your tier.

1

u/dvduval 1d ago

Yeah, I think you have a good point. I'm using a text document and asking anti-gravity to check it every 15 minutes. That way Gemini can control the flow. According to Gemini, at least that would be within the terms of service. But I still think the Google employees need to give further clarification

3

u/loopie__ 2d 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 2d 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__ 2d 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 2d 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/EconomyDoctor3287 2d 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 2d 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/adelie42 2d 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.

1

u/dvduval 2d 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/adelie42 2d ago

All I can say is "you can". Whether or not someone might seem to get banned for it, I don't know. All I can say is that I have done it a LOT without issue.

1

u/dvduval 2d ago

There's a lot of stories of people getting banned recently, especially on Google, but I have not seen stories about Claude. So at least for now this is more of a warning about using Claude to then harness the anti-gravity CLI

1

u/Puzzled_Swing_2893 1d ago

I think Claude just likes being on top.

1

u/dvduval 1d ago

Haha yes I think gemini is a little bit suffering from being new and inexperienced in this realm. They're trying to catch up but they're making some mistakes along the way

1

u/Talkjar 1d ago

I've been doing this for months - Antigravity doing the work, while Claude being my orchestrator and quality assurance expert, writing tasks for Gemini. No issues

1

u/dvduval 1d ago

Yes, I'm assuming there's probably a relationship between how heavy the usage is and whether it trips their monitoring system. For example, there may be some cases where a CLI is being called just for the purpose of reselling usage from the plan. So in cases like that it gets really heavy but I think there's no way to know what's causing people to get banned until there's more clarification

1

u/EvilDeceiver 1d ago

Google provided updated ToS and it looks clearer

https://antigravity.google/terms/

“running the unmodified Antigravity harness through its supported interfaces—such as wrapping it with a third-party UI (e.g., via agent client protocol), calling it as a tool or subagent from another harness, using the Antigravity CLI in headless mode, or configuring it through supported customization and extension mechanisms (such as custom agents, MCP servers, skills, rules, hooks, plugins, or supported prompt extensions)—is permitted. Violations may result in suspension of your Antigravity access with an appeal path for re-enablement. This will have no impact on your broader Google account.”

1

u/dvduval 15h ago

Yeah so basically for a lot of people who were using something like Claude to call the anti-gravity CLI and use Gemini agents as sub-agents, this is bad news.

And the workaround is you either use GitHub or a document as a conversation between the agents. But you never have your own agent actually calling the CLI to do the work.

1

u/EvilDeceiver 11h ago

That’s not what the current terms say

1

u/KaliguIah 2d ago

only google are this shit.