Knowledgebase · Last updated 1 December 2026
Bring your own AI: your subscription or your API key
The agent in the Chat tab has a daily AI allowance. When you need more, bring your own AI: sign in to Claude Code, Codex or Antigravity CLI in the Terminal with a plan you already have, or add your own API key so the Chat tab agent keeps going.
Two ways to bring your own AI
The agent in the Chat tab runs on awx’s own AI, with a daily allowance of AI tokens. A meter under the chat shows how much of today’s allowance you have used, and it starts again at midnight, Malaysia time. When you have used most of it, a note under the meter offers two ways to keep working:
| Your subscription, in the Terminal | Your API key, in the Chat tab | |
|---|---|---|
| What you bring | A Claude, ChatGPT or Google plan you already pay for (or a free one) | An API key from Anthropic, OpenAI, DeepSeek, Kimi, OpenRouter or Google |
| Which agent works | Claude Code, Codex or Antigravity CLI, in the computer’s Terminal tab | The awx agent in the Chat tab, on your model |
| Who bills you | Your plan, within its own limits | The provider, for each token |
| Counts against the awx daily tokens | No | No |
Either way, the computer itself is the same: its running time and credit work as usual.
Way 1: your subscription, in the Terminal
Open your computer, go to the Terminal tab, and start the agent from a project folder rather than your home folder. In a project folder the agent remembers that you trust it:
mkdir -p ~/project && cd ~/project
Every one of these agents signs in the same way on a cloud computer: it shows a link, you open the link in any browser where you are signed in (the one on your laptop or phone is fine), and you paste a code back, or type a code into the page.
Claude Code is already on computers made from 20 November 2026. Codex and Antigravity CLI install from Coding agents, on the computer’s Overview tab: press Install and wait a minute.
Claude: Claude Code
Works with a Claude Pro, Max, Team or Enterprise plan. You can also sign in with a Claude Console account and pay for what you use: choose the Console option at sign-in.
claude
- Pick a colour theme, then choose Claude account with subscription.
- Claude Code shows a sign-in link. Open it, approve, and copy the code the page shows.
- Paste the code into the terminal and press Enter.
Type /status inside Claude Code to see which account it uses, and /login to change it. On a computer made before 20 November 2026, install it first as the computer’s normal user, not with sudo:
curl -fsSL https://claude.ai/install.sh | bash
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
claude --version
Claude Code keeps itself up to date in your home folder. For many tool calls at once, see Use Claude Code’s Code Mode on your awx computer.
ChatGPT: Codex
Codex is included with ChatGPT plans, from Free to Pro, Business and Enterprise; how much you can use depends on the plan. Sign in with a one-time code, which is made for computers like this one that have no browser of your own:
codex login --device-auth
Codex prints a link, https://auth.openai.com/codex/device, and a one-time code that lasts 15 minutes:
- Open the link, sign in to ChatGPT, and type the code.
- Back in the terminal, Codex says you are signed in. Start it with
codex.
Plain codex login waits for your browser at an address on the computer itself, which your laptop’s browser cannot reach, so use --device-auth. Only type a code that you started yourself in your own terminal: never one that a website or another person sends you. codex login status shows whether you are signed in.
Google: Antigravity CLI
Works with a personal Google account, on the free plan or Google AI Pro or Ultra. Since 18 June 2026 Google serves personal accounts in Antigravity CLI, not in Gemini CLI, which now takes only a paid Gemini API key. A Google Workspace (work or school) account needs Gemini Enterprise.
agy
- At Select login method, choose Google OAuth.
agyshows a long Google link. Open it and sign in with your Google account.- The page that opens after you sign in shows an authorization code. Copy it, paste it into the box in the terminal, and press Enter.
If agy is not found after installing it, open a new Terminal tab, or run export PATH="$HOME/.local/bin:$PATH".
agy keeps its sign-in in the computer’s keyring, so it stays signed in when the computer restarts or wakes from sleep. Computers made before 1 December 2026 have no keyring: there agy asks you to sign in again after a restart.
Keep it going while you are away
A long job is safer inside tmux, which is installed. If the Terminal tab reconnects, your session is still there:
tmux new -s ai # start claude, codex or agy in here
tmux attach -t ai # later: come back to it
A computer with no one working on it goes to sleep after a while. Why a computer sleeps and how to keep it running explains when.
Way 2: your API key, for the Chat tab agent
With your own API key, the agent in the Chat tab keeps working on your model, with no daily limit from awx. Everything else about the chat stays the same: the computer, the files, the approvals.
- Get an API key from your provider: console.anthropic.com for Claude, platform.openai.com for OpenAI, platform.deepseek.com, platform.moonshot.ai for Kimi, openrouter.ai, or aistudio.google.com for Gemini. An API key is billed per use; a ChatGPT or Claude subscription is not an API key.
- In
awx, open Account, then Built-in agent. Under Your own AI keys, press Add key beside your provider. - Paste the key. Keep the model names that are filled in, or type the ones your provider lists, separated by commas. Press Save.
- Open the provider again and press Test the key. It sends one tiny request and tells you whether the key works.
- In the Chat tab, choose your model in the model menu. Your models are marked (your key).
The key is stored encrypted, is never shown again, and is used only for your own chats. To stop using it, open the provider and press Remove key; chats on its models move to another model.
Which one to choose
- You already pay for Claude, ChatGPT or Google AI: use the Terminal. Your plan is used, with no extra bill.
- You like the Chat tab, with its approvals, replays and schedules: add an API key and keep chatting.
- You want to spend nothing extra: wait for the reset at midnight, Malaysia time, or try Codex on the ChatGPT Free plan or Antigravity CLI with a free Google account.
Keep your logins and keys safe
An agent you sign in to in the Terminal keeps its login on the computer (Claude Code in ~/.claude, Codex in ~/.codex). Anything that runs there can use it, including the Chat tab agent and anyone you let take over the desktop. Sign in only on a computer that is yours alone, and sign out when you no longer need it: /logout in Claude Code or in agy, and codex logout for Codex.
Paste an API key only into Your own AI keys, never into a chat message. If a key has leaked, delete it at your provider and add a new one.
Common questions
Does my own subscription or key use the awx daily AI tokens?
No. Claude Code, Codex and Antigravity CLI in the Terminal use your own plan, and models on your own API key are billed by your provider. Neither counts against the awx daily AI tokens.
Can the Chat tab agent use my ChatGPT or Claude subscription?
No. A subscription is used by the provider's own agent, which you run in the Terminal tab. The Chat tab agent needs an API key, which you add under Account, Built-in agent.
Why not Gemini CLI for my Google account?
Since 18 June 2026 Google serves personal Google accounts (free, AI Pro and Ultra) in Antigravity CLI, not in Gemini CLI. Gemini CLI still works with a paid Gemini API key.
Is my login safe on an awx computer?
Your login is stored on that computer, so anything that runs there can use it. Use a computer that is yours alone, and sign out when you no longer need it: /logout in Claude Code or agy, codex logout for Codex.