I'm a bit late to the party...
A.J. Hamler
...but can't resist the opportunity to talk about the birdies.
In North America, most typical cavity-nesters (birds that use birdhouses) are on the territorial side. Depends on species, but some will tolerate houses close together, some won't. Some -- I'm looking at you, house sparrows and starlings -- just don't seem to care one way or the other.
But there are a number of birds in N.A. that will nest together in communal broods. Most of these are coastal birds, which you see flocking together all the time. There are some other species here and there that will also do so. But as far as typical "backyard" birds go, you'll mostly see swallow species living communally. Among these, the most common by far is the purple martin.
You can build martin houses as "duplexes" as suggested up-topic, or as condos with literally any number of units. The only things you need to keep in mind if building house for martins is interior size and hole size they prefer. For martins, a floor size if 6"x6" and with a ceiling height of 6" is perfect. Purple martins like a large entry hole measuring anywhere from 1-3/4" to 2-1/4" in diameter, and like that hole to be fairly low on the box, say around 1"-2" above the floor.
I did a project for a modular version of a purple martin house a few years ago in one of my books, with each house a separate nest box that could be arranged and mounted any way you wanted.
You could do as few as two, or make a unit with a couple dozen.
Hope this helps.
A.J.
