|Read this slide deck for an overview of the agent architecture|
The agent core (or simply the agent) consists of AgentMain and its supporting classes. The agent wraps the plugin container and provides the plugin container with remote communications functionality back to an RHQ Server.
The agent is highly configurable - its configuration is persisted via Java Preferences and survives re-installs and upgrades (thanks to the Agent Upgrader).
The default configuration is found in the agent's conf directory in the Java Preferences XML file agent-configuration.xml
If you need to add/remove/modify the configuration preferences, see Design-NewAgentConfig for some things you will need to do.