> For the complete documentation index, see [llms.txt](https://metaverse-imagen.gitbook.io/ai-tools-research/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://metaverse-imagen.gitbook.io/ai-tools-research/ai-tools-main-categories/programming-and-code/code-generators/aider.md).

# AIDER

## AIDER Coding Assistant lets you code with prompts Better than GPT Engineer?

AIDER Coding Assistant is a command-line chat tool that lets you write and edit code with prompts. You can ask GPT to help you start a new project, or modify code in your existing git repo. Aider makes it easy to git commit, diff & undo changes proposed by GPT without copy/pasting.

Here are some examples of how you can use AIDER Coding Assistant:

* To start a new project, you can ask GPT to generate a skeleton of code for you. For example, you could say "GPT, generate a Python script that prints 'Hello, world!'"
* To modify existing code, you can ask GPT to make specific changes to the code. For example, you could say "GPT, add a 'for loop' to this code" or "GPT, change this variable name to 'my\_variable'"
* To get help with a coding problem, you can ask GPT for suggestions. For example, you could say "GPT, I'm stuck on this function, can you help me?"

AIDER Coding Assistant is still under development, but it has the potential to be a powerful tool for developers of all levels. It can help you save time, improve your code, and learn new things.

Here are some of the features of AIDER Coding Assistant:

* It uses GPT-4, a large language model from OpenAI, to generate code.
* It can work with both new and existing projects.
* It integrates with git, so you can easily commit your changes.
* It can understand and modify large codebases.
* It is still under development, but it has the potential to be a powerful tool for developers of all levels.

If you are interested in trying AIDER Coding Assistant, you can find it on GitHub. It is free to use, but you will need to have Python 3.8 or higher installed.

{% embed url="<https://github.com/paul-gauthier/aider>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://metaverse-imagen.gitbook.io/ai-tools-research/ai-tools-main-categories/programming-and-code/code-generators/aider.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
