Skip to content

Connectors

Connectors is the app-wide pane for what agents connect to outside AgentMux: the accounts they sign in with, the MCP servers they use, and the remote hosts they run on. Its companion pane, Memory, holds what agents know and carry: Global and Personal Memory, Skills and Bundles.

The Connectors widget when it first opens, on Accounts

Connectors is a regular pane (icon: plug), opened from the widget bar like any other. It has three sections, as tabs along the top of the pane (frontend/app/view/connectors/connectors.tsx):

SectionWhat it manages
AccountsSign-ins to providers and services: AgentMux, GitHub, Google (Gmail, Calendar and Drive), AWS, OpenAI, Anthropic, xAI, Slack and a custom bearer token. Each account card says how many agents use it.
MCP serversThe MCP server catalog: global servers plus any agent-private ones
RemotesThe SSH hosts and WSL distributions AgentMux can open terminals, files and agents on. See Remotes.

Connectors opens on Accounts. The pane title names the section, for example “Connectors · Accounts”. In a narrow pane the tabs show only their icons; in a wide one they stop growing and sit at the left. Ctrl + mouse wheel zooms the pane.

The agents that use an account or a server are listed on its card or page here. An agent’s own account is changed from its composer strip: see Changing which account an agent uses.

  • Widget bar: click Connectors. It is pinned by default. If a Connectors pane is already open in the tab, the click focuses it instead of opening another.
  • Command palette: run Connectors. Searching for “accounts”, “mcp” or “remotes” also finds it.
  • macOS app menu: Connectors….

Links elsewhere in the app open Connectors on the right section:

  • An agent pane that can’t sign in shows Connectors → Accounts in its error row, and Accounts (switch / upgrade) when a usage limit is reached. See First Agent Setup → Sign in.

The Accounts section shows every service AgentMux can connect to. Each entry displays the service logo, connection status, and the active credential type.

Connectors → Accounts: a tile per service with how many accounts are connected, and the connected accounts grouped by service

Click any service tile to connect or manage credentials:

  • OAuth providers (Claude, Codex, Gemini, GitHub Copilot) — clicking Connect opens a PKCE or Device Flow browser login. The resulting token is stored in a per-account credential dir under ~/.agentmux/shared/identities/<account_id>/<provider>/ (never plaintext via AgentMux). Tokens are validated against the live service on load — an expired token shows a ⚠ badge.
  • GitHub — the tile offers two choices: Use AgentMux’s GitHub App (no GitHub credentials needed on this computer: you choose the repositories, and agents push and open PRs and issues there as muxagent[bot]) and Add a personal access token (your own token, kept in your OS keychain; the agents you link it to act as you). A line at the top of the Connect GitHub section says which way agents reach GitHub now: through the App, through your personal access token, through your own GitHub sign-in, or, with none of these connected, with your own GitHub login on this computer. On a computer that has gh-agent, the line reads “This computer’s gh-agent gives agents their GitHub identity.”, whichever account is connected. The App’s Connect GitHub needs an AgentMux Cloud sign-in. It uses AgentMux’s own GitHub App through AgentMux Cloud, which is where the GitHub tokens your agents use come from. Without a sign-in, the Connect button is replaced by Sign in to AgentMux Cloud to connect GitHub, a note that GitHub tokens for your agents come from AgentMux Cloud, and the sign-in choices: Continue with Google, Continue with Apple or email (the same sign-in as the AgentMux tile and Settings). When you are signed in, the status turns connected and Connect comes back. If you save an OAuth app of your own for GitHub in the tile’s form, Connect uses that instead and needs no sign-in. See A connected GitHub account.
  • Google — a PKCE browser login with an OAuth client of your own. See Google: Calendar, Drive and Gmail.
  • API key providers — clicking Connect opens an inline key entry field. Validate & Save checks the key against the service before it’s saved. The key is kept as an api-key entry in the Vault, labelled <provider> account key: <name>, and the account holds only the entry’s id; deleting the account deletes the entry. For Anthropic and OpenAI the form asks only for a name, a display name and the key: the provider and the kind are already chosen.

+ Add opens the Add Account form instead: a name, the provider and kind, a display name, where the secret is kept (the first choice, the recommended one, saves a key you paste to the Vault; the others are an environment variable, AWS Secrets Manager and, for development only, plaintext), and Validate & Save or Save without validating. For GitHub the kind is AgentMux’s GitHub App (muxagent) or Personal access token.

Connect Custom, a provider with no validator: Name, Provider, Kind, Display name, Secret backend, Key / token and Notes, with Save without validating and Cancel

On a service that already has an account, Connect opens the Connect section above its accounts, to add another.

See Auth flows for the full per-provider table and credential storage model.

