Terminal CLI

Connect Aider CLI

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

Verified on Aider v0.70.0+ (export OPENAI_API_BASE & OPENAI_API_KEY).

Step by step

  1. Export Environment Variables

    Run the following in your Bash/Zsh terminal:

    Aider CLI
    export OPENAI_API_BASE=https://sacredgpt.pro/v1
    export OPENAI_API_KEY=sg_live_...
  2. Launch Aider with Chosen Model

    Start Aider specifying the model flag:

    Aider CLI
    aider --model openai/sacredai-heretic

Ready-made settings

Replace sg_live_… with your key. For free SacredAI, use the sacredgpt-auto model.

Aider CLI
# ~/.aider.conf.yml
openai-api-base: https://sacredgpt.pro/v1
openai-api-key: sg_live_9a8b7c6d5e4f3a2b1c0d
model: openai/sacredai-heretic
auto-commits: true

If it doesn't work

Aider outputs 'Model Unknown' error

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

No API key yet?

The API is included in your chat plan. SacredAI and 10 Heretic requests are free.

Create a key
Direct line

Found a bug? Show us.

Tell us what happened and what you expected. The page address and browser details help us reproduce it faster.