1
Install
Your agent runs the AgentMuxer installer. It connects every supported coding agent on your machine to AgentMuxer and adds guidance to call a known API directly or search the free catalog when a task needs external tools or information.To run setup yourself in a terminal with Node.js 22.18 or later and npm:To set up only some clients, add
--client codex, --client claude-code, or --client opencode. Repeat the flag to choose several.2
Sign in
Sign-in is required for free and paid use. Each client signs in to AgentMuxer with OAuth in your browser and keeps its own sign-in.
- When your agent runs setup, it relays each step for you as an
Owner action:line. Follow them in order. They include approving sign-in and, depending on the client, one command that continues the same conversation:/reload-pluginsin Claude Code,codex resumein Codex, oropencode -cin OpenCode. - When you run setup in a terminal, it signs in the AgentMuxer CLI, then opens each signed-out client’s browser sign-in, one at a time.
install again updates AgentMuxer’s guidance in place.3
Try it
After the sign-in steps, paste this prompt. After a terminal setup, start your coding agent and paste it there. For connector clients, start a new conversation.This first prompt explores the catalog without buying a tool call. Next, give your agent a task.
Use AgentMuxer from a terminal
Theagentmuxer command searches, inspects, and calls APIs from a terminal or script. Install it globally and sign in:
agentmuxer login --no-browser prints the sign-in URL and code instead of opening a browser. Without a global install, prefix commands with npx -y @agentmuxer/cli@latest. See the CLI README for every command.
Other clients and manual setup
The installer also adds reusable guidance. Manual MCP registration adds the connection only. Every client below starts the OAuth sign-in when it first connects.- claude.ai or ChatGPT
- Codex
- Claude Code
- Cursor
- VS Code
- Gemini CLI
In your platform’s connector settings, add a custom connector with this URL, then complete sign-in:Start a new conversation after connecting. Custom connector availability depends on your platform and plan.
Manage the connection
Check setup or reconnect
Check setup or reconnect
Run the status command:It prints one line per client and the CLI sign-in. Follow any
Owner action: line it prints to finish setup or sign in again. For client errors or interrupted sign-in, see troubleshooting.Remove the installer-managed connection
Remove the installer-managed connection
Moving from @agentmuxer/setup
Moving from @agentmuxer/setup
@agentmuxer/cli replaces @agentmuxer/setup. Run npx -y @agentmuxer/cli@latest install to update your clients and guidance.Building and distributing your own agent? Use an application API key with the SDK. That flow does not require browser sign-in for each run.