Back to Harness Catalog
Terminal CLI

Aider CLI Integration Guide

Terminal AI pair programmer Aider with automated Git commit generation and repository refactoring.

Base URL: https://api.sacredgpt.ru/v1Key: $SACREDGPT_KEYVerified

01 — Version & UI Path

Version Specifics & Navigation

Version Compatibility Note: Verified on Aider v0.70.0+ (export OPENAI_API_BASE & OPENAI_API_KEY).

02 — Step-by-Step Setup

Step-by-Step Setup

1

1. Export Environment Variables

Run the following in your Bash/Zsh terminal:

export OPENAI_API_BASE=https://api.sacredgpt.ru/v1
export OPENAI_API_KEY=sgpt_live_...
2

2. Launch Aider with Chosen Model

Start Aider specifying the model flag:

aider --model openai/gpt-5.6-sol

03 — Configuration Example

ConfigFile Example

# ~/.aider.conf.yml
openai-api-base: https://api.sacredgpt.ru/v1
openai-api-key: sgpt_live_9a8b7c6d5e4f3a2b1c0d
model: openai/gpt-5.6-sol
auto-commits: true

04 — Troubleshooting

Troubleshooting & Common Issues

Aider outputs 'Model Unknown' error

Always prefix the model name with openai/ when passing it to the --model CLI flag (e.g. --model openai/claude-sonnet-5).