# Configuring Agents

Agents support the following resource types:

* [Cybus::Connection](https://docs.cybus.io/2-0-6/documentation/services/service-commissioning-files/resources/cybus-connection)
* [Cybus::Endpoint](https://docs.cybus.io/2-0-6/documentation/services/service-commissioning-files/resources/cybus-endpoint)
* [Cybus::Mapping](https://docs.cybus.io/2-0-6/documentation/services/service-commissioning-files/resources/cybus-mapping)

The endpoint resource can also use the `rules` property to enable data manipulation and pre-processing on the edge, using the [Rule Engine](https://docs.cybus.io/2-0-6/documentation/services/rule-engine) for edge processing.

To deploy these resources on an agent, set the `agentName` property for each connection in the service commissioning file. All endpoint resources that rely on that connection will automatically run on the same agent, without needing additional configuration.

{% hint style="danger" %}
The value of the `agentName` property (for `Cybus::Connection` resources) must exactly match the `CYBUS_AGENT_NAME` environment variable value used during agent startup.
{% endhint %}
