> For the complete documentation index, see [llms.txt](https://agpt.co/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://agpt.co/docs/contribute/index.md).

# Contributing to the Docs

We welcome contributions to our documentation! If you would like to contribute, please follow the steps below.

## Setting up the Docs

1. Clone the repository:

   ```shell
   git clone github.com/Significant-Gravitas/AutoGPT.git
   ```
2. Install the dependencies:

   ```shell
   python -m pip install -r docs/requirements.txt
   ```

   or

   ```shell
   python3 -m pip install -r docs/requirements.txt
   ```
3. Start iterating using mkdocs' live server:

   ```shell
   mkdocs serve
   ```
4. Open your browser and navigate to `http://127.0.0.1:8000`.
5. The server will automatically reload the docs when you save your changes.

## Adding a new page

1. Create a new markdown file in the `docs/content` directory.
2. Add the new page to the `nav` section in the `mkdocs.yml` file.
3. Add the content to the new markdown file.
4. Run `mkdocs serve` to see your changes.

## Checking links

To check for broken links in the documentation, run `mkdocs build` and look for warnings in the console output.

## Submitting a Pull Request

When you're ready to submit your changes, please create a pull request. We will review your changes and merge them if they are appropriate.


---

# 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://agpt.co/docs/contribute/index.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.
