← プロジェクト一覧に戻る

Aider

ターミナル上でのペアプログラミング。変更をその都度コミットする

公式Apache-2.0
スター
48.2k
フォーク
4.8k
オープンIssue
1.8k
最終コミット
2026年5月22日

概要

すべての変更がgitコミットとして記録されるため、AIによる編集が同僚の編集と同じようにレビュー可能・巻き戻し可能になります。リポジトリマップの仕組みにより、コンテキストウィンドウを大きく超える規模のコードベースでも作業できます。ターミナル専用という設計は、そこで作業する人には強みですが、エディタ内での利用を求める場合は選択肢になりません。

Aiderで何ができますか?

  • gitコミット単位で巻き戻す変更のたびにコミットメッセージを自動生成してコミットするため、AIが書いた差分もgit diffで確認し、git revertで取り消せます。
  • エディタのコメントで指示するソースコードに書いたコメントをwatchモードが検知して作業を始めるため、aiderのプロンプトに切り替えずに依頼できます。
  • lintとテストの失敗を自己修正変更のたびにlinterとテストスイートを実行し、報告された問題をaider自身が修正します。
  • 画像やWebページを文脈に渡すスクリーンショットや参照ドキュメントのページをチャットに追加できるため、視覚的な情報を前提にした修正を依頼できます。
  • 任意のモデルを指定するモデルはaider --model sonnet --api-key anthropic=KEYのようにフラグで切り替えられ、API経由で使えないLLMにはブラウザのWebチャットとコピー&ペーストで往復するモードがあります。

ドキュメント

Aider-AI/aider のREADMEより転載(Apache-2.0)。 原文を読む ↗

Features

Cloud and local LLMs

Aider works best with Claude 3.7 Sonnet, DeepSeek R1 & Chat V3, OpenAI o1, o3-mini & GPT-4o, but can connect to almost any LLM, including local models.

Maps your codebase

Aider makes a map of your entire codebase, which helps it work well in larger projects.

100+ code languages

Aider works with most popular programming languages: python, javascript, rust, ruby, go, cpp, php, html, css, and dozens more.

Git integration

Aider automatically commits changes with sensible commit messages. Use familiar git tools to easily diff, manage and undo AI changes.

Use in your IDE

Use aider from within your favorite IDE or editor. Ask for changes by adding comments to your code and aider will get to work.

Images & web pages

Add images and web pages to the chat to provide visual context, screenshots, reference docs, etc.

Voice-to-code

Speak with aider about your code! Request new features, test cases or bug fixes using your voice and let aider implement the changes.

Linting & testing

Automatically lint and test your code every time aider makes changes. Aider can fix problems detected by your linters and test suites.

Copy/paste to web chat

Work with any LLM via its web chat interface. Aider streamlines copy/pasting code context and edits back and forth with a browser.

Getting Started

python -m pip install aider-install
aider-install

# Change directory into your codebase
cd /to/your/project

# 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>

See the installation instructions and usage documentation for more details.

More Information

Documentation

Community & Resources

Kind Words From Users