A Streamlit app that blends agent teamwork with agent-enabled routing and fallback, built entirely on AG2.
Sign in to save downloads to your library and vote.
Preview
AG2 Adaptive Research Team
A Streamlit app that blends agent teamwork with agent-enabled routing and fallback, built entirely on AG2.
What This Shows
- Agent teamwork: explicit roles and sequential handoffs
- Agent-enabled routing: a clear decision step with local-doc vs web fallback
- AG2-first implementation: no Microsoft AutoGen dependency; installs via
ag2[openai]
Features
- Local document upload (PDF, TXT, MD)
- Routing decision based on document coverage
- Optional web fallback via SearxNG
- Verifier step to check evidence sufficiency
- Final synthesis with citations
How To Run
- Install dependencies:
pip install -r requirements.txt
- Run the app:
streamlit run app.py
- Provide your OpenAI API key in the sidebar and ask a question.
How It Works
- Triage Agent decides whether the question should be answered from local docs or the web.
- Local/Web Research Agent collects evidence.
- Verifier Agent checks evidence strength.
- Synthesizer Agent produces the final answer with citations.
Optional Add-ons (AG2 0.11)
- AG-UI protocol integration for richer UI rendering
- OpenTelemetry tracing for debugging multi-agent workflows
These are optional and not required to run this example.
Notes
- Default model used is
gpt-5-nano. You can change it in the sidebar before running a query. - Web fallback uses the SearxNG public instance at
https://searxng.site/search. This instance may be rate-limited.
Ingestion metadata
- Source catalog
- awesome-llm-apps
- Repository
- Shubhamsaboo/awesome-llm-apps · main
- File path
- advanced_ai_agents/multi_agent_apps/agent_teams/ag2_adaptive_research_team/README.md
- Last refreshed
- 7/23/2026, 10:39:07 PM (4h ago)
- Refresh schedule
- Daily · 03:00 UTC
- Dedupe status
- Unique · deduped by (source, url)