MatthewZMD/aidermacs
AI Pair Programming in Emacs with Aider
What it solves
Aidermacs integrates the Aider AI pair programming tool directly into Emacs. It provides a way for Emacs users to access powerful AI-driven code editing and reasoning capabilities—similar to those found in dedicated AI editors like Cursor—without leaving their preferred editor and workflow.
How it works
Aidermacs acts as a wrapper and interface for the Aider CLI. It uses a transient menu system (similar to Magit) to allow users to manage AI sessions, select models, and control which files are added to the AI's context. It supports multiple terminal backends (comint or vterm) and integrates with Emacs features like Ediff for reviewing changes and Tramp for working with remote files.
Who it’s for
Emacs users who want AI pair programming capabilities integrated into their development environment, particularly those who prefer the flexibility of Emacs over standalone AI-focused IDEs.
Highlights
- Transient Menu Interface: A Magit-like menu for managing sessions, files, and AI commands.
- Architect Mode: Supports a dual-model approach using a specialized Architect model for reasoning and an Editor model for code generation.
- Dynamic Model Selection: Automatically detects and integrates models from providers like OpenAI, Anthropic, DeepSeek, and Google Gemini.
- Ediff Integration: Built-in support for reviewing AI-generated changes via Emacs' Ediff interface.
- Remote Support: Full compatibility with Tramp for AI-powered editing of remote files.
- File Watching: Ability to trigger AI actions via specific comments (e.g.,
AI!) directly in the source code (vterm mode only).
Related
- Project
- Project
- Dispatch
- Project
- Project