This paper deals with a computer-aided distributed design system based on hypergraph grammars and cooperating agents. Hypergraph grammars are used to generate structures of designs in the form of specific graphs allowing for expressing multiargument relations among structure components. Agents perform actions defined by hypergraph grammars. The communication between the system of hypergraph grammars and agents is realized through a set of variables assigned to grammars and activating intelligent agents which simultaneously solve different design subtasks. During the design process solutions generated by agents are evaluated and on this basis the grammar system is modified. The approach is illustrated on the example of designing hotel grounds.