title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned |
---|---|---|---|---|---|---|---|
ThreadNavigatorAI |
π§΅ |
gray |
indigo |
streamlit |
1.33.0 |
app.py |
true |
π ThreadNavigatorAI is an intelligent Reddit-style assistant that summarizes threads, detects moderation issues, and suggests replies β powered by LangGraph-based Agent Orchestration + RAG.
π― Built for Reddit, Discord, and social platforms that need smart thread navigation at scale.
π οΈ Uses only free-tier tools (OpenRouter, Weaviate, Streamlit, Hugging Face).
"This thread is messy β whatβs the summary, whatβs toxic, and how should I respond?"
Online communities face:
- Too many replies, not enough signal
- Toxic or biased comments
- New users unsure how to engage
ThreadNavigatorAI solves this by:
- π Summarizing the core thread
- π‘οΈ Detecting moderation concerns (bias, sarcasm, trolling)
- π¬ Generating helpful replies
β
Multi-agent workflow (Summarizer, Moderator, Reply Assistant)
β
LangGraph orchestration with stateful memory and retry logic
β
Vector-based RAG using Weaviate + Sentence-BERT
β
Manual Evaluation Framework for recruiters + QA
β
Live LLM Latency Tracking in UI
β
Streamlit UI with branding, sample queries, and visual appeal
β
Free-tier deployable on Hugging Face
Each user query activates a 3-stage Agentic RAG pipeline orchestrated via LangGraph.
Agent | Role |
---|---|
π Summarizer | Uses RAG to summarize key takeaways across the entire thread |
π‘οΈ Moderator | Flags sarcasm, trolling, biased or off-topic replies |
π¬ Reply Assistant | Crafts helpful, polite, and context-aware replies for the user |
All agents share memory via LangGraph's StateGraph
β allowing responses to influence downstream decisions.
User Query β [LangGraph Agentic Workflow]
βββ> Summarizer Agent (RAG over thread)
βββ> Moderator Agent (LLM + heuristics)
βββ> Reply Assistant Agent (LLM response suggestion)
β³ Shared Memory + Retry Handling via LangGraph
All backed by:
- Weaviate Vector DB (cloud-hosted)
- Sentence-BERT embeddings
- Mistral-7B (OpenRouter, free-tier)
A walkthrough for one simulated thread
π§΅ Thread 002 β Gemini vs ChatGPT
Query:
"Summarize this thread and point out any sarcasm or trolling."
Agent Flow Output:
- π Summary:
Debate between Googleβs Gemini and OpenAIβs ChatGPT. Highlights bias and opinions. - π‘οΈ Moderation Report:
Detects sarcastic "toaster" comment and subtle trolling in LLM vs AGI debate. - π¬ Suggested Reply:
"Both models have strengths. Letβs stay focused on the facts instead of throwing shade."
β±οΈ Latency: 3.2 seconds (displayed in UI)
Manually curated QA pairs for demo/testing/evaluation. Integrated directly into the Streamlit UI.
Thread ID | Scenario | Agent Task |
---|---|---|
thread_001 | Apple M4 chip launch | Sentiment + Summary |
thread_002 | Gemini vs ChatGPT | Detect sarcasm/trolling |
thread_003 | Student loan forgiveness | Highlight bias/emotion |
thread_004 | Apple Vision Pro | Off-topic derailment detection |
Used in UI to demo RAG + LLM + moderation workflows under realistic edge cases.
π― Try the full agentic flow now on Hugging Face:
π ThreadNavigatorAI Demo
ThreadNavigatorAI/
βββ app.py # Streamlit UI
βββ eval_samples.py # Manual eval dataset
βββ scripts/
β βββ thread_uploader.py # Uploads simulated Reddit threads to Weaviate
β βββ summarizer_agent.py # Summarizer agent logic
β βββ moderator_agent.py # Moderator agent logic
β βββ reply_agent.py # Reply generator logic
β βββ agent_graph.py # LangGraph agent orchestration
βββ assets/
β βββ threadnavigatorai-architecture.png
β βββ threadnavigatorai-demo.gif
βββ requirements.txt
βββ README.md
β
Agentic RAG + LangGraph orchestration
β
Evaluation-ready UI with real data
β
Built like an internal tool for Reddit or Discord moderators
β
No OpenAI costs β uses OpenRouter free-tier only
β
Latency, UX, eval β all production-quality
β
Demonstrates end-to-end agent reasoning + vector retrieval
π― Built to impress top-tier AI/ML recruiters, not just LLM hobbyists.
Project | Description | Skills Showcased | GitHub Repo |
---|---|---|---|
π GroceryGPT+ | AI-powered grocery search engine with vector DB, reranking, and typo-tolerant recall | Semantic search, LLM reranking, Weaviate, Sentence-BERT, OpenRouter | π Repo |
π RideCastAI | Predicts ride fare & ETA with dynamic spatial heatmaps and real-time latency visualization | Spatio-temporal ML, regression, simulated demand mapping, latency-aware UI | π Repo |
π¬ StreamWiseAI | Netflix-style movie recommender with a Retention Coach agent and session-aware personalization | Recommender systems, RAG agent, session memory, fuzzy search, real-time LLM retry handling | π Repo |
git clone https://github.com/rajesh1804/ThreadNavigatorAI.git
cd ThreadNavigatorAI
pip install -r requirements.txt
Create a .env
file with:
WEAVIATE_URL=your_cluster_url
WEAVIATE_API_KEY=your_api_key
OPENROUTER_API_KEY=your_openrouter_key
Then:
streamlit run app.py
β
LangGraph agent orchestration
β
Modular agent design (summarization, moderation, replies)
β
Free-tier LLM usage (OpenRouter)
β
Weaviate cloud vector DB + RAG over Reddit-style threads
β
Manual eval integration in UI
β
Latency tracking and real-time feedback
β
Streamlit UI with product thinking and branding
β
Fully deployable on Hugging Face Spaces
Built by Rajesh Marudhachalam
- AI/ML Engineer UofT CS
- GitHub: github.com/rajesh1804
- LinkedIn: linkedin.com/in/rajesh1804
- LangGraph for stateful agent workflows
- OpenRouter for free-tier LLM APIs
- Weaviate Cloud for vector storage
- Hugging Face Spaces for frictionless deployment
- Sentence-BERT for embeddings
βοΈ Star this repo if it impressed you. Follow for more elite-level ML + LLM product builds.