paul-gauthier / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
11.92k stars 1.13k forks source link
chatgpt claude-3 cli command-line gpt-3 gpt-35-turbo gpt-4 gpt-4o openai opus

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 git repo. Aider works best with GPT-4o and Claude 3 Opus and can connect to almost any LLM.

aider screencast

Getting started

You can get started quickly like this:

$ pip install aider-chat

# Change directory into a git repo
$ cd /to/your/git/repo

# Work with GPT-4o on your repo
$ export OPENAI_API_KEY=your-key-goes-here
$ aider 

# Or, work with Claude 3 Opus on your repo
$ export ANTHROPIC_API_KEY=your-key-goes-here
$ aider --opus

See the installation instructions and other documentation for more details.

Features

State of the art

Aider has the top score on SWE Bench. SWE Bench is a challenging software engineering benchmark where aider solved real GitHub issues from popular open source projects like django, scikitlearn, matplotlib, etc.

aider swe bench

More info

Kind words from users