This thesis proposes the cognitive ensemble reference architecture. Cognitive Systems attempt to map human thought processes onto technical information systems. Achieving this for coordinated device ensembles is hereby considered a particular challenge. Based on a specification of (software) components and a coordination metaphor utilizing live, semantic annotations, this reference architecture represents a template for the implementation of cognitive behaviors in ensembles compriesed of heterogeneous, networked computing devices. (...)