From Capability Specifications to Code for Multi-Agent Software