Configure Multiple Build/Release Agents in Single Build Machine–TFS 2015
To configure multiple TFS 2015 new build agents, in single build machine, follow the instructions below. It is recommended to limit the number of agents, in a build machine, to number of CPU cores it has.
Create folder structure for build agents, in the build machine something similar to below.
Download agent.zip from TFS Control panel, Agent pools tab.
Extract agent zip to each agent folder created for build agents.
Create agent working directories for each agent.
Run ConfigureAgent.cmd in each build agent directory and configure build agents.