Giter VIP home page Giter VIP logo

aider's Introduction

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

  • 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 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.
  • Aider works with most popular languages: python, javascript, typescript, php, html, css, and more...
  • Aider works best with GPT-4o and Claude 3 Opus and can connect to almost any LLM.
  • 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 while chatting with aider, and it will always use the latest version. Pair program with AI.
  • Add images to the chat (GPT-4o, GPT-4 Turbo, etc).
  • Add URLs to the chat and aider will read their content.
  • Code with your voice.

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

  • The best free open source AI coding assistant. -- IndyDevDan
  • The best AI coding assistant so far. -- Matthew Berman
  • Aider ... has easily quadrupled my coding productivity. -- SOLAR_FIELDS
  • It's a cool workflow... Aider's ergonomics are perfect for me. -- qup
  • It's really like having your senior developer live right in your Git repo - truly amazing! -- rappster
  • What an amazing tool. It's incredible. -- valyagolev
  • Aider is such an astounding thing! -- cgrothaus
  • It was WAY faster than I would be getting off the ground and making the first few working versions. -- Daniel Feldman
  • THANK YOU for Aider! It really feels like a glimpse into the future of coding. -- derwiki
  • It's just amazing. It is freeing me to do things I felt were out my comfort zone before. -- Dougie
  • This project is stellar. -- funkytaco
  • Amazing project, definitely the best AI coding assistant I've used. -- joshuavial
  • I absolutely love using Aider ... It makes software development feel so much lighter as an experience. -- principalideal0
  • I have been recovering from multiple shoulder surgeries ... and have used aider extensively. It has allowed me to continue productivity. -- codeninja
  • I am an aider addict. I'm getting so much more work done, but in less time. -- dandandan
  • After wasting $100 on tokens trying to find something better, I'm back to Aider. It blows everything else out of the water hands down, there's no competition whatsoever. -- SystemSculpt
  • Hands down, this is the best AI coding assistant tool so far. -- IndyDevDan
  • Best agent for actual dev work in existing codebases. -- Nick Dobos

aider's People

Contributors

paul-gauthier avatar joshuavial avatar caseymcc avatar fahmad91 avatar ctoth avatar misteral avatar eltociear avatar mobyvb avatar ryanfreckleton avatar taik avatar youknow04 avatar a1ooha avatar ameramayreh avatar h0x91b avatar zestysoft avatar jackhallam avatar jevon avatar nicolasperez19 avatar omri123 avatar zackees avatar develmusa avatar prmbiy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.