NEXUS is an autonomous, multi-agent research system designed to search, analyze, synthesize, and critique information in real-time. By leveraging high-speed inference and a parallelized agentic workflow, NEXUS generates comprehensive research reports with full citations and objective critiques.
- Real-Time SSE Streaming: Watch the agents think and write with a "ChatGPT-like" streaming experience.
- Autonomous Multi-Agent Pipeline:
- Search Agent: Finds the most relevant sources via Tavily AI.
- Scraper Agent: Extracts high-quality content from web sources.
- Writer Agent: Synthesizes data into a professional markdown report.
- Critic Agent: Evaluates the report for quality and objectivity.
- Premium UI/UX: Modern, glassmorphic design with interactive particle physics and smooth transitions.
- Multimodal Support: Upload documents or images for contextualized research.
- Hybrid Cloud Deployment: Optimized for speed (Vercel) and persistent streaming (Render).
- Frontend: Vanilla JS, HTML5, CSS3 (Glassmorphism, Canvas API)
- Backend: FastAPI (Python 3.9+)
- LLM Inference: Groq LPU (Llama-3-70b/8b)
- Search Engine: Tavily AI
- Vision: Google Gemini 1.5 Pro
- Hosting: Vercel (Frontend), Render (Backend)
git clone https://github.com/SparshGarg999/nexus.git
cd nexusCreate a .env file in the root directory:
GROQ_API_KEY=your_groq_key
TAVILY_API_KEY=your_tavily_key
GEMINI_API_KEY=your_google_ai_key
PORT=8000pip install -r requirements.txtpython run.pyVisit http://localhost:8000 to access the platform.
- Push this repo to GitHub.
- Go to Render -> New -> Blueprint.
- Connect this repository. Render will use the
render.yamlto automatically configure the service. - Provide your API keys when prompted.
- Set
FRONTEND_URLto your Vercel URL (see below).
- Go to Vercel -> Add New Project.
- Select this repository.
- Important: Set the Root Directory to
frontend. - Add the following Rewrite in
frontend/vercel.json(already configured in this repo) to point to your Render backend. - In
frontend/app.js, ensureRENDER_API_URLpoints to your deployed Render URL.
Check out the live platform here: nexus-research-ai.vercel.app
For a deep dive into the system architecture, justifications for technical choices, and interview Q&A, please refer to the Implementation Plan.
This project is licensed under the MIT License - see the LICENSE file for details.