AI providers, models and effort
CatalEx runs agents with Codex or Claude Code. Connect a provider once for the computer, then choose the model and effort for each agent.
Connect an AI provider
In the app
- Open Settings and stay on AI providers.
- Find the provider's row. It shows On this computer, the version and a state.
- Switch on Use PROVIDER, such as Use Claude Code.
| State | What to do |
|---|---|
| Ready | Switch it on to use it for agents. |
| Available | CatalEx found it and it is installed and signed in. Switch it on. |
| Not signed in | Sign in to the provider on this computer, then choose Refresh. |
| Update needed | Update the provider to the release the row names, then choose Refresh. |
| Not found | Install it, then choose Refresh. If it is installed somewhere CatalEx did not look, choose Locate… and pick the program. A program that does not work is refused with That program could not be used. |
| Needs attention | The provider did not answer its checks. Choose Refresh to try again. Hover the info icon for the detail. |
Refresh checks every provider again. CatalEx looks for each program on its PATH, then in the folders where Claude Code and Codex usually install themselves (~/.local/bin, ~/.claude/local, ~/.npm-global/bin, ~/.bun/bin and ~/.volta/bin), so a tool is found even when your shell's PATH does not list it. After an install or an update, choose Refresh.
Expected result: the provider shows Ready with its switch on. Turning on a provider that was off can change the one the Create a new agent dialog starts with. A notice says so.
To stop using a provider, switch it off. CatalEx refuses while an agent or chat uses it; move those agents to the other provider first. The last provider cannot be switched off: CatalEx needs at least one AI provider. Switch another one on first.
With the CLI
catalex providers
catalex providers discover
catalex providers connect codex
Replace codex with claude for Claude Code. catalex providers shows each provider the computer found, whether this setup uses it (connected), its version and its state. discover checks again and signs nothing in. catalex refresh re-verifies the installed AI tools in their current release and replaces the model list CatalEx offers; it never replaces Codex or Claude Code themselves. Run it after you update a provider, if a model you expect is missing. If the provider is not signed in, run catalex providers login codex and finish the provider's own sign-in; CatalEx never sees those credentials. To stop using one:
catalex providers disconnect codex
It fails with PROVIDER_IN_USE while an agent or chat uses the provider, and with LAST_PROVIDER for the only one.
Choose a model and effort for an agent
In the app
- Open the agent's settings (the gear on its tile) and stay on the General tab.
- In the AI card, choose AI provider, Model and Effort. The change saves at once.
A model without effort choices disables Effort. More effort can help with hard tasks; it also takes longer and uses more of your provider plan.
With the CLI
First list the models and efforts each provider offers, then change the agent:
catalex defaults show
catalex agents edit AGENT_ID --model MODEL_ID --effort EFFORT
catalex agents list
A model or effort the provider does not offer fails with the valid options (valid_options with --json) and saves nothing.
When it applies: a new chat takes the agent's latest model and effort. An existing chat keeps the ones it started with; catalex chats settings show CHAT_ID shows them. To use the new choice, start a new chat.
Saving only stores the choice. CatalEx starts no session, so a provider that cannot start in the agent's folder is reported when you send the next message, for example a red row in that chat, Couldn’t start Claude Code, with Change AI provider. Choose the row for a short explanation, and Show more for the provider's own error. A provider that is not ready shows Open AI providers instead.
Switch an agent to the other provider
Choose the other AI provider, or run:
catalex agents edit AGENT_ID --agent codex
The agent keeps its folder. CatalEx prepares the folder for the new provider and carries its tool choices over. If they cannot be kept without widening them, the change fails with AGENT_TOOLS_NOT_CARRIED and nothing is saved (the app says PROVIDER cannot keep this agent's tool limits. with Review tool access). --no-onboard only saves the choice and leaves the folder as it is. After the switch, the agent's next message starts a new chat.
How Default is resolved
An agent with no model or effort saved uses Default. The app shows the value it resolves to, such as Default (NAME), and a short note for any value it skipped, such as Skipped X (from your Claude Code configuration): not offered.
CatalEx takes the first value that the provider offers, in this order:
- The agent's saved value.
- CatalEx's defaults (
catalex defaults set). - The agent folder's own provider configuration.
- Your provider configuration.
- The provider's own default.
- The first value the provider offers.
catalex defaults show prints, for each provider, the model an agent with nothing saved gets, where it came from and what was skipped. catalex agents list shows Default with the value the next launch sends (the resolved member with --json).
To clear an agent's saved model and effort so it follows this order again, choose Default in both dropdowns, or run:
catalex agents edit AGENT_ID --model '' --effort ''
Defaults for new agents
The app has no screen for these; use the terminal:
catalex defaults set --agent claude --model MODEL_ID --effort EFFORT
--agent is codex or claude. An empty --model uses the provider's own default. New agents start with these values. Existing agents and chats keep their settings, except an agent with nothing saved, which follows the new default from its next launch.
When a provider check fails
Read the reported reason and fix that first: install the provider, sign in to it, or update it to the release the app names. Then choose Refresh (or run catalex providers discover) and send a test message. A new chat on a provider that is not signed in ends without a reply and says Your AI is not signed in on this computer, so this turn ended without a reply. Sign in to its provider on that computer, then send your message again.