> For the complete documentation index, see [llms.txt](https://kb.mago.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.mago.io/mago-stage/admin-portal/mago-remote-agent/view-edit-and-share-an-agent.md). Agents can also search and read this documentation through its [MCP server](https://kb.mago.io/~gitbook/mcp).

# View, edit, and share an Agent

Open an Agent to review its device information, change its administrative details, and control which users can access it.

### Open an Agent

1. In the Administration Portal, select **Agents**.
2. Find the required Agent.
3. Select its row or card.
4. Select **Device info**.

### Review Agent information

The **Device info** page can show:

* Agent name
* Operating system or platform
* Agent version
* Online or offline status
* Last-seen date and time
* Assigned tags
* Users with whom the Agent is shared

The available information depends on what the Agent reports to the portal.

An offline Agent remains registered, but it cannot receive live commands or accept remote connections until it reconnects.

<figure><img src="https://2978719120-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2FbpP2hYI1Myy7hMs_%2Fuploads%2Ff5ML8JKw1FuGSk9mopIw%2Fimage.png?alt=media&amp;token=e7634643-9b73-492d-b8e0-8afeecc75fc5" alt=""><figcaption></figcaption></figure>

### Edit an Agent

1. Open the Agent.
2. Select **Edit**.
3. Change the Agent name or assigned tags.
4. Select **Save Changes**.

Use a name that identifies the Agent’s location, computer, or purpose.

Changing tags can affect tag-based assignments. Review the applicable assignments before changing tags on a production Agent.

### Share an Agent

Sharing gives selected users access to a sensitive remote-control resource.

1. Open the Agent.
2. Under **Sharing**, open the user selector.
3. Select one or more users.
4. Select **Share**.
5. Confirm that the users appear in the sharing list.

<figure><img src="https://2978719120-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2FbpP2hYI1Myy7hMs_%2Fuploads%2FrsPcg82zxkj8i9o6ICOK%2Fimage.png?alt=media&amp;token=1d600997-f7cc-47a3-aa02-76bb812cb1eb" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Share an Agent only with users who require remote access to that computer. Follow your organization’s least-privilege and security policies.
{% endhint %}

### Remove a user’s access

1. Open the Agent.
2. Find the user under **Sharing**.
3. Select the remove-share action beside the user.
4. Confirm the change if prompted.
5. Verify that the user no longer appears in the sharing list.

Removing access does not delete the user’s Mago Stage account.

### Review shared access

Review Agent sharing regularly and remove access when:

* A user changes responsibilities.
* Temporary support access is no longer required.
* A user leaves the organization.
* The Agent is moved to a different location or purpose.
* The computer begins handling more sensitive information.

Administrative changes and remote sessions may appear in audit or session history.
