Configuration
How to configure API keys and settings in Xipher IDE.
Adding API Keys
Run the interactive configuration wizard:
xipher configureThis will prompt you to enter API keys for the providers you want to use. Keys are stored securely in your system's keyring (macOS Keychain, GNOME Keyring, or Windows Credential Manager).
Supported Providers
| Provider | Environment Variable | Get API Key |
|----------|---------------------|-------------|
| OpenAI | OPENAI_API_KEY | platform.openai.com |
| Anthropic | ANTHROPIC_API_KEY | console.anthropic.com |
| Google | GOOGLE_API_KEY | aistudio.google.com |
| DeepSeek | DEEPSEEK_API_KEY | platform.deepseek.com |
| xAI | XAI_API_KEY | console.x.ai |
| Zhipu AI | ZHIPU_API_KEY | open.bigmodel.cn |
| Moonshot | MOONSHOT_API_KEY | platform.moonshot.cn |
Environment Variables
You can also set API keys via environment variables. Export them in your shell profile:
export OPENAI_API_KEY="sk-..."
export ANTHROPIC_API_KEY="sk-ant-..."Keys set in the keyring take precedence over environment variables.
Default Model
Set a default model to skip the selection prompt:
xipher configure --default-model claude-4-sonnet