Bring your own agent

IZ Code does not sell model access. Each agent signs in with its own provider, so you can use a Claude, ChatGPT or GitHub Copilot plan you already pay for, or your own API keys, and still get IZ Code's index, memory and tools.

How it works#

Every agent in IZ Code is an extension that runs that agent's own command-line tool and talks to it over the Agent Client Protocol (ACP). The agent's tool holds your login and calls its provider directly. IZ Code adds context, tools and permissions around it, and never sees or resells your tokens.

Because the real tool runs underneath, an agent behaves the way you know it: Claude reads your CLAUDE.md, Claude Code skills, hooks and plugins; Codex reads AGENTS.md.

Use a subscription you already have#

You pay forInstallHow you sign in
A Claude planClaude (izcode.agent-claude)Sign in opens a terminal running Claude Code's own login. Follow it in your browser.
ChatGPTCodex (izcode.agent-codex)Sign in with your ChatGPT account in the browser, or use an OpenAI API key.
GitHub CopilotGitHub Copilot (izcode.agent-copilot)Sign in with the GitHub account that has your Copilot plan.

Other agents work the same way with their own accounts: Google Antigravity with your Google account, Grok with a device code, Kimi Code, Qwen Code and others with their providers. See Choose an agent for the full list.

  1. Install the agent Open Extensions in the Activity Bar, search for the agent, for example agent-claude, and choose Install. Its command-line tool is downloaded the first time it starts.
  2. Start a chat with it Open the chat, choose New Chat, and pick the agent.
  3. Sign in Send a message. If the agent is not signed in, the chat shows Sign in to use …. Choose Sign in and finish the provider's login. You can also run Sign In to Agent… from the Command Palette at any time.
  4. Send your message again Once signed in, the agent's models appear in the model picker.

To switch accounts, run Sign Out of Agent… from the Command Palette, then sign in again.

Already signed in on this computer?#

The Claude and Codex agents run the same command-line tools you may already use on this computer, so an existing login is usually picked up and there is nothing to set up.

Your recent sessions from those tools also appear in the chat's sessions list under Other agent sessions, marked External. Open one to continue it in IZ Code: the agent remembers the conversation.

Use your own API keys#

Agents that accept an API key read it from environment variables. To give agents your keys:

  1. Open Settings → Environments Find Bun Sidecar Environment Variables.
  2. Add the variable Choose Add Variable and enter the name your agent's tool expects and the key as its value. Names starting with IZCODE_ are reserved and ignored.
  3. Restart Changes take effect after restarting the window or app.

Variables can be set for your user or for one workspace. OpenCode and Hermes Agent let you choose the model provider yourself, which suits open models and your own keys.

Keep an eye on your limits#

Agents can call sessionGetUsage to see how full their context window is and, for Claude and Codex, how much of the plan's rate limit is used. When a limit is close, the agent is advised to continue in a fresh session with sessionFork. You control the thresholds:

SettingValuesDefault
izcode.agent.usageAdvice.enabledtrue, falsetrue
izcode.agent.usageAdvice.warnPercent1–10075
izcode.agent.usageAdvice.criticalPercent1–10090

Switch agents mid-conversation#

You are not tied to one provider per task. Type /fork in a chat to continue the conversation in another agent or model, for example when one plan's limit runs out. See Agent chat.

Last updated: December 1, 2026Was this page helpful?