As an introvert who works in an office (and works remote in binges), just being in the vicinity of people is good for overall mental health. You don't have to interact with people to be energized by them (all the better, of course if you do). Like walking down a busy city block, energy can be absorbed by just being near people.
Open plan workspaces tend to get a bad rap on HN. My challenge to developers here is to stop relying on the headphones to block out noise to focus. It can be done. You don't need to be in a "monastery" to work well.