File size: 1,740 Bytes
52e9d16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
title: Autonomous Research Agent
emoji: πŸ€–
colorFrom: blue
colorTo: purple
sdk: streamlit
sdk_version: 1.49.1
app_file: main.py
pinned: false
license: mit
---

# Autonomous Research Agent πŸ€–

An intelligent research assistant that autonomously searches the web, evaluates sources, and compiles comprehensive research reports using LangGraph and Groq.

## Features

- πŸ” **Autonomous Web Search** - Uses Tavily AI to find relevant articles
- 🧠 **Smart Evaluation** - LLM-powered relevance filtering
- πŸ“ **Automatic Summarization** - Extracts key insights from sources
- πŸ“Š **Report Compilation** - Synthesizes findings into cohesive reports
- πŸ”„ **Stateful Architecture** - Uses LangGraph for complex agentic workflows
- ⚑ **High-Speed Inference** - Powered by Groq's LPU (Llama 3.3 70B)

## How to Use

1. Enter a research topic in the chat input
2. Watch the agent autonomously:
   - Search for relevant articles
   - Scrape and evaluate content
   - Summarize useful information
   - Compile a comprehensive report
3. Review your personalized research report!

## Configuration

This Space requires two API keys to function (set in Settings β†’ Repository Secrets):

- `GROQ_API_KEY` - Get from [console.groq.com](https://console.groq.com/)
- `TAVILY_API_KEY` - Get from [tavily.com](https://tavily.com/)

## Technology Stack

- **LangGraph** - Stateful agent orchestration
- **Groq (Llama 3.3 70B)** - High-speed LLM inference
- **Tavily AI** - AI-optimized search
- **Streamlit** - Interactive UI
- **SQLite** - Persistent checkpointing

## Source Code

Full source code available at: [GitHub Repository](https://github.com/yourusername/research-agent)

---

Built with ❀️ using LangGraph, Groq, and Streamlit