simplify relatedAgent schema

update demo doc, create an example with related agent instances