iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🎃

Precautions for Using opencode-antigravity-auth in opencode

に公開

About opencode

opencode is an open-source AI coding agent available for use from terminals and IDEs (such as VS Code). It is a highly customizable TUI application that allows users to switch between multiple AI models (Claude, GPT, Gemini, etc.).

A key feature is its plugin system, which allows users to extend functionality and provides support for specific platforms or authentication methods.

Using AI Agents via Account Authentication

Typically, when using AI agents on your own, you obtain API keys from providers like OpenAI or Anthropic and pay for them on a pay-as-you-go basis according to your token usage. However, many users have already subscribed to monthly services like "ChatGPT Plus" or "Claude Pro/MAX."

Consequently, there have been attempts to run AI agents within the scope of these existing subscriptions by utilizing browser session information or account authentication instead of API keys. This offers the benefit of accessing high-performance models without incurring additional API charges.

Recently, it appears that GitHub Copilot can now be used officially.

GitHub Copilot
https://github.blog/changelog/2026-01-16-github-copilot-now-supports-opencode/

Bans and Restrictions from Using Anthropic Subscriptions

There have been cases where Anthropic's subscription services (such as the MAX plan) were used via unofficial methods in tools like opencode, but there have been recent reports that restrictions and account suspension measures have been strengthened.

Communities like Reddit have reported instances where, even with high-priced plans, accounts were suspended when usage methods that violated terms of service (such as excessive automation or unofficial access) were detected. Caution is required when using services outside of official APIs.
(Reference)

Precautions for Using opencode-antigravity-auth

opencode-antigravity-auth is an authentication plugin for accessing Google's "Antigravity" environment. Using this allows you to access the latest models like Gemini 3 Pro via opencode.

However, the GitHub README states that there are significant risks associated with using this plugin.

Relevant plugin
https://github.com/NoeFabris/opencode-antigravity-auth

Quote

 Terms of Service Warning — Read Before Installing
[!CAUTION] Using this plugin may violate Google's Terms of Service. A small number of users have reported their Google accounts being banned or shadow-banned (restricted access without explicit notification).

High-risk scenarios:

🚨 Fresh Google accounts have a very high chance of getting banned
🚨 New accounts with Pro/Ultra subscriptions are frequently flagged and banned
By using this plugin, you acknowledge:

This is an unofficial tool not endorsed by Google
Your account may be suspended or permanently banned
You assume all risks associated with using this plugin
Recommendation: Use an established Google account that you don't rely on for critical services. Avoid creating new accounts specifically for this plugin.

In conclusion, you should absolutely avoid using this with your main Google account.
This includes accounts used for payments or those where you primarily use Gmail.

In the worst-case scenario, you could lose access to all Google services, including Gmail and Google Drive. If you decide to use it, ensure you fully understand the risks and use an account that would not cause problems if it were to be suspended.

Discussion