Providers
A provider is where your messages go. CachyCLI picks a sensible one on its own, and you can change it any time by typing /provider inside the interface.

The list
| Provider | What it uses | Sign-in |
|---|---|---|
| opencode | Your opencode install — its models, logins and tools | opens the opencode sign-in |
| Claude Code | The Claude Code CLI on this machine | runs Claude Code so you can log in |
| Your models | Any endpoint you configure (hosted or local) | cachycli login --api-key … |
| Editor agent | An agent that speaks the editor standard | handled by that agent |
The picker shows the state of each one, so you always know what is ready and what still needs a sign-in.
Recommended if you already use it
Connect opencode
Nothing to configure: CachyCLI uses your opencode — same logins, same models, same tools. If you are not signed in yet, choosing it starts the opencode sign-in, which opens your browser.
Inside the interface
/provider then pick "opencode"
Or make it the default
[agent] provider = "opencode"
Connect Claude Code
CachyCLI can drive the Claude Code CLI: your existing subscription, its tools, its permissions. Choose Claude Code in the picker; if it is not signed in, CachyCLI steps aside, runs Claude Code so you can finish the login, and comes back.
Requirements
# the Claude Code CLI must be installed npm install -g @anthropic-ai/claude-code # then, inside CachyCLI /provider then pick "Claude Code"
Switching is per session
Connect Codex or Gemini
The other two CLI agents work the same way: CachyCLI runs them headless and renders what they do. Their own login is what counts — CachyCLI never sees it.
$ npm i -g @openai/codex # then: cachycli --provider codex $ npm i -g @google/gemini-cli # then: cachycli --provider gemini
Both keep their own session ids, so --resume continues the conversation there instead of starting over.
Use your own models
Add an endpoint once and it appears in the model picker — a hosted API or something running on your machine.
[model.my-model] model = "llama-3.1-70b" base_url = "http://localhost:8080/v1" name = "Local Llama"
- ▪Keys and endpoints: Models & keys.
- ▪Switch model at any time with /model inside the interface.
Pick one for a single run
$ cachycli --provider opencode $ cachycli --provider claude-code -p "summarize this diff" # remember a choice [agent] provider = "opencode"
Run without any of this and CachyCLI uses the first provider that is installed and signed in — usually opencode.