Agent Network's Agent Client Tool Call
Hey! I have a scenario, where I wanna be chatting to an agent which uses a certain model. But then i want another agent with another model to call tools, but keep the main conversation on the first agent. At first I thought to call a tool that calls that agent, but then I thought that a Network Agent would be great in this case, maybe there is a better way, if so I'm happy to hear it. However if an Agent Network is the way, and even if it's not, I have a few questions/suggestions about this.
1. Can we stream the tool call of the internal agents to the useChat client? So that the internal agents can call client tools and not only server tools?
2. Will Networks support memory and other stuff that normal agents support?
To me, and these are just suggestions based on my personal usage of Mastra, a network would be amazing if we expose the main agent props such as memory and other stuff, as in this way it really is an agent that calls agents, like a router. Then just as with workflows I think that since Mastra is built with ai-sdk as a base, everything should be compatible with the useChat hook, agents, networks and workflows. I can acknowledge that as ai-sdk is mainly focused on chatting with models, maybe for workflows and networks is not as straightforward as with agents.
I know the Networks are still Experimental, so don't expect this to be implemented any time soon, if at all. But just curious (and excited) on where it's headed and what is to come, as well as giving ideas.
1. Can we stream the tool call of the internal agents to the useChat client? So that the internal agents can call client tools and not only server tools?
2. Will Networks support memory and other stuff that normal agents support?
To me, and these are just suggestions based on my personal usage of Mastra, a network would be amazing if we expose the main agent props such as memory and other stuff, as in this way it really is an agent that calls agents, like a router. Then just as with workflows I think that since Mastra is built with ai-sdk as a base, everything should be compatible with the useChat hook, agents, networks and workflows. I can acknowledge that as ai-sdk is mainly focused on chatting with models, maybe for workflows and networks is not as straightforward as with agents.
I know the Networks are still Experimental, so don't expect this to be implemented any time soon, if at all. But just curious (and excited) on where it's headed and what is to come, as well as giving ideas.