When atbridge can't find your AI CLI
In short: atbridge finds these CLIs for you — on your PATH and in the usual
install folders. If yours is installed somewhere unusual and atbridge can’t see it,
run atbridge connect set-cli <name> <full path> once and it’s remembered. No
environment variables to edit.
This page is about connecting a CLI subscription in the atbridge AI Chat —
Claude Code (claude), Antigravity (agy), or
OpenAI Codex (codex) — where atbridge runs the CLI you already pay for as the model
behind the chat. (If instead your external AI app can’t see atbridge’s tools, that’s
the MCP side — see When your AI says it has no atbridge.ai tools.)
Why it happens
Seção intitulada “Why it happens”When you launch Thunderbird from its icon, the operating system gives it a minimal
PATH that often omits the folder your CLI installed into — so a command that works
in your terminal is invisible to atbridge. This is most common on Windows, where
tools like Antigravity install under …\Programs\<App>\bin rather than a folder on
PATH.
atbridge already looks beyond PATH — it checks the common install locations, including IDE-bundled ones like Antigravity’s — and remembers the first place it finds each CLI. The steps below are for the rare case where your CLI lives somewhere it didn’t look.
The fix: point atbridge at it once
Seção intitulada “The fix: point atbridge at it once”Run this in a terminal (or Thunderbird’s built-in terminal), replacing the path with where your CLI actually is:
Find the CLI in a terminal where it works — e.g. for Antigravity’s agy:
(Get-Command agy).SourceThen tell atbridge (use the full path it printed):
atbridge connect set-cli agy "C:\Users\you\AppData\Local\agy\bin\agy.cmd"(Antigravity’s installer places agy under %LOCALAPPDATA%\agy\bin by default.)
atbridge saves it and uses it from now on. Reconnect the provider in atbridge AI Chat → Connect a CLI subscription.
Find the CLI in a terminal where it works:
which agy # or: which claude / which codexThen tell atbridge (write the path out in full — no ~):
atbridge connect set-cli agy /full/path/to/agyatbridge saves it and uses it from now on. Reconnect the provider in atbridge AI Chat → Connect a CLI subscription.
Before that, the basics
Seção intitulada “Before that, the basics”- Is the CLI installed and logged in? atbridge runs your CLI with your subscription — install it and sign in once in a normal terminal first.
- Did it ever work in a terminal? If
agy(orclaude/codex) isn’t found in a plain terminal either, fix that install first, then reconnect.
Prefer an environment variable?
Seção intitulada “Prefer an environment variable?”atbridge connect set-cli is the recommended fix and needs no environment variables.
If you’d rather use one, setting ATBRIDGE_CLI_<NAME> to the full path still works —
e.g. ATBRIDGE_CLI_AGY, ATBRIDGE_CLI_CLAUDE, ATBRIDGE_CLI_CODEX.
Still stuck?
Seção intitulada “Still stuck?”Email contact@atbridge.ai with the name of the CLI and where it’s installed. We usually answer within a day.
Where to go next
Seção intitulada “Where to go next”Was this page helpful?
Thanks for the feedback!