# Pre-requisites

{% hint style="success" %}
This is the official documentation of the `forestadmin-agent-django` and `forestadmin-agent-flask` Python agents.
{% endhint %}

### Role system

{% hint style="warning" %}
Not completing this step will prevent you from upgrading to the latest version of the agent.
{% endhint %}

The Forest Admin role system got a complete overhaul in February 2021.

If your project was created before that date, you will need to migrate your role system to the new one before you can upgrade to the latest version of the agent.

A [migration guide](https://docs.forestadmin.com/documentation/extra-help/maintain/migrate-to-the-new-role-system) is available in the documentation of the legacy agents.


---

# Agent Instructions: 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:

```
GET https://docs.forestadmin.com/developer-guide-agents-python/getting-started/migrating/pre-requisites.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
