Update README.md
Browse files
README.md
CHANGED
|
@@ -11,4 +11,100 @@ license: mit
|
|
| 11 |
short_description: An autonomous Agentic AI system with Tavily web search
|
| 12 |
---
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 11 |
short_description: An autonomous Agentic AI system with Tavily web search
|
| 12 |
---
|
| 13 |
|
| 14 |
+
|
| 15 |
+
# π€ Multi-Agent Research Assistant
|
| 16 |
+
|
| 17 |
+
[](https://huggingface.co/spaces/GhufranAI/Multi_Agent_Research_Assistant_with_Tavily)
|
| 18 |
+
[]()
|
| 19 |
+
|
| 20 |
+
## π Overview
|
| 21 |
+
This project implements a production-ready Agentic AI system featuring four specialized agents that collaborate to conduct research, analyze information, and generate high-quality reports. The system autonomously selects the appropriate tools (web search, calculator, knowledge base) based on query context, demonstrating true agentic behavior.
|
| 22 |
+
|
| 23 |
+
## β¨ Features
|
| 24 |
+
- π§ Agentic AI Architecture: Autonomous decision-making with dynamic tool selection
|
| 25 |
+
- π€ Multi-Agent Collaboration: Four specialized agents working in concert
|
| 26 |
+
- π Iterative Refinement: Self-improving through critic feedback loops
|
| 27 |
+
- π Intelligent Search: AI-optimized web search with Tavily + internal knowledge base
|
| 28 |
+
- π¨ Professional UI: Clean, modern Streamlit interface with real-time visualization
|
| 29 |
+
- π Source Attribution: Full transparency with citations and confidence scores
|
| 30 |
+
|
| 31 |
+
## π Live Demo
|
| 32 |
+
Try it here: [https://huggingface.co/spaces/GhufranAI/Multi_Agent_Research_Assistant_with_Tavily]
|
| 33 |
+
|
| 34 |
+
## π οΈ Tech Stack
|
| 35 |
+
- **LangGraph** - Agentic workflow orchestration
|
| 36 |
+
- **Tavily** - AI-optimized search API
|
| 37 |
+
- **Llama 3.1 8B** - Language model
|
| 38 |
+
- **Streamlit** - Web interface
|
| 39 |
+
- **Pydantic** - Data validation
|
| 40 |
+
|
| 41 |
+
## π Architecture
|
| 42 |
+
- **Agent Responsibilities**
|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
**π Researcher Agent**
|
| 49 |
+
|
| 50 |
+
- **Role**: Information gathering & tool orchestration
|
| 51 |
+
- **Tools**: Web search (Tavily), Calculator, Knowledge base
|
| 52 |
+
- **Decision Making**: Analyzes query to select optimal tool
|
| 53 |
+
|
| 54 |
+
- "latest news" β Web search
|
| 55 |
+
- "calculate 25*4" β Calculator
|
| 56 |
+
- "explain AI" β Knowledge base
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
- **Output**: Raw information with source attribution
|
| 60 |
+
|
| 61 |
+
**π Analyst Agent**
|
| 62 |
+
|
| 63 |
+
- **Role**: Extract insights from research findings
|
| 64 |
+
- **Capabilities**: Pattern recognition, theme identification
|
| 65 |
+
- **Output**: Key points and implications
|
| 66 |
+
|
| 67 |
+
**βοΈ Writer Agent**
|
| 68 |
+
|
| 69 |
+
- **Role**: Synthesize research into professional report
|
| 70 |
+
- **Format**: Executive summary + findings + implications + sources
|
| 71 |
+
- **Output**: Structured, citation-rich report
|
| 72 |
+
|
| 73 |
+
**π― Critic Agent**
|
| 74 |
+
|
| 75 |
+
- **Role**: Quality assurance & improvement trigger
|
| 76 |
+
- **Evaluation**: Scores report on completeness, clarity, sourcing
|
| 77 |
+
- **Decision**: Approve (β₯8/10) or request revision
|
| 78 |
+
- **Output**: Quality score + feedback
|
| 79 |
+
|
| 80 |
+
## π― Use Cases
|
| 81 |
+
- Research current events
|
| 82 |
+
- Answer complex questions
|
| 83 |
+
- Perform calculations
|
| 84 |
+
- Generate comprehensive reports
|
| 85 |
+
|
| 86 |
+
## πΈ Screenshots
|
| 87 |
+
[<img width="1917" height="997" alt="Screenshot 2025-12-21 210704" src="https://github.com/user-attachments/assets/ad4e8ea1-ed65-4200-a480-907643668c08" />
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
<img width="1904" height="1029" alt="Screenshot 2025-12-21 213004" src="https://github.com/user-attachments/assets/e6c5f459-791b-4a01-94f0-8de0a8cd7747" />
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
<img width="1828" height="1029" alt="Screenshot 2025-12-21 213035" src="https://github.com/user-attachments/assets/670bddc6-c635-4cce-893b-40328eb35cf3" />
|
| 95 |
+
]
|
| 96 |
+
|
| 97 |
+
## π» Local Setup
|
| 98 |
+
```bash
|
| 99 |
+
pip install -r requirements.txt
|
| 100 |
+
streamlit run app.py
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
## π API Keys
|
| 104 |
+
- Hugging Face: https://huggingface.co/settings/tokens (FREE)
|
| 105 |
+
- Tavily: https://tavily.com/ (1,000 searches/month free)
|
| 106 |
+
|
| 107 |
+
## π License
|
| 108 |
+
MIT
|
| 109 |
+
|
| 110 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|