AIWiki
Malaysia
Back to all articles
Companies & Toolscoding toolspair programmingterminal

Aider

3 min readUpdated October 2026
Aider
Type
AI coding assistant (terminal-based)
Developer
Aider AI (open source)
Licence
Apache 2.0
Written in
Python
Key features
Repo map, automatic git commits, 100+ languages, voice input
Model support
Cloud and local LLMs (Anthropic, OpenAI, DeepSeek, Ollama, OpenRouter, and others)
Related
Cursor, GitHub Copilot, Cline, OpenHands
Aider is an open-source AI pair programming tool that runs in the terminal, letting developers converse with a large language model to edit, create and refactor code directly inside their local git repository. Unlike cloud IDEs, Aider works with whatever files and models the user already has: it maps the codebase for context, applies edits in place, and commits each change to git with a generated commit message.[1][2]

History

Aider was created as a lightweight alternative to browser-based coding assistants, on the premise that developers wanted AI edits inside their existing editor and version-control workflow rather than in a separate web tool. It became one of the earliest open-source terminal coding assistants and is often cited as an inspiration for later tools in the category.[3] Its development tracked the rapid improvement of coding models: early recommendations centred on GPT-4 and Claude 3.5/3.7 Sonnet, with later versions supporting reasoning models such as OpenAI's o-series and DeepSeek R1, plus any OpenAI-compatible endpoint including local runtimes such as Ollama and LM Studio.[1]

Key Concepts

  • Repository map ("repo map"). Aider builds a structural map of the entire codebase and includes the most relevant definitions in each prompt, so edits land correctly even in large projects without pasting files manually.[1][2]
  • Git-native workflow. Every change is committed automatically with a sensible message, making AI edits fully reviewable and undoable with standard git tools — the audit trail is a feature, not an afterthought.[1]
  • Model flexibility. Aider connects to Anthropic, OpenAI, Google, DeepSeek, xAI, Groq, OpenRouter, GitHub Copilot, Azure, Bedrock, Vertex and local models, so users can trade cost against capability per task.[2]
  • Spec-driven loops. Features such as automatic linting and test runs after each edit, voice-to-code, image and web-page context, and watch mode (triggered by comments inside the IDE) let Aider operate as a continuous pair rather than a one-shot generator.[1]

Applications and Impact

Aider is used for feature development, bug fixes, test generation and refactoring from the command line, and is popular in scripted and automated environments where a GUI assistant cannot run. It helped establish terminal-based agentic coding as a mainstream category alongside Claude Code, OpenAI Codex, Cline and OpenHands. Benchmarks published by the project (such as SWE-bench-style evaluations) made repository-level coding performance a marketing battleground for model providers.[1]

>See Also

🇲🇾Malaysian Context

🇲🇾 Relevance to Malaysia: Aider's profile fits Malaysian developer conditions well. It is free and open source — attractive to individual developers, startups and university students who cannot justify per-seat IDE subscriptions — and its model flexibility lets cost-sensitive teams route easy edits to cheap models (DeepSeek, local Qwen runs) and harder ones to premium APIs. Penang and Kuala Lumpur engineering teams with strong git discipline can adopt it incrementally: it layers on top of an existing repository instead of requiring a new platform. Local AI workshops and MDEC-aligned upskilling programmes frequently use terminal-based tools because they teach transferable skills (prompting, model selection, git review) rather than vendor-specific UIs. For firms handling personal data under the Personal Data Protection Act, pairing Aider with a locally hosted model keeps source code and customer context on in-country infrastructure.

References

  1. ↑Aider. Official site and documentation. https://aider.chat/
  2. ↑Terminal Trove. aider — AI pair programming in your terminal. https://terminaltrove.com/aider/
  3. ↑Reddit / r/LocalLLaMA. What is Aider? https://www.reddit.com/r/LocalLLaMA/comments/1izm42j/what_is_aider/