I have 4 sub agents which are attached to a main agent . each sub agent has multiple tools. main agents is coordinator and helps users using sub agents and sub agents uses tools and provides answers to main agent.
When a main agent calls sub-agents (through agent as tools), the sub-agent's tool invocations are not automatically bubbled up to the main agent's streaming callbacks.
When you test sub-agents individually, I can see their tool invocations. i have mcp server for all sub agents as well.
My question is it possible to stream sub agents tool invoking in main agent's streaming callbacks? please help.