CoolFace
Apppublic

alketbak/llm-research-agent

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
App README

title: LLM Research Agent emoji: ๐Ÿ” colorFrom: green colorTo: blue sdk: docker pinned: false ---

LLM Research Agent

An agentic research assistant that replaces hours of manual web research with a structured, cited report in seconds โ€” powered by LangGraph, Groq (Llama 3.1), and Tavily.

The problem

Google gives you links. You still have to open each one, read it, extract the relevant parts, and write a summary yourself โ€” that takes 30โ€“60 minutes.

This agent searches multiple sources simultaneously, reads them, extracts key information, and returns a structured report with cited sources in under 30 seconds.

Developed as a side project to automate the literature research process during my work on Predicting Startup Success Using LLMs โ€” a research paper on in-context learning published on arXiv."

๐Ÿ”ด Live Demo

Interactive docshttps://alketbak-llm-research-agent.hf.space/docs
Health checkhttps://alketbak-llm-research-agent.hf.space/health

How it works

The agent uses a 3-node LangGraph pipeline: generates search queries โ†’ searches the web in parallel via Tavily โ†’ synthesises findings into a structured report with cited sources.

It also supports multi-turn conversations with persistent memory via LangGraph MemorySaver โ€” ask follow-up questions and it remembers the context.

API Endpoints

EndpointMethodDescription
/researchPOSTRun full research pipeline on a topic
/chatPOSTConversational agent with memory
/healthGETHealth check

Local setup

bash
git clone https://github.com/alketbak/llm-research-agent.git
cd llm-research-agent
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
echo "GROQ_API_KEY=your-key-here" >> .env
echo "TAVILY_API_KEY=your-key-here" >> .env
uvicorn main:app --reload

Tech stack

  • โ€”LangGraph โ€” agentic orchestration with conversation memory
  • โ€”Groq โ€” ultra-fast inference with Llama 3.1 8B
  • โ€”Tavily โ€” real-time web search API
  • โ€”FastAPI โ€” REST API framework
  • โ€”Docker โ€” containerised deployment