Skip to content

kamathhrishi/Shallow-Research

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shallow Research 😅

(Credits to Claude 3.5 Sonnet for this README haha)

A open source AI Agent that conducts research and generates both research reports and engaging podcast conversations between two virtual hosts (Alex and Sarah).

While tech giants are working on "deep" research capabilities, we're keeping it light and breezy with:

  • Quick Google searches via SERP API
  • Conversational AI using Groq's "llama-3.3-70b-versatile"
  • Text-to-speech magic with Kokoro
  • Real-time updates to keep you entertained while we do our "research" 😉

Preview

1. Put your topic of interest

Alt Text

2. Get LLM thought process and plan for generating a report

Alt Text

3. A Research report based on everything learnt by the LLM

Alt Text

4. A generated podcast that explains the report

Alt Text

Requirements

Create a requirements.txt file with the following dependencies:

fastapi
uvicorn
openai
redis-py
soundfile
numpy
pydantic
python-multipart
httpx
kokoro-onnx

Setup Instructions

1. Install Dependencies

pip install -r requirements.txt

2. Download Kokoro Models

Download the required Kokoro model files and place them in your project directory:

3. Configure API Keys

Replace the following API keys in app.py:

serp_api_key = 'your_serp_api_key'
groq_api_key = 'your_groq_api_key'

4. Start Redis Server

Start a Redis instance on port 6379. If you have Docker installed, you can run:

docker run -d --name redis -p 6379:6379 redis:latest

5. Run Backend Server

Start the FastAPI backend server:

python3 app.py

The server will run on http://localhost:8001

6. Launch Frontend

Open index.html in a web browser to access the frontend interface.

Features

  • Real-time LLM thought process visibility:
    • See the AI's research strategy development
    • Watch it evaluate information and decide next steps
    • Observe how it determines research completeness
    • Follow its thought process for converting research to dialogue
  • Generates comprehensive research reports with:
    • Academic-style citations using [n] notation
    • Full bibliography with numbered sources
    • Access dates and URLs for each citation
    • Proper markdown formatting for readability
  • Intelligent conversion of cited research into natural podcast dialogue
  • High-quality voice synthesis using Kokoro
  • Real-time progress updates via WebSocket (because waiting is boring)
  • Redis-based task status tracking
  • Downloadable podcast audio and scripts

System Requirements

  • Python 3.8+
  • Redis server
  • Modern web browser
  • Internet connection for API access
  • A sense of humor 😄

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published