Integrations / Aider
A

Aider

Open source · Verified setup guide

Pair-programming in the terminal. Reads two environment variables.

Setup steps

  1. 1
    Installpip install aider-chat
  2. 2
    Export the variablesSet OPENAI_API_BASE and OPENAI_API_KEY below.
  3. 3
    Run aideraider --model openai/<model-id> (the prefix is required).

Configuration example

bash
export OPENAI_API_BASE="https://api.luxechain.si/v1"
export OPENAI_API_KEY="lxc_live_YOUR_KEY"

# any model id from the /models page, with the openai/ prefix
aider --model openai/YOUR_MODEL_ID

Replace YOUR_MODEL_ID with any model from the catalogue. Never paste a real API key into a shared document.

Troubleshooting

The model id needs an openai/ prefix, e.g. openai/<model-id from the /models page>.

If the tool rejects the endpoint, confirm the base URL exactly matches the value on the right, and that the key is active in your account.