top of page
Зеленая доска

Aider AI

Aider is AI pair programming in your terminal

Aider lets you pair program with LLMs, to edit code in your local git repository. Start a new project or work with an existing code base. Aider works best with Claude 3.5 Sonnet, DeepSeek V3, o1 & GPT-4o and can connect to almost any LLM.​

CA: 7ELhBiaFbym1Kga2WbSrSz4Fq9pkErHZZ64zPSjFpump

Tips

  • Just add the files that need to be changed to the chat

  • Take a moment and think about which files will need to be changed. Aider can often figure out which files to edit all by itself, but the most efficient approach is for you to add the files to the chat.

  • Don’t add lots of files to the chat

  • Just add the files you think need to be edited. Too much irrelevant code will distract and confuse the LLM. Aider uses a map of your entire git repo so is usually aware of relevant classes/functions/methods elsewhere in your code base. It’s ok to add 1-2 highly relevant files that don’t need to be edited, but be selective.

  • Break your goal down into bite sized steps

  • Do them one at a time. Adjust the files added to the chat as you go: /drop files that don’t need any more changes, /add files that need changes for the next step.

  • For complex changes, discuss a plan first

  • Use the /ask command to make a plan with aider. Once you are happy with the approach, just say “go ahead” without the /ask prefix.

Features

  • Run aider with the files you want to edit: aider <file1> <file2> ...

  • Ask for changes:

    • Add new features or test cases.

    • Describe a bug.

    • Paste in an error message or GitHub issue URL.

    • Refactor code.

    • Update docs.

  • Aider will edit your files to complete your request.

  • Aider automatically git commits changes with a sensible commit message.

  • Use aider inside your favorite editor or IDE.

  • Aider works with most popular languages: python, javascript, typescript, php, html, css, and more…

  • Aider can edit multiple files at once for complex requests.

  • Aider uses a map of your entire git repo, which helps it work well in larger codebases.

  • Edit files in your editor or IDE while chatting with aider, and it will always use the latest version. Pair program with AI.

Aider is AI pair programming in your terminal

bottom of page