from agno.agent.agent import Agentfrom agno.models.openai import OpenAIChatfrom agno.os.app import AgentOSfrom agno.os.interfaces.agui.agui import AGUIfrom agno.team import Teamresearcher = Agent( name="researcher", role="Research Assistant", model=OpenAIChat(id="gpt-5-mini"), instructions="You are a research assistant. Find information and provide detailed analysis.", markdown=True,)writer = Agent( name="writer", role="Content Writer", model=OpenAIChat(id="gpt-5-mini"), instructions="You are a content writer. Create well-structured content based on research.", markdown=True,)research_team = Team( members=[researcher, writer], name="research_team", instructions=""" You are a research team that helps users with research and content creation. First, use the researcher to gather information, then use the writer to create content. """, show_members_responses=True, get_member_information_tool=True, add_member_tools_to_context=True,)# Setup our AgentOS appagent_os = AgentOS( teams=[research_team], interfaces=[AGUI(team=research_team)],)app = agent_os.get_app()if __name__ == "__main__": """Run our AgentOS. You can see the configuration and available apps at: http://localhost:7777/config """ agent_os.serve(app="research_team:app", reload=True)