# Query with Agents

You can query with an agent by using the `AgentGetResults` action. For details on this action, refer to the IDOL Server Reference.

NOTE: When you match an agent against the IDOL Content component databases, all the agent terms are internally postfixed with a tilde (~) to indicate that the terms are stemmed and must not be stemmed again.

For example:

    http://12.3.4.56:4000/action=AgentGetResults&UserName=Administrator&AgentName=Global+Warming&DREDatabaseMatch=News,Archive

This action uses port `4000` to request the results of the `Global Warming` agent for the `Administrator` user from the IDOL Community component, which is located on a machine with the IP address `12.3.4.56`.

It matches the `Global Warming` agent against the IDOL Content component `News` and `Archive` databases.

_FT_HTML5_bannerTitle.htm