Hello Amit,
If you have the agent's userID, you could look into if there is an API call to check on their login sessions.
https://developer.genesys.cloud/devapps/api-explorer-standalone
If the agents are logging into two different organizations, they will have different userIDs.
------------------------------
Jason Kleitz
Genesys - Employees
------------------------------