Skip to content

AbhinavTheDev/research-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

research-agent

⭐ About

  • Open Source Web App for your complex research tasks.
  • Built with NextJS and Langchain
  • Uses Langgraph's research assistant framework for research workflow.
  • Provide Comprehensive Research on any topic in a single click.
Demo Video Blog Post
YouTube Blog

Star History

Star History Chart

πŸ› οΈ Tech Stack

Next.js python Tailwind CSS ShadCN UI LangGraph FastAPI langchain

πŸ“€ Set up

Setting Up the Agent

1. Get an API Key
  • Obtain a GROQ_API_KEY.
2. Clone the Repository
  • Clone the repository to your local machine:
    git clone https://github.com/AbhinavTheDev/research-agent.git
    cd research-agent
3. Set Up the Backend
  • Navigate to the backend folder:
    cd backend
  • Install dependencies using Pip:
    pip install -r requirements.txt
  • Create a .env file inside the ./backend directory with your GROQ_API_KEY:
    GROQ_API_KEY=YOUR_API_KEY_HERE
    
  • Run the agent server:
    python server.py

Server is now running on https://localhost:8000

4. Set Up the Frontend
  • Navigate to the frontend directory in separate terminal window:
    cd frontend
  • Install dependencies using npm:
    npm i
  • Run the Next.js project:
    npm run dev

Troubleshooting

  1. Ensure no other local application is running on port 8000.
  2. In the file /backend/server.py, change the address from 0.0.0.0 to 127.0.0.1 or localhost if needed.
  3. Add correct GROQ API Keys in .env file before running server.

πŸ“« Contact

Hi, I'm Abhinav! πŸ‘‹
Connect with me on LinkedIn, X and check out my other projects on GitHub.

About

A much better Research Agent πŸŽ“

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published