StackMap
Subscribe
Explore / aidermacs
MatthewZMD

aidermacs

Aider woven into Emacs: AI pair programming with intelligent model selection, Ediff for reviewing AI changes, and file management that stays true to Emacs workflows. MELPA-packaged.

915 77 Emacs Lisp Apache-2.0updated yesterday
Curator's take

For the Emacs faithful who won't move to Cursor: Aidermacs integrates Aider the way Emacs users actually want — Ediff for reviewing AI edits (the killer feature; diffs in your muscle-memory tool, not a web panel), buffer-native file management, and the customizability the community expects. Paired with gptel and mcp.el, Emacs is quietly competitive with dedicated AI editors. NOT for anyone outside Emacs — the entire value is workflow fidelity — and it inherits Aider's model: file-scoped pair programming, not autonomous multi-file agents. ~900 stars with an active maintainer; the usual single-package bus factor applies.

Mapped by ShipWithAI editors · links verified
README.md

Aidermacs: AI Pair Programming in Emacs

MELPA MELPA Stable NonGNU-devel ELPA NonGNU ELPA EMACS LICENSE CONTRIBUTORS

Aidermacs brings AI-powered development to Emacs by integrating Aider, one of the most powerful open-source AI pair programming tools. If you're missing Cursor but prefer living in Emacs, Aidermacs provides similar AI capabilities while staying true to Emacs workflows.

Key Features

  • Intelligent model selection with multiple backends
  • Built-in Ediff integration for AI-generated changes
  • Enhanced file management from Emacs
  • Great customizability and flexible ways to add content

Community Speaks

Here's what the community is saying about Aidermacs:

"Are you using aidermacs? For me superior to cursor." - u/berenddeboer

"This is amazing... every time I upgrade my packages I see your new commits. I feel this the authentic aider for emacs" - u/wchmbo

"Between Aidermacs and Gptel it's wild how bleeding edge Emacs is with this stuff. My workplace is exploring MCP registries and even clients that are all the rage (E.g Cursor) lag behind what I can do with mcp.el and gptel for tool use." - u/no_good_names_avail

"This looks amazing... I have been using ellama with local llms, looks like that will work here too. Great stuff!!" - u/lugpocalypse

"Honestly huge fan of this. Thank you for the updates!" - u/ieoa

Quick Start

  1. Requirements
  1. Download Aidermacs through Melpa or Non-GNU Elpa, or clone manually
  2. Modify this sample config and place it in your Emacs init.el:
(use-package aidermacs
  :bind (("C-c a" . aidermacs-transient-menu))
  :config
  ; Set API_KEY in .bashrc, that will automatically picked up by aider or in elisp
  (setenv "ANTHROPIC_API_KEY" "sk-...")
  ; defun my-get-openrouter-api-key yourself elsewhere for security reasons
  (setenv "OPENROUTER_API_KEY" (my-get-openrouter-api-key))
  :custom
  ; See the Configuration section below
  (aidermacs-default-chat-mode 'architect)
  (aidermacs-default-model "sonnet"))
  1. Open a project and run M-x aidermacs-transient-menu or SPC a a (or your chosen binding).
  2. Add files and start coding with AI!

Spacemacs

For Spacemacs users:

  1. Add aidermacs to your dotspacemacs-additional-packages list in your .spacemacs file:
dotspacemacs-additional-packages '(
  (aidermacs :variables
              aidermacs-default-chat-mode 'architect
              aidermacs-default-model "sonnet")
)
  1. Add the keybinding to your dotspacemacs/user-config function in .spacemacs:
(defun dotspacemacs/user-config ()
  ;; Set leader key for Aide

Continue your stack

What teams reach for next — and why each earns a place beside aidermacs. Ranked by curator confidence.