---
title: "Usercube-Agent"
description: "Learn how to run the Usercube Agent on a separate server instance, set the required --urls argument, and check the startup log for listening URLs."
sidebar_position: 10
---

# Usercube-Agent

This tool runs the Agent on a separate server instance. The Agent can communicate with the [Usercube-Server ](./server.md).

## Examples

With a properly configured environment, the following command runs the agent. It listens on two different ports:

```shell
./Usercube-Agent.exe --urls "http://localhost:6001;http://localhost:6002"
```

When the Agent starts, the following log should be displayed (if the log level is set to _Information_):

```json
[xx:xx:xx INF] Now listening on: http://localhost:6001
[xx:xx:xx INF] Now listening on: http://localhost:6002
```

## Arguments

 | Argument Name | Details | 
 | --- | --- | 
 | --urls required | **Type** String **Description** URL(s) that the agent is listening to. | 

