In reply to A_123:
Yes. It is very common to create an agent that can act as both a master or slave depending on how it is configured.