Repolode
MatthewZMD

MatthewZMD/aidermacs

An Emacs integration for Aider that brings AI pair programming, code edits and chat into Emacs workflows.

Open-source alternative to:Cursor

Stars
934
Forks
80
Open issues
18
Last commit
21 days ago

What is it?

Aidermacs is an Emacs package that wraps the Aider command-line AI coding tool in Emacs-native interfaces. It lets you start Aider sessions from a transient menu, add project files as editable or read-only context, and send coding, question, test-writing, and debugging requests without leaving the editor.

AI-generated changes are reviewed with Emacs' built-in ediff interface, and the session runs in either a comint or vterm terminal backend. Model selection supports providers such as OpenAI, Anthropic, DeepSeek, Google Gemini and OpenRouter, and an Architect mode separates reasoning and editing models. Remote files accessed through Tramp are supported.

The package requires Emacs 26.1 or later and a working Aider installation, and it is available through MELPA and NonGNU ELPA.

Key features

  • 01Transient menu for starting sessions and running Aider commands
  • 02Add project files as editable or read-only context
  • 03Review AI-generated changes with Emacs ediff
  • 04Choose between comint and vterm terminal backends
  • 05Architect mode with separate reasoning and editor models
  • 06Remote file editing through Tramp

Use cases

  • Emacs users who want an AI coding assistant without switching to a separate IDE
  • Reviewing AI-proposed code changes file by file with ediff
  • Working on remote servers or containers over Tramp with AI assistance

Quick start

  1. 1

    Install Aider or the community fork Aider Community Experimentation (aider-ce) as a prerequisite

  2. 2

    Install Aidermacs from MELPA or Non-GNU ELPA, or clone it manually

  3. 3

    Add the sample use-package config to your Emacs init.el, setting your API keys and default model

  4. 4

    Open a project and run the Aidermacs transient menu

    M-x aidermacs-transient-menu

Things to know

  • Requires a separate Aider installation and API keys for an AI provider.
  • Runs only inside Emacs, so it is not useful for other editors.

In collections

Topics

#emacs#ai-programming#aider#llm#pair-programming#code-editing#ai#chatgpt#claude#deepseek

FAQ

What is aidermacs?
An Emacs integration for Aider that brings AI pair programming, code edits and chat into Emacs workflows. Aidermacs is an Emacs package that wraps the Aider command-line AI coding tool in Emacs-native interfaces. It lets you start Aider sessions from a transient menu, add project files as editable or read-only context, and send coding, question, test-writing, and debugging requests without leaving the editor.
Is aidermacs free to use? What license does it have?
aidermacs is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is aidermacs still maintained?
Actively maintained. The last commit to aidermacs was on Oct 16, 2026.
What can I use aidermacs for?
Emacs users who want an AI coding assistant without switching to a separate IDE Reviewing AI-proposed code changes file by file with ediff Working on remote servers or containers over Tramp with AI assistance
How do I install aidermacs?
Install Aider or the community fork Aider Community Experimentation (aider-ce) as a prerequisite Install Aidermacs from MELPA or Non-GNU ELPA, or clone it manually Add the sample use-package config to your Emacs init.el, setting your API keys and default model Open a project and run the Aidermacs transient menu: M-x aidermacs-transient-menu
Where can I get aidermacs?
The source code and installation instructions are on GitHub: https://github.com/MatthewZMD/aidermacs

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects