Local agent CLIs
Use Claude Code, Codex and other agents you already have.
On this page
Aux can drive an agent CLI on your Mac with your own login. Aux never sees or stores that login, and your usage counts against your plan with that provider.
Set one up#
- Install the CLI and sign in from Terminal:
claude auth login # Claude Code codex login # Codex - Open Settings › Models in Aux. The CLI shows up once it’s installed and signed in.
- Pick it as your model.
Claude Code, Codex, Cursor, Grok Build and OpenCode are always listed. GitHub Copilot CLI, Gemini CLI, Muse Code, Factory Droid, fx, Kiro CLI, Antigravity CLI and Pi show up once they’re installed.
Other agents#
Settings › Models › Custom agents lists other agents found on your Mac. Browse adds one from the ACP registry, after showing you the exact command it will run. Add a custom agent… adds any other command that speaks the Agent Client Protocol.
More than one Claude Code login#
Under Claude Code logins in Settings › Models, choose Add a login… for each extra account. Each one lives in a folder Aux makes for it, and your own login in ~/.claude stays as it is. Aux gives you the command to sign it in from Terminal. When a plan’s usage limit stops a chat, Aux moves the chat to your next login and says so.
Named Codex logins#
Under Codex connections in Settings › Models, add a name for a second login and follow the Terminal instructions. Choose the named connection in the model picker. Switching an existing chat between connections shows when earlier context needs to be sent again.
Choose models for a Project#
Choose a preferred model in Project settings or turn on a rule for the providers a Project may use. Set a separate Git writing model in Settings › Models for suggested commit messages and pull request drafts. Aux shows which provider receives the relevant changes.
Settings › Model Usage shows recorded tokens, cache usage, reported or estimated costs, and recently observed limits. Filter by Project and date to see where you used each model.
What the CLI can do#
The CLI gets Aux’s browser tools for each turn, and can hand work to sub-agents on other models. Its own shell and file actions ask Aux first, so they follow the same approvals as everything else.
A CLI is also how the agent gets a shell. With only an API key, Aux’s own agent can read and edit files but can’t run shell commands, so connect a CLI for that kind of work.