Use Playground with Team

Hello!

I was able to configure a playground server that hosts the backend of my agents and a frontend using AgentUI, and it works like a charm when I try to do it with agents.

However, I’d like to go further and use a Team agent instead of an agent itself with the playground.

Here’s my team:

my_team = Team(
    name="My Awesome Team",
    mode="coordinate",
    model=OpenAIChat(model),
    members=[
        first_agent,
        second_agent
    ],
    show_tool_calls=True,
    markdown=True,
    instructions=[
        ...
    ],
    show_members_responses=True,
    enable_agentic_context=True,
    share_member_interactions=True,
    enable_team_history=True
)

But when I try to do the following, it fails:

app = Playground(agents=[my_team]).get_app()

Error:

AttributeError: 'Team' object has no attribute 'get_tools'

I checked the documentation, and Teams don’t seem to be usable with the UI interface. Am I correct? If that’s the case, would you know if any developments regarding this feature are planned?

Thank you!
Lilian

1 Like

Hi @Lilian
Thanks for reaching out and for using Agno! I’ve looped in the right engineers to help with your question. We usually respond within 48 hours, but if this is urgent, just let us know, and we’ll do our best to prioritize it.
Appreciate your patience—we’ll get back to you soon!

Hey @Lilian Teams support on the Agent UI hasn’t been rolled out yet. I’ll let you know as soon as it is . thanks :raising_hands:

Hello,

Thanks for your answer!