How to configure your first model
Use this when xopc is installed but the agent cannot call a model yet.
1. Save a provider key
Use providers set-key for API-key providers:
bash
xopc providers set-key deepseekThe command prompts for the key without echoing it. You can also pass a key explicitly when scripting:
bash
xopc providers set-key deepseek --key "$DEEPSEEK_API_KEY"Check credential status:
bash
xopc providers list2. Pick a model
List models:
bash
xopc models list --provider deepseekSet the default model:
bash
xopc models set deepseek/deepseek-v4-flashCheck the result:
bash
xopc models status3. Try a local chat
bash
xopcIf the model call fails, run:
bash
xopc doctor
xopc logs tailNotes
xopc onboard --quickis the guided path for the same setup.- OAuth-capable providers can also be managed through
xopc models auth login --provider <id>. - The configuration file remains
~/.xopc/xopc.json; credentials may be stored through auth profiles rather than as raw keys in the JSON file.