Skip to content

Aider

by Aider AIAgentWrite code

Lets you pair program with an AI model in your terminal, editing your project's files

View on GitHub

About Aider

Aider is an AI pair programmer for your terminal: you describe a change in plain words and it edits your project's files and records the change in git.

For DevelopersTerminal usersTechnical makers

Made by Aider AI

Aider is an open-source project from the Aider AI organization on GitHub. Its documentation, installers and release notes are published on aider.chat.

Stars
★ 50k
License
Apache-2.0
Cost
Usage-based
Platforms
Mac · Win · Linux
Level
Intermediate

Overview

Aider is an open-source AI coding assistant that runs in your terminal. You start it inside your project, name the files you want changed and describe the change in plain words; it edits those files and saves each change as a git commit you can review or undo. It connects to many cloud or local AI models, so you bring your own model key. It suits developers who like working in the terminal.

Every change it makes is a git commit, so you can compare and undo the AI's work with the tools you already use.

Try these first

Start with the first one: it is a small task you can check easily.

  1. Add a one-line comment at the top of [file] that says what the file is for.First try · edits files

  2. Rename the function [old name] to [new name] everywhere it is used.edits files

  3. Add a test for [function name].edits files

  4. Look at the screenshot I added to the chat and fix the layout problem.uses images

Example prompts written by Agent Flows Hub.

Features

From the creator's documentation.

FeatureWhat it doesRuns
Cloud and local modelsConnects to almost any language model, including local onesYour model provider
Codebase mapBuilds a map of your whole project so it works in larger codebasesYour computer
Git integrationCommits each change with a clear message so you can diff and undo itYour computer
Linting and testingLints files it edits and can run your test command after each change, fixing what failsYour computer
Images and web pagesAdd screenshots or web pages to the chat as extra contextYour computer and the web

Good to know

You want an AI model to change code in a project you already have, from your terminal. Aider edits the files you name and saves each change as a git commit, so you can look at the result and undo it.

Limits

  • Aider needs a model: you bring your own API key for a cloud model, or point it at a local one.
  • Aider saves its changes as git commits in your repository, so work in a project folder you are happy to have committed to.

Notes by (original project name: aider), written from the creator's documentation, not from running it ourselves. Aider installation guide · Aider README

Stuck setting it up?

Tell us what happened. We take a look first; if it needs paid work, you get an estimate before anything starts.

Get help

Other agents

  • AionUi Puts an AI agent on your desktop that works on your files and makes Office documents
  • AIPOCH Open-Science Hands research tasks to AI agents that read papers, run analyses and record each step
  • Base44 Builds a working app or website with sign-in and a database from a chat description
  • Bolt Builds websites, web apps and mobile apps from a chat prompt, ready to publish
  • Browser Use Terminal Runs browser tasks from a terminal screen where you can watch, steer and resume the agent
  • BrowserOS Gives you a Chromium-based browser with an AI agent in every new tab

See all 69 agents · Install your first AI agent

GitHub