multi-agent-research¶
A 3-agent team — lead triages, researcher digs, writer produces prose.
Uses the team topology kind so workers route through the lead.
What this shows¶
reyn agent newto provision named agents with role prompts.reyn topology new --kind teamto constrain who can talk to whom.- The expected delegation chain when the lead receives a request that needs both research and drafting.
Topology¶
team kind permits leader↔member edges only. researcher and writer
cannot talk directly — they go through lead.
Setup¶
reyn agent new lead --role "team lead. Triage requests; delegate research to researcher and drafting to writer; synthesize a final answer."
reyn agent new researcher --role "deep technical research. Cite primary sources. No prose polish."
reyn agent new writer --role "concise prose. Strict word budgets. No headings unless asked."
reyn topology new launch --kind team \
--leader lead \
--members lead,researcher,writer
Inspect:
Expected (4 permitted edges, all leader↔member):
Run¶
Expected delegation chain¶
leadreceives the request, classifies it as research+writing.leademitsmessages_to_agents→researcher(gather facts).researcherreturns findings tolead.leademitsmessages_to_agents→writer(draft to 200 words, here are facts).writerreturns prose tolead.leadsynthesizes and replies to the user.
User sees an interim "(working on it)" then the final 200-word summary.
Files in this example¶
setup.sh— the three commands above as a runnable script.topology.expected.txt— samplereyn topology show launchoutput.transcript.example.txt— sketch of the chat session.