How to decide number of agents?

In reply to shekher201778:

You have to invetsigate the pinlevel interfaces of your DUT. All independent interfaces need a seperate agent. This does not say anything about active/passive or master/slave.
If your DUT behaves as slave your interface is a master interface. If you have an interface which issues only data (maybe depending on register configurations) you need a passive interface only.