aider logo

aider

Free

aider is AI pair programming in your terminal

Model APIsFreeFree tier
#youtube
Inputs: text, image, audio, urlOutputs: text, code
Type
Open Source
Company
Aider

About aider

Aider is an AI pair programmer that edits code in your local git repo via the terminal. It works with your editor, any LLM (Claude 3.5 Sonnet, DeepSeek R1, GPT-4o, local models), and many languages. Aider lets you pair program with LLMs to start a new project or build on your existing codebase.

How to Use

To use Aider, first install it using python -m pip install aider-install aider-install. Then, change the directory into your codebase using cd /to/your/project. Finally, run Aider with your chosen model and API key, such as aider --model deepseek --api-key deepseek=<key> for DeepSeek, aider --model sonnet --api-key anthropic=<key> for Claude 3.7 Sonnet, or aider --model o3-mini --api-key openai=<key> for o3-mini.

Key Features

  • AI pair programming in your terminal
  • Cloud and local LLM support
  • Codebase mapping
  • Git integration
  • IDE integration
  • Image and web page context
  • Voice-to-code
  • Linting and testing
  • Copy/paste to web chat

Use Cases

  • Starting a new project with AI assistance
  • Building on an existing codebase with AI support
  • Debugging code with AI
  • Implementing new features with AI
  • Refactoring code with AI

FAQ

Can I use Aider within my IDE? Aider Reddit Here is the Aider Reddit: https://www.reddit.com/r/OpenAI/s/nmNwkHy1zG Aider

Key Features

AI pair programming in your terminal
Cloud and local LLM support
Codebase mapping
Git integration
IDE integration
Image and web page context
Voice-to-code
Linting and testing
Copy/paste to web chat

Pros & Cons

Pros
  • Open-source and free to use
  • Works with a wide range of LLMs, including local models
  • Codebase mapping enhances performance in large projects
  • Automatic Git commits simplify version control
  • Voice-to-code feature enables hands-free coding
  • Supports images and web pages for richer context
Cons
  • Requires terminal familiarity and command-line setup
  • Free tier may have usage limits depending on LLM API keys
  • Performance depends on the chosen LLM and its availability
  • Automatic linting and testing may introduce overhead
  • Voice-to-code feature may require additional dependencies

Best For

Starting a new project with AI assistanceBuilding on an existing codebase with AI supportDebugging code with AIImplementing new features with AIRefactoring code with AI

Alternatives to aider