Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can't use subsidized tokens in 3rd party apps. Although they just suspend your Gemini account now, not your google account.

That being said, you can do whatever you want with API tokens.

 help



You can with Anthropic and OpenAI, using 'claude -p' or 'codex exec'.

Paying for Gemini at API rate is therefore out of the question for me.


you can use agy in batch and/or JSON mode - it's what I do for few of my projects. You can also use "agy acp" to get ACP server now (used to be a separate binary)

The requirement is that you use antigravity harness to access subscription-based accounts, not that you can't wrap it


Their official wording seems to be that it's not supported:

> Wrapping agy inside third-party coding agents or applications, or automating account rotation, is not supported under consumer plans.

At least they no longer ban the whole Google account, so I think interpreting that as a prohibition only for abuse would be reasonable.


That violates the ToS for both, and they absolutely will ban you (there's tons of examples of people complaining about their cool tool to get Claude Code shimmed over an API not working/getting them banned, same with OAI).

They won't ban you for that.

I never had any issue using Claude for code review in Codex and vice versa.

I remember that half a year ago, Anthropic planned a change to make claude -p draw from a separate usage pool at API pricing, but after feedback that change was scrapped.

What people were banned for is using the subscription authentication in a third party tool, using many accounts, or reselling.

Invoking the official CLI from another agent for legitimate personal use during development should not be a problem.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: