The short answer
What happens to agents when a brokerage sells is up to the agents. They aren’t transferred like furniture. Each one decides whether to stay with the new owner. A well-run sale keeps their splits, support and leadership steady through the transition and tells them at the right moment. Because agents can leave, buyers price that risk into the deal.