Skip to content

pixelThreaderOfficial/Deep-Researcher-V2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

174 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Researcher

Version 2Autonomously Synthesizing Global Knowledge

Deep Researcher Banner


Deep Researcher is a state-of-the-art research platform that combines Generative AI with autonomous data gathering to deliver deep, evidence-based insights. Designed for professionals who need more than surface-level answers, it acts as an intelligent analyst: synthesizing information from the web, video, and structured sources into comprehensive, verifiable reports.

This is Deep Researcher V2 — a major evolution from the original agent. The current version introduces multi-step reasoning, workspace-based organization, persistent storage with full auditability, and robust failure handling, replacing the earlier single-flow, file-only approach.


System Overview

Deep Researcher runs as a hybrid desktop application: a native frontend for privacy and performance, backed by a dedicated research engine. The core architecture is organized around six capability domains:

flowchart TB
    subgraph Workspaces["📁 Workspaces"]
        W1[Create / Read / Update / Delete]
        W2[History Logger]
        W3[Export · Options]
    end

    subgraph Research["🔬 Research"]
        R1[Create / Read / Delete · Cascade]
        R2[Research Status & Metadata]
        R3[History Logger]
    end

    subgraph Chat["💬 Chat"]
        C1[Create / Read / Delete · Cascade]
        C2[Chat Status & Metadata]
        C3[History Logger]
    end

    subgraph Store["🗄️ Data (Store)"]
        S1[Bucket CRUD · Cascade]
        S2[Upload / Read / Delete File]
        S3[Bucket & File Metadata]
        S4[History Logger]
        S5[Core SQLite DB · Read]
        S6[Export Data · Options]
    end

    subgraph Search["🔍 Search"]
        SE1[Search Entire Data]
        SE2[Semantic Search]
        SE3[History Logger]
        SE4[Research · Sources · Chats · Assets]
        SE5[RAG-based Search]
    end

    subgraph Utilities["⚙️ Utilities"]
        U1[Read / Delete History]
        U2[Read / Update Settings]
        U3[Research Templates]
        U4[System Prompts]
        U5[AI Personalization]
    end

    Workspaces ~~~ Research ~~~ Chat
    Research ~~~ Store ~~~ Search
    Store ~~~ Search ~~~ Utilities
Loading
  • Desktop app: UI/UX, workspaces, real-time visualization, and user interaction.
  • Backend engine: Orchestration, web/data ingestion, LLM inference, and persistent storage with logging and fallback handling.

Features

  • Autonomous research agents — Multi-step reasoning, browsing, and synthesis.
  • Chain-of-thought visualization — Follow the agent’s logic and planning in real time.
  • Workspace-first design — Organize work in dedicated workspaces with persistent context.
  • Structured artifacts & citations — Findings and claims backed by citations for verifiability.
  • Database-backed storage — Full logging, history, and fallback prevention (no “ghost” files).
  • Premium desktop experience — Modern UI (React 19, Tailwind CSS 4, Framer Motion), cross-platform (Windows, macOS, Linux).

Legacy: Deep Researcher V1

The previous generation (Legacy Deep Researcher V1) was a simple reflex agent: a single, predefined pipeline with minimal structure.

  • Single flow — One fixed research pipeline; no multi-step orchestration.
  • File-only output — All research stored in a single folder; no database or audit trail.
  • Basic discovery — Title-based filter/search only.
  • Limited reliability — No persistent logs, no fallback handling, and no guarantee that generated files were correctly recorded or recoverable.

V2 replaces this with workspaces, multi-step agents, database-backed storage, and robust file and log management. For the original codebase and releases, see the legacy repository.


Repository Structure

The project is split into two main components, each with its own setup and contribution guide:

Component Role Documentation
app/ Desktop shell: UI, workspaces, visualization Frontend README
backend/ Research engine: APIs, crawlers, LLMs, storage Backend README

Frontend (app/)

  • Stack: Electron, Vite, React 19, Tailwind CSS 4, Shadcn UI, Motion, Rive.
  • Responsibilities: User interaction, workspace management, chain-of-thought and artifact visualization.

Backend (backend/)

  • Stack: Python 3.12+, FastAPI, Google Gemini, Ollama.
  • Responsibilities: Task orchestration, web/data ingestion, LLM calls, database and file-bucket storage (with logging and fallbacks).

See the READMEs in app/ and backend/ for detailed structure, conventions, and development instructions.


Quick Start

  1. Clone the repository

    git clone https://github.com/pixelThreaderOfficial/Deep-Researcher.git
    cd Deep-Researcher
  2. Backend
    Follow the Backend README: set up .env, install dependencies with uv, and run the API (e.g. uv run ./main.py).

  3. Frontend
    Follow the Frontend README: install Node dependencies in app/, configure .env, and run the desktop app (e.g. npm run dev in app/).

  4. Distribution
    Build installers from app/: npm run dist:win, npm run dist:mac, or npm run dist:linux (see app/README.md).


Contributing

Contributions are welcome. Please open issues or pull requests in this repository. For component-specific guidelines, see app/README.md and backend/README.md.


“The goal is not just to search, but to understand.”
pixelThreader & Team

About

Deep Researcher V2: a major evolution from the original agent. The current version introduces multi-step reasoning, workspace-based organization, persistent storage with full auditability, and robust failure handling, replacing the earlier single-flow, file-only approach.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors