logoalt Hacker News

calcsamyesterday at 11:42 PM1 replyview on HN

We've always supported letting folks specify their agent hierarchy, eg agent supervisor, workflow orchestrator, mix and match, etc.

But people kept asking us for a multi-agent primitive out of the box so we shipped `agent.network()`, which is basically dynamic hierarchy decided at runtime, pass in an array of workflows and agents to the routing agent and let it decide what to do, how long to execute for, etc!

https://mastra.ai/docs/agents/networks


Replies

swyxtoday at 12:44 AM

ty! btw your docs search is broken, as i tweeted to Ward.

show 1 reply