Open the account’s details to see who agents act as (for the App, “Agents act on GitHub as muxagent[bot], with short-lived tokens, only on the repositories you installed AgentMux’s GitHub App on”; for a personal access token, “Agents act on GitHub as @login with this token”) and its GitHub sign-in: Connected as @login (id …), the Client, and what GitHub Allowed. A GitHub account connected through AgentMux Cloud refreshes its token on its own, and AgentMux ends the grant when you remove the account. If you revoke AgentMux on GitHub, the account shows Reconnect needed and a Reconnect button; AgentMux notices when you open the details. An account made with an OAuth app of your own, or while signed out of AgentMux Cloud, uses GitHub’s device flow, and its token isn’t refreshed: it asks you to connect again when it expires.

With GitHub connected, agents push and open pull requests on the repositories where the AgentMux GitHub App is installed, as the App’s bot, with a short-lived token for that one repository. Their pushes go through a secret scan that git push --no-verify can’t skip, their commits name you as co-author and carry an Agent: trailer, and their pull requests carry your GitHub id. Changing CI workflow files needs a per-agent opt-in.

Click the Google tile and Connect with OAuth. The sign-in runs in your browser with an OAuth client you make once in the Google Cloud console: an OAuth client ID of type Desktop app, with the consent screen set to External, or Internal for your Workspace organization. Paste its client ID and secret into the form. AgentMux keeps them in your OS keychain, so you do this once, and the form shows Using your saved client afterwards, with Use a different client and Forget this client. The form’s Client type is Your own client or Workspace internal. If your organization blocks the app, the account says Blocked by your organization.

The account’s details list its Services. Each one is On, Partly granted or Off, and Turn on asks Google for that service’s permissions only:

ServiceWhat agents you allow can do
CalendarRead your calendars, events and free/busy times.
DriveRead the files you pick for them in Google’s file picker (Give agents files from Drive…) and the files AgentMux makes. Never the rest of your Drive.
GmailSearch and read your mail: threads, messages and labels. Attachments are listed by name, type and size, never downloaded.

Gmail needs your own client, or your organization’s internal one: Google reviews apps that read mail, and AgentMux’s own client hasn’t been through that. Under Gmail, Drafts, labels and sending is a separate consent (Allow drafts, labels and sending) that lets agents you allow to write draft mail, put labels on threads and take them off. They can’t send or delete on their own: to send a draft, or to move a thread to the trash, the agent has to ask, and a window shows you the mail as it will go. Nothing happens until you approve it. The request waits up to two minutes, and fails if you say no, don’t answer, or the draft changes after you approve.

Under Agents the details list the agents bound to the account, with a control for each service: Off, Read, and for Gmail Read and write. An agent sees a Calendar, Drive or Gmail tool only for a service you gave it. Mail, events and file text are written by other people, so the tools mark them as untrusted and the agent is told never to follow instructions found in them. Activity at the bottom lists what each agent did with the account: the action and the thread, draft or event ids, never the mail.

An agent can also connect a Google account itself, with the Google tool’s connect, connect_status and cancel actions: it names the services to turn on (and read or write), and AgentMux opens Google’s consent page in a Browser pane the agent owns, on your own browser profile. The agent drives the page (picks the account, chooses Advanced and then Continue on the unverified-app screen, ticks the boxes) and hands the pane to you only for a password, a code or an administrator’s block. You only sign in. The token never reaches the agent. An agent runs one connect at a time, and it can name a connected account to add services to it or reconnect it, keeping the services already on.

An agent can also turn a service on for itself, or for another agent, with the same tool (status, grant, ungrant; see MuxAPI). A grant is all it needs: the agent doesn’t have to be bound to the account first, and one agent may hold the same service on several Google accounts, naming the account by its email in each call. A grant your consent can’t back, such as write on a read-only Gmail connection, is refused with what to do. Every grant and ungrant is recorded in the account’s Activity under the agent that made it, and a send still waits for your approval in the window.

Connectors doesn’t bind accounts to agents. An agent’s account is changed from the agent: click the login email in its composer strip and choose an account, or Sign in with another account…. The menu lists every signed-in account of the agent’s provider, with its quota state. See Identity & Accounts → Changing an agent’s account.

What Connectors shows is the other direction. A card reads “Used by N agents”, and an open account lists those agents by name. Accounts that share a provider and an email are numbered (user@example.com ·2) so they can be told apart here and in the agent’s menu.

Right-click an account card for Copy account ID, Fail over to this account and Delete account…. Delete account… asks in a panel under the account’s row, with Delete account and Cancel. Fail over to this account is ticked by default: clear it to keep agents from being moved onto that account when they hit a usage limit. See Identity & Accounts → When an agent hits its usage limit. The item is offered for accounts of the providers that run agents.

When an agent reaches its usage limit, AgentMux moves it after its turn to another signed-in account of the same provider that has quota, and tells the agent and its lead. agent:accountfailover is the master switch: set it to false to turn the moves off. It never picks a signed-out account or one whose Fail over to this account you cleared. To keep an account out of the moves, right-click it and clear the tick; tick it again to allow it. Switching an agent’s account yourself always works. The item shows only for an account that agents run on.

Ambient provider credentials (used by agents with no Account explicitly bound) are stored account-wide under ~/.agentmux/shared/providers/<provider>/ — always global, unconditionally shared across every channel and version. Credentials for an explicitly-connected or bound Account are shared by every channel too, unless AGENTMUX_ISOLATED_AUTH=1 gives one channel its own, empty account list for testing. See Auth flows → Isolated auth by channel.

The Accounts section is the credential store. To see which agents use an account, open its card. See Identity & Accounts for how agents and accounts are linked.

The catalog of MCP Server primitives available to agents:

  • Global servers — visible to and bindable by any agent. Created/edited here via the catalog (mcp.catalog.upsert/mcp.catalog.delete).
  • Private servers — created by a specific agent (mcp.upsert), visible only to that agent until bound elsewhere.

Open a server to see who gets it. All agents gives it to every agent at launch, and Containers too extends that to container agents. Bound to lists the agents it is bound to, each with Unbind, and Bind to agent binds another. A server reaches an agent when that agent next starts. The server’s page says who added it (“Added by …”) and, once it has been changed, who last changed it, and each bound agent shows who bound it and when. An agent that runs in a container can’t add, change, bind or probe a catalog server whose command would start a program on your computer. See MuxAPI for the full RPC reference.

Connectors → MCP servers: the servers AgentMux comes with, how many agents use each, + Browse catalog and + New MCP server

A new MCP server: its name, transport and JSON config

The hosts AgentMux can open terminals, file browsers and agents on: the SSH hosts in your ~/.ssh/config, hosts you’ve connected to, and on Windows your WSL distributions (frontend/app/view/remotes/remotes-view.tsx). Besides the Connectors tab, it’s reached from Manage remotes… in a pane’s connection picker and in the Places sidebar of the Files pane, and from Remote settings… in the header menu of a pane running on a remote, which opens it with that host’s row expanded.

Connectors → Remotes when it first opens

  • Toolbar: Filter remotes, Refresh and + Add remote. Add remote takes the destination as you’d type it after ssh (user@host:port, the port optional); Advanced sets a Name, an Identity file and a host to Connect through. Writing a new host into your ssh config waits for you to confirm it, in a question over the Remotes pane.
  • Sections: Pinned, SSH hosts, Recent, WSL and Hidden, each collapsible. With none yet, it reads “No remotes yet. Hosts in ~/.ssh/config appear here…”.
  • A row shows the host’s colour and connection status, its nickname, platform and helper state, how many sessions and agents use it, and buttons for New terminal and Browse files. Right-click a row for the same actions as a menu.
  • Click a row to expand it: Connect / Disconnect, Sessions… (the host’s durable terminal sessions), Pin, Hide, Forget, Remove helper, Test connection and Edit in ssh config; settings for Nickname, Colour, Keep sessions alive and Install the helper; and the agents always allowed here (as you, with your SSH keys), each with Revoke.

An SSH terminal can be durable: its shell keeps running on the host, inside AgentMux’s small helper there, so a dropped link, your computer sleeping or an AgentMux restart reconnects to the same shell instead of ending it.

Durable terminals need the helper on the host. The first terminal you open on a host without it asks first, in a question over the pane that needs it: Install AgentMux’s helper on host? The helper is about 500 KB, goes in ~/.agentmux-remote on that machine and needs no root. It also lets Files browse the host’s files.

  • Install installs it, and the terminal is durable.
  • Not now opens a plain SSH terminal. AgentMux doesn’t ask again for that host until it restarts.
  • Tick Don’t ask again for host to make the answer stick: with Install it becomes Always for that host, with Not now Never.

All the terminals waiting on the same host share one question, so a restart with several of them open asks once. If the helper is later removed from the host, the next terminal asks again. A first terminal on a host it can’t reach (a mistyped name, a host that’s down) becomes a plain terminal showing ssh’s error after a few tries, instead of reconnecting for ever. An install that an agent’s pane needs is always asked about, whatever the settings say.

To remove the helper, expand the host’s row here and choose Remove helper. Sessions… lists the host’s durable terminal sessions.

The settings:

WhereSettingChoices
Settings ▸ Terminal ▸ Keep SSH sessions alive (term:durable)Whether SSH terminals are durableOn, else a plain terminal (the default: durable where the helper is or gets installed), Always (needs the helper), Never
Settings ▸ Terminal ▸ Install the helper on new hosts (conn:helper)Whether to ask before installing the helperAsk first (the default), Always, Never
A host’s row here: Keep sessions alive and Install the helperThe same two, for that host onlyThey override the settings above

A terminal on a remote machine names the remote in its pane tab: the nickname you gave it here, or else the host name, with the remote’s icon. A Sysinfo pane on a remote reads “CPU · host”. The CPU and memory badge of an SSH or WSL terminal shows the remote shell’s own figures, measured on that machine.

  • Memory — Global and Personal Memory, Skills and Bundles
  • Auth flows — per-provider OAuth flows, API key storage, and credential storage model
  • Identity & Accounts — how agents and accounts are linked
  • MuxAPI — mcp.* and identity.* RPC catalogs
  • First Agent Setup — connecting your first provider