Agent is a service that is running in a web server or ATG server and it takes care of the deployment in that server.
Please refer to the below link to get the basics of the target site.
And this link for more specifics about agent.
Hope this helps.
Keep posting the questions / updates.