Skip to main content
aider is a terminal pair programmer that edits files in your git repo. It reaches Lyceum through its OpenAI-compatible settings.

Install

aider does not yet run on Python 3.13. The install fails with ModuleNotFoundError: No module named 'pyaudioop'. Pin 3.12:

Configure

Or make it permanent in ~/.aider.conf.yml:
The model needs an openai/ prefix. aider routes through LiteLLM, which uses that prefix to pick the OpenAI-compatible transport. Write openai/z-ai/glm-5.2, not z-ai/glm-5.2.

One-shot edits

Useful in scripts and CI: aider has no search tool of its own, so you turn on Lyceum’s search in its model settings. Save this as .aider.model.settings.yml in your home directory or your repo root:
.aider.model.settings.yml
The model then searches the web when a question needs it, and your edits work as before. Add one entry per model, or use - name: aider/extra_params to cover every model. aider shows only the model’s text, so ask for full links when you want them (“cite your sources with their full URLs”). See Web search for options and pricing. To read one page you already know, type /web <url> in the chat. aider fetches it on your machine and adds it to the conversation.

Notes

  • Editor vs. main model. In architect mode, the main model plans and a cheaper editor model applies the edits: aider --architect --model openai/z-ai/glm-5.2 --editor-model openai/deepseek/deepseek-v4-flash-0731.
  • Token counts. aider prints its own token accounting, which leaves out the extra model turns that web search adds. Billed usage is in the dashboard.