Skip to content

Connect Aider

CMX’s Aider integration changes the OpenAI-compatible API base in Aider’s configuration. Install Aider and provide its model provider credential through Aider’s normal environment first. cmx providers aider list reports readiness when it sees OPENAI_API_KEY or ANTHROPIC_API_KEY; the configured OpenAI-compatible route is what CMX changes.

Terminal window
cmx setup --ask-connect-ready
cmx providers aider list
cmx harness enable aider

CMX normally uses ~/.aider.conf.yml and also recognizes AIDER_CONFIG. Start a new Aider process, send a request, then check cmx stats. Aider models that use a different API base or protocol need separate verification.

Terminal window
cmx harness disable aider

Restart Aider after restoring. If you need to stop the gateway as well, use cmx stop; it restores active client routes before stopping.