# Restart and delete agents

Here you can find all the necessary information about adding (or deleting) nodes to your computational Cluster.

With the Supervisely Agent it is easy and straightforward to add new nodes to the Cluster.

{% hint style="info" %}
We only run the tasks that you have explicitly started yourself on your agents. We will never use your nodes for benefit of others.
{% endhint %}

### System requirements

First, make sure that the computer you want to use in Supervisely meets the following requirements:

* Linux OS (Kernel 3.10)
* Docker (Version 18.0)
* GPU (CUDA 9.0) - for training and inference tasks
* Nvidia-docker - for training and inference tasks

### Installation

#### Video Guide

To connect the agent you can follow the steps as they described in the following video guide:

{% embed url="https://github.com/supervisely/docs/assets/48245050/832ae03d-58d4-4abb-9e8c-307ca8f4b072" %}

#### Installation Instructions

We have detailed instructions on how to connect an agent, you can see it [here](connect-your-computer)

### Restarting and updating the agent

There are a few scenarios when you will need to restart an Agent: to update to the latest version or to apply your custom changes. The restart process is simple.

![](https://1080806899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4BHwRbuyIoH-xoF3Gv%2Fuploads%2Fgit-blob-9b7dbe17f2972af7c682b877cbc08fb93a61bd86%2Fagent_instr_a.png?alt=media)

Just click the "three dots" icon in the nodes list and select "Instructions". Copy the command from the instructions and run it in the terminal on the Agent's computer (host). The updated version will be automatically pulled from the Docker registry.

{% hint style="warning" %}
Restarting agent will stop all running tasks
{% endhint %}

### Disable agent

To remove the node from Supervisely simply click on the "three dots" icon in the nodes list and select "Archive". You data will stay safe and you can recover you node later by selecting the "Recover" option.

![](https://1080806899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4BHwRbuyIoH-xoF3Gv%2Fuploads%2Fgit-blob-5abd1b87284bb4a7e57f1ae43fe3ac9454776ac8%2Fagent_dis_a.png?alt=media)

### Stop agent(s)

If you need to stop your agent(s), you can safely do it by running the `docker stop $(docker ps -q -f "name=supervisely-agent")` command in your terminal. You can always bring it back by running `docker start $(docker ps -q -f "name=supervisely-agent")` command. The agent will re-connect to Supervisely and you will be able to continue your work.

### Remove agent(s)

To completely remove agent(s) from your machine run `docker rm -fv $(docker ps -q -f "name=supervisely-agent")` in your terminal and delete directory `~/.supervisely-agent/<token>`
