Turn natural language instructions into working code with the AI pair programmer, which edits your codebase directly from the terminal, self-hosted on your VPS.
Aider is an open-source, terminal-based AI pair-programming tool that connects large language models directly to your local Git repository, editing code in place and tracking every change with automatic Git commits. Launched on GitHub, it has rapidly become the go-to coding assistant for developers who want AI help without leaving the command line, with over 40,000 stars and an active community.
Completely free under the Apache 2.0 license, with no SaaS fees, no vendor lock-in, and no hidden charges. Everything in your codebase, Git history, and AI interactions stays within your own infrastructure. From solo developers building side projects to engineering teams prototyping features, Aider transforms how you write, refactor, and understand code, all from your terminal.
A VPS keeps Aider available 24/7, ready to refactor code, write tests, or debug issues even when your laptop is powered down and you're away from your desk.
Guaranteed CPU and memory allocation is essential when running Aider for demanding tasks like large-scale code refactoring or generating extensive test suites without resource contention.
Full root access lets you mount code volumes, configure environment variables for API keys, and run the full-featured image with Playwright for web scraping support.
Aider works best with Claude 3.7 Sonnet, DeepSeek, OpenAI o1, and GPT-4o, but can connect to almost any LLM, including local models served through Ollama or any OpenAI-compatible endpoint.
Every change Aider makes is automatically committed with sensible commit messages, giving you complete safety to diff, branch, review, and undo AI modifications using familiar Git tools.
Aider works with most popular programming languages, Python, JavaScript, Rust, Ruby, Go, C++, PHP, HTML, CSS, and dozens more, making it language agnostic for any codebase.
Add images and web pages to the chat to provide visual context, screenshots, reference documentation, or design specs, Aider uses them to understand your requirements better.
Aider can automatically lint and test your code every time it makes changes, detecting problems and fixing issues detected by your linters and test suites in the same loop.
The dual-model Architect mode uses a planning model to design implementation strategies first, then passes the solution to an editor model that generates precise code edits, ideal for complex tasks.
Aider can analyse large, outdated codebases and suggest targeted refactors, renaming variables, extracting functions, or migrating APIs, with automatic commits for easy rollback.
Point Aider at your source files and let it generate comprehensive unit tests or integration tests, significantly cutting down the time spent on repetitive test writing.
When you encounter an error, describe the bug in plain English, Aider will scan your codebase, locate the likely source, and implement a fix with a descriptive commit message.
New team members can use Aider to ask questions about code organisation, find where specific functionality lives, or generate documentation for undocumented modules — all without bothering senior developers.
Aider can read your existing code and automatically generate or update docstrings, README files, and inline comments, keeping documentation in sync with implementation changes.
Run Aider inside your CI/CD pipelines via the --message flag to automate code formatting, linting fixes, or dependency updates, triggered by every pull request or nightly build.
Aider needs fast, stable access to your Git repo and LLM APIs. Running it on a VPS keeps long refactoring sessions alive and lets your whole team share one persistent assistant. AccuWeb's SSDs make Git operations instantaneous, and dedicated CPU cores keep linting and test loops responsive.
Self-hosting also solves API key exposure; store keys safely on the VPS, not on every developer's laptop. Team members simply SSH into a single hardened instance. With one-click Docker deployment (official paulgauthier/aider-full image) and a 7-day money-back guarantee, you can try it risk-free.
Aider is an AI pair-programming tool that runs in your terminal, connects to a large language model (LLM), and applies chat-driven edits directly to your code files, with Git tracking every change automatically. Unlike chat-based assistants where you manually copy-paste code, Aider works directly on your codebase in place, showing you diffs and generating commit messages for easy review and rollback.
Pull the official paulgauthier/aider or paulgauthier/aider-full Docker image from Docker Hub, map your current directory as a volume, and run the container with your LLM API keys. For the full experience, the -full image includes interactive help, browser GUI, and Playwright support for web scraping, all running inside the container on your VPS.
Aider works best with Claude 3.7 Sonnet, DeepSeek R1 & Chat V3, OpenAI o1, o3-mini, and GPT-4o, but can connect to almost any LLM, including local models served through Ollama, Groq, OpenRouter, Azure, AWS Bedrock, or any OpenAI-compatible endpoint.
Yes. Aider integrates seamlessly with local models running on Ollama or any OpenAI-compatible local server, letting you avoid API costs completely while keeping all code interactions within your VPS.
See our Cookie Policy
We value your input
Want us to follow up with an answer or a custom quote? Drop your email below. Totally optional.