# Agent

{% hint style="info" %}
Platform and agents can be upgraded separately.

A new platform is compatible with old and new agent versions, ensuring smooth operation both ways.
{% endhint %}

## Download File

| Date       | Latest available agent version |                                                                      |
| ---------- | ------------------------------ | -------------------------------------------------------------------- |
| 2026-05-22 | **3.9.2**                      | [Release Notes](/manual/implementation/agent-usage/release-notes.md) |

*The file size is approximately 35 MB.*

Download the latest version corresponding to your OS version

* [RedHat/Rocky linux/AlmaLinux 9](https://app.datasentinel.io/ds-api/download/datasentinel-agent-rhel9-latest.tar.gz)
* [RedHat/Rocky linux/AlmaLinux 8](https://app.datasentinel.io/ds-api/download/datasentinel-agent-rhel8-latest.tar.gz)
* [RedHat/Centos 7](https://app.datasentinel.io/ds-api/download/datasentinel-agent-rhel7-latest.tar.gz)
* [Debian Bullseye](https://app.datasentinel.io/ds-api/download/datasentinel-agent-debian-buster-latest.tar.gz)

## Agent Upgrade

Actions

* Stop the agent
* Remove the old directory
* Uncompress the new version
* Restart the agent

Example

```bash
cd <<PARENT_DIRECTORY>>
alias datasentinel='DATASENTINEL_PATH=`pwd`/datasentinel; $DATASENTINEL_PATH/datasentinel'
datasentinel stop agent
rm -fr datasentinel/
tar xvzf /tmp/datasentinel-agent-rhel9-latest.tar.gz
datasentinel start agent
datasentinel status agent
```

{% hint style="info" %}
The current configuration is kept.

The agent stores its configuration on the hidden directory `.datasentinel` located in the user’s home directory
{% endhint %}


---

# 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.datasentinel.io/manual/implementation/upgrade/agent.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.
