Examples
- Examples
- Getting Started
- Agents
- Teams
- Workflows
- Applications
- FastAPI
- WhatsApp
- Slack
- Playground
- AG-UI
- Streamlit Apps
- Evals
Agent Concepts
- Reasoning
- Multimodal
- RAG
- User Control Flows
- Knowledge
- Memory
- Async
- Hybrid Search
- Storage
- Tools
- Vector Databases
- Context
- Embedders
- Agent State
- Observability
- Miscellaneous
Models
- Anthropic
- AWS Bedrock
- AWS Bedrock Claude
- Azure AI Foundry
- Azure OpenAI
- Cerebras
- Cerebras OpenAI
- Cohere
- DeepInfra
- DeepSeek
- Fireworks
- Gemini
- Groq
- Hugging Face
- IBM
- LM Studio
- LiteLLM
- LiteLLM OpenAI
- Meta
- Mistral
- NVIDIA
- Ollama
- OpenAI
- Perplexity
- Together
- XAI
- Vercel
AG-UI
Research Team
Expose your Agno Team as a AG-UI compatible app
Code
cookbook/apps/agui/research_team.py
from agno.agent.agent import Agent
from agno.app.agui.app import AGUIApp
from agno.models.openai import OpenAIChat
from agno.team.team import Team
researcher = Agent(
name="researcher",
role="Research Assistant",
model=OpenAIChat(id="gpt-4o"),
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-4o"),
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_tool_calls=True,
show_members_responses=True,
get_member_information_tool=True,
add_member_tools_to_system_message=True,
)
agui_app = AGUIApp(
team=research_team,
name="Research Team AG-UI",
app_id="research_team_agui",
description="A research team that demonstrates AG-UI protocol integration.",
)
app = agui_app.get_app()
if __name__ == "__main__":
agui_app.serve(app="research_team:app", port=8000, reload=True)
You can see instructions on how to setup an AG-UI compatible front-end to use this with in the AG-UI App page.
Was this page helpful?
On this page
Assistant
Responses are generated using AI and may contain mistakes.