All tools
Setup guide

Use onomeo in Aider

Aider is a pair programmer that works in your terminal. It reads the service address and your key from two environment variables, and the model name goes on the command line.

AI pair programming in your terminal.

The three values it asks for

OpenAI-compatible

Use these details in any OpenAI-compatible tool.

Base URL
/v1
API key
Model

No key yet? Create one on the dashboard, then come back — the fields below fill in by themselves. Go to the dashboard

Step by step

  1. Set the two environment variables shown below: the first block on macOS or Linux, the second on Windows.
  2. On Windows, close the terminal and open a new one so that the variables take effect.
  3. Start Aider with a model name from the models page, written after openai/, as in the last line.
# macOS / Linux
export OPENAI_API_BASE=https://onomeo.com/v1
export OPENAI_API_KEY=YOUR_API_KEY

# Windows
setx OPENAI_API_BASE https://onomeo.com/v1
setx OPENAI_API_KEY YOUR_API_KEY

# then
aider --model openai/MODEL_NAME

If it will not connect

  • Keep openai/ in front of the model name. It is what tells Aider to use the address above.
  • Aider may warn that it does not recognise the model name. Its documentation on model warnings explains the message and how to describe the model.
  • Files added to the chat are sent with every request and use credits quickly. Add only the files you need.
Aider's own documentation