Production-ready Aider setup with multiple AI model providers (Azure OpenAI, Codestral, DeepSeek, Ollama), model aliases, and optimized development workflow settings including dark mode, Vim bindings, and file watching.
This skill provides a comprehensive Aider configuration supporting multiple AI model providers with quick-switch aliases, optimized for professional development workflows.
When a user requests this Aider configuration:
1. **Create `.aider.conf.yaml` in project root** with the following structure:
```yaml
model: ollama/qwen2.5-coder:14b
set-env:
- AZURE_API_VERSION=2024-08-01-preview
- AZURE_API_BASE=https://7seda-m5zngwf8-eastus2.cognitiveservices.azure.com
# - AZURE_API_KEY= # Set via environment variable
# - DEEPSEEK_API_KEY= # Set via environment variable
# - CODESTRAL_API_KEY= # Set via environment variable
alias:
- ag4o:azure/gpt-4o
- dc:deepseek/deepseek-coder
- odc:openrouter/deepseek/deepseek-chat
- or1:openrouter/deepseek/deepseek-r1
- mc:codestral/codestral-latest
- qc:ollama/qwen2.5-coder:14b
dark-mode: true
code-theme: material
auto-commits: false
dirty-commits: false
editor: nvim
vim: true
yes-always: false
verbose: false
edit-format: ask
watch-files: true
read: ~/.notes/aider_default_instructions.md
```
2. **Explain API key setup**: Inform the user that sensitive API keys should be set as environment variables (not in the config file):
```bash
export AZURE_API_KEY="your-azure-key"
export DEEPSEEK_API_KEY="your-deepseek-key"
export CODESTRAL_API_KEY="your-codestral-key"
```
3. **Create instructions file** (optional): If `~/.notes/aider_default_instructions.md` doesn't exist, ask if they want to create it with default coding standards.
4. **Verify Ollama setup** (if using local models): Confirm Ollama is running with `ollama list` and the `qwen2.5-coder:14b` model is available. If not: `ollama pull qwen2.5-coder:14b`
Users can switch models mid-session using aliases:
```bash
aider
aider --model deepseek/deepseek-coder
/model ag4o
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/multi-model-aider-configuration-jvkhyk/raw