Team Agent – Include Agent Name in Response?

Hi Agno Team,

We are using:

  • UI packages:

    @copilotkit/react-core@1.9.3
    @copilotkit/react-ui@1.9.3
    @copilotkit/runtime@1.9.3
    @ag-ui/agno@0.0.2
    
    
  • Backend packages:

    agno@2.0.8
    ag-ui-protocol>=0.1.8
    agno>=1.7.8
    
    

When using a team agent, the backend executes successfully, but the UI can encounter UNKNOWN_ERROR if CopilotKit expects a registered agent name. A similar issue is discussed here: CopilotKit #2238.

Can a team agent include which actual agent handled the query in the response (e.g., as agentName), so the UI can track or display it correctly? This would help avoid the cleared response issue and make team agent usage clearer.

Thanks!

Hey @cjoshna, thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon.If it’s urgent, please let us know. We appreciate your patience!

Hey @cjoshna ! Thanks for flagging this. We’ll add it soon