In reply to shekher201778:
You want at least two: an active master agent and a passive slave agent. You might want more depending on the environment your DUT gets used. (i.e. will there be multiple masters and slaves on your bus) and whether your testing includes requirements for those situations.