Remix.run Logo
swyx 7 hours ago

> a `.network()` method that turns any agent into a routing agent

say more pls?

calcsam 6 hours ago | parent [-]

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

swyx 5 hours ago | parent [-]

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

calcsam 4 hours ago | parent [-]

ah crap, thanks for heads-up. looking into it.