Designing Ecosystems of Intelligence from First Principles