Skip to main content

Overview

Aider reads instructions from .aider/instructions.md. Drevon’s Aider adapter is unique because it can also generate an optional YAML config file (.aider.conf.yml) alongside the markdown instructions.

Output Files

.aider/
├── instructions.md      # Always generated
└── .aider.conf.yml      # Optional, if config is specified

Enabling

drevon add-agent aider

Agent-Specific Settings

Basic

{
  "agents": {
    "aider": {
      "enabled": true,
      "extraInstructions": [
        "Always create a commit after each change",
        "Use conventional commit messages"
      ]
    }
  }
}

With YAML Config

Aider supports a config field that generates .aider.conf.yml:
{
  "agents": {
    "aider": {
      "enabled": true,
      "config": {
        "model": "claude-3-opus",
        "auto-commits": true,
        "dark-mode": true
      }
    }
  }
}
This generates .aider.conf.yml:
model: claude-3-opus
auto-commits: true
dark-mode: true
Aider is the only agent that supports a config field, as it’s the only one that uses a separate YAML configuration file in addition to markdown instructions.

Requirements

  • Aider installed (pip install aider-chat)
  • .aider/instructions.md in the repository root (Drevon handles this)