There are many ways to automate the deployment of agents, but that really is a broad question to respond to well.
To begin with there is a whole section in the ePO Product guide on the topic that would be worth your review.
You can download/view the product guide for free from the McAfee Service portal:
Maby this video can help you: "https://www.youtube.com/watch?v=RfxL2846t4U" (its ePo 4.0 but still dont change a lot from new one).
When you deploy it, you have option to make it automatic and more.