Skip to content
Docs

How to connect your own AI account

For candidates and hackathon builders ·

Sign in to Claude Code, Codex, Antigravity, GitHub Copilot, Cline, OpenCode or Cursor with your own account in the sandbox terminal. It takes about a minute, and your sign-in is deleted when you finish.

Some coding screens and hackathons let you work with your own AI agent. If yours does, the start page says so before you begin, and the editor's header reads "AI assistant: run … in the terminal and sign in with your own account". You run the agent in the sandbox terminal and sign in to your own account. Nothing to install.

What you need

Agent Command Account
Claude Code claude A Claude account on a plan that includes Claude Code
Codex codex A ChatGPT account on a plan that includes Codex
Antigravity agy A Google account
GitHub Copilot copilot A GitHub account with Copilot Free or Pro
Cline cline A Cline account, or your own API key for a model provider
OpenCode opencode None for its free models, or an account with a model provider
Cursor cursor-agent A Cursor account

Usage counts toward your own plan's limits. Neither Kendor nor the organiser pays for it or can raise it, so check your limits before a long session like a hackathon. What you send OpenCode's free models goes to OpenCode.

Sign in to Claude Code

  1. Open a terminal in the editor and type claude, then press Enter.
  2. The terminal prints "Sign in with your own Claude account: open the link Claude Code shows, then paste the code back here."
  3. When Claude Code asks how to sign in, choose your Claude account (the subscription option).
  4. Open the link it shows. If clicking doesn't open it, copy the link from the terminal into a new browser tab.
  5. Sign in to Claude and approve the request. Claude shows a code.
  6. Copy the code, paste it into the terminal and press Enter.

Claude Code then starts in your workspace. Next time you type claude, it opens straight away.

Sign in to Codex

  1. Open a terminal and type codex, then press Enter.
  2. Codex prints a link and a one-time code.
  3. Open the link, sign in to ChatGPT and enter the code.

Codex starts as soon as you've approved it. codex login does the same thing. Codex uses a code instead of sending you back to the browser because the sandbox runs in the cloud, not on your computer.

Sign in to Antigravity

  1. Open a terminal and type agy, then press Enter.
  2. Pick Google OAuth. Kendor copies the sign-in link for you.
  3. Paste the link into a new browser tab and sign in to Google.
  4. Copy the code Google shows, paste it into the terminal and press Enter.

Sign in to GitHub Copilot

  1. Open a terminal and type copilot, then press Enter.
  2. The terminal shows a code.
  3. Open github.com/login/device, sign in to GitHub and enter the code.

Sign in to Cline

  1. Open a terminal and type cline, then press Enter.
  2. Pick your Cline account and enter the code shown at the link, or pick a provider and paste your own API key.

Use OpenCode

Type opencode in a terminal. Its free models work without an account. To use a model provider instead, run opencode auth login.

Sign in to Cursor

  1. Open a terminal and type cursor-agent, then press Enter.
  2. Open the link it shows and log in to Cursor.

The terminal carries on by itself once you've logged in. There's no code to paste back.

How long the sign-in lasts

  • Across challenges: when you submit one challenge and open the next, your sign-in comes with you.
  • When you finish: your sign-in is deleted when you submit the whole assessment or your time runs out.
  • Sooner: type /logout inside Claude Code, or run codex logout. For the other agents, your sign-in lasts until you finish.

Who sees what

  • Your password and sign-in: nobody. You sign in on the provider's own page, and the agent talks to the provider directly, not through Kendor. The organiser never sees your sign-in.
  • Your conversation with the agent: the organiser's reviewers or judges see your prompts, the agent's replies and the commands it ran, along with your terminal and code. That's how they see how you work. Antigravity's conversation isn't recorded on its own; its work shows in your terminal.
  • Your files and prompts: they go to the provider under your account, on that account's terms, as they would on your own computer.

If something goes wrong

What you see What to do
"The AI assistant is not enabled for this assessment." The organiser hasn't turned agents on. Work without one, or ask them.
"codex is not enabled for this assessment — use claude." That agent isn't allowed here. Use one it names.
The link doesn't open Copy it from the terminal into a new tab.
The provider says you've hit a usage limit It's your plan's limit. Wait for it to reset, or carry on without the agent.
You're asked to sign in again after a reconnect Your sandbox restarted. Sign in again; your work is still there.
Your company's account won't sign in Admins sometimes block sign-ins from new places. Try a personal account.

Tip. If your hackathon gives you a warm-up sandbox before the day, sign in there first, so you know it works before your clock starts.

Was this article helpful?