LogoTop AI Hubs
Logo of Aider

Aider

AI tool for code editing in local git repos via terminal.

Introduction

What is Aider

Aider is an AI pair programming tool that operates within your terminal. It allows you to collaborate with Large Language Models (LLMs) to initiate new projects or enhance existing codebases. Aider integrates with your local git repositories to facilitate code editing.

How to use Aider
  1. Install Aider using pip: python -m pip install aider-install
  2. Run the Aider installer: aider-install
  3. Navigate to your project directory: cd /to/your/project
  4. Run Aider with your preferred LLM, providing the necessary API key. Examples:
    • DeepSeek: aider --model deepseek --api-key deepseek=<key>
    • Claude 3.7 Sonnet: aider --model sonnet --api-key anthropic=<key>
    • o3-mini: aider --model o3-mini --api-key openai=<key>
Features of Aider
  • Cloud and local LLMs: Works with Claude 3.7 Sonnet, DeepSeek R1 & Chat V3, OpenAI o1, o3-mini & GPT-4o, and can connect to almost any LLM, including local models.
  • Codebase Mapping: Creates a map of your entire codebase, improving performance on larger projects.
  • Multi-Language Support: Compatible with 100+ programming languages, including Python, JavaScript, Rust, Ruby, Go, C++, PHP, HTML, and CSS.
  • Git Integration: Automatically commits changes with commit messages and allows you to use git tools to manage and undo AI changes.
  • IDE Integration: Can be used within your favorite IDE or editor by adding comments to your code.
  • Image and Web Page Support: Allows you to add images and web pages to the chat for visual context.
  • Voice-to-Code: Enables you to request new features, test cases, or bug fixes using your voice.
  • Linting & Testing: Automatically lints and tests your code with every change, and can fix problems detected by linters and test suites.
  • Copy/Paste to Web Chat: Streamlines copy/pasting code back and forth with a browser for LLMs accessed via web chat interfaces.

Traffic Analytics

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates