# research-hub **Local-First AI Research Workstation** — connect **Claude Code**, **Codex**, **Gemini**, and **Antigravity** ([AI Research Skills](https://github.com/WenyuChiou/ai-research-skills)) with **Zotero**, **Obsidian (+ Bases)**, **NotebookLM**, and human-reviewed drafts in one verifiable local SQLite + SHA-256 ledger. [繁體中文](README.zh-TW.md) · [Workspace guide](docs/workspace-guide.md) · [Setup guide](docs/setup.md) · [Architecture](docs/workspace-architecture.md) · [Changelog](CHANGELOG.md) [![PyPI](https://img.shields.io/pypi/v/research-hub-pipeline.svg)](https://pypi.org/project/research-hub-pipeline/) [![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue.svg)](pyproject.toml) [![MIT license](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) ![Research Hub ecosystem hero poster showing AI agents on the left, live Reading Desk and Evidence Blind-Spot Radar workstation UI in the center, and Zotero, Obsidian, NotebookLM, and SHA-256 provenance on the right.](docs/images/hero-ecosystem.en.png) ## Quick start Install from [PyPI](https://pypi.org/project/research-hub-pipeline/) and launch the offline demo workstation in seconds: ```sh pip install -U research-hub-pipeline research-hub open --demo ``` `open --demo` starts a local server at [http://127.0.0.1:8765/app/](http://127.0.0.1:8765/app/) on `~/research-hub-workspace` (never overwriting existing data; pass `--root`, `--port`, or `--obsidian-vault`). - **Path A — Use inside your AI host (zero install):** Load the [portable skill](skills/research-hub/) ([skill loading](docs/setup.md#installed-skill-files) · [host support](docs/ai-host-support.md)). No Hub installation, Zotero, Obsidian, or NotebookLM is required; Codex MCP is not release-verified. Ask: *“First request: Find papers on LLMs simulating human decisions. Include links, relevance, versions, and reading limits.”* Expect a source list in your host stating unknowns cleanly without claiming full text. - **Path B — Visual Research Hub workstation:** Requires Python 3.10+, Git, and a local browser. Launch the [visual preview](#workspace-preview) above to inspect offline sample papers, Master Table, Matrix, and Evidence Radar; optional [result saving](docs/contracts/native-discovery-view.md) and [task handoff](docs/workspace-guide.md#writing-adapter-preview) write only to a selected destination and authorization.
Alternative: source install (`git clone`), manual launcher & two-path diagram ![Two starting paths: research with an available compatible AI host without Hub, or install Hub to view saved sources and proposals. Task handoff is optional. People review sources and evidence; saving is not reading or approval, and nothing is automatically published.](docs/images/research-entry-paths.en.svg) ```sh git clone -c core.autocrlf=false https://github.com/WenyuChiou/research-hub.git cd research-hub ``` **macOS / Linux** ```sh python3 -m venv .venv ./.venv/bin/python -m pip install -e . ./.venv/bin/python -m research_hub open --demo ``` **Windows PowerShell** ```powershell py -3 -m venv .venv .\.venv\Scripts\python.exe -m pip install -e . .\.venv\Scripts\python.exe -m research_hub open --demo ``` - **Manual two-step launch:** Run `python -m research_hub project demo --root ./workspace-demo --json` followed by `python -m research_hub serve --workspace --root ./workspace-demo`. - **Capture provenance:** Workstation showcase screenshots were captured on Windows 11 (`b2ca1ad` / `45c5fcc`) against offline demo fixtures (`review-demo`, `llm-decision-showcase`); `summation-demo` provides a numeric starter workspace. Cross-platform CI and historical Linux rehearsals (`2026-11-07`) live in [verification history](docs/readme-verification-history.md#source-demo-first-task-2026-11-07). - **Legacy HTML dashboard (`1.2.0`):** `pip install research-hub-pipeline==1.2.0` and `research-hub dashboard --sample` ([setup](docs/setup.md) · [tour](docs/dashboard-walkthrough.md)).
## How to use in 3 steps Try your first 60-second walkthrough directly in the running demo: 1. Choose `DEMO: floating-point reading and review outline` (`review-demo`) in **Projects**. 2. Open **Literature** and click **What Every Computer Scientist Should Know About Floating-Point Arithmetic**. 3. Verify the selected paper displays DOI `10.1145/103162.103163` alongside **Unverified**, **Coverage unknown**, and **No summary saved**—then try `#domain:*` / `#method:*` labels, **Master table**, **Matrix**, `Ctrl+K` (`⌘K`), `]` (**Context Inspector**), or `?` (**Keyboard Shortcuts**). See [bring your own project](docs/workspace-guide.md#bring-your-own-project) when ready. ## Features & workstation tour | Page | Role in your workflow | |---|---| | **Overview** | Pipeline stepper, 4-tab **Smart Visual Studio** (**Overview & Coverage**, **Year × Category Bricks**, 5-stage **Research Flow Sankey**, **PRISMA & Topic Matrix**), and **Evidence Blind-Spot Radar**. | | **Literature** | **Reader**, **Master table** (`Markdown` / `CSV`), **Matrix**, **Timeline** bricks, right-hand **Context Inspector Rail** (`]`), keyboard triage (`j`/`k`/`i`/`x`/`p`/`c`), and **APA / BibTeX / RIS** export. | | **Evidence** | Bind claims to verified source IDs and catch abstract-only or single-source fragility early. | | **Design & results** | Track research methods, run receipts (`research-hub context record-run`), limitations, and SHA-256 artifacts. | | **Manuscript** | Track **Word**, **LaTeX**, or **Markdown** drafts, `.paper/` authority, **Writing 1.8.0** ledger, revision triad, and offline scoped passes. | | **Review & delivery** | Review AI proposals (`awaiting_human`), inspect 5-pillar **Submission Readiness** with human-gated waivers, approve locally, and package verified ZIPs. | > *Click any screenshot below to view full `2880×1800` workstation details.* [![Research Hub Literature Reading Desk in Light Mode showing the dark AI-IDE sidebar, Reader / Master table / Matrix view switcher, scoped labels, Quick Cite bar, screening status, and honest coverage limits on offline review-demo data.](docs/images/workspace-ui.en.png)](docs/images/workspace-ui.en.png) [![Light Mode Overview showing the 4-stage pipeline stepper, publication year distribution, coverage triage donut, and 4-quadrant Evidence Risk and Blind-Spot Radar.](docs/images/showcase-overview-radar.en.png)](docs/images/showcase-overview-radar.en.png) [![Dark Mode Literature Reading Desk showing deep-slate surfaces, reading scope breakdown, scoped labels, saved summary, and 1-click APA, BibTeX, citekey, and RIS actions.](docs/images/showcase-dark-desk.en.png)](docs/images/showcase-dark-desk.en.png)
More screenshots & diagrams: Writing 1.8.0 Tools, Submission Readiness, Matrix, Settings Sync Hub & Architecture [![Light Mode Manuscript Writing 1.8.0 Tools showing the Audit checks, Writing ledger, Revision triad, and Scoped pass tabs with an offline envelope-only scoped pass completed on demo manuscript data.](docs/images/showcase-v170-writing-tools.en.png)](docs/images/showcase-v170-writing-tools.en.png) [![Dark Mode Review and Delivery Submission Readiness panel showing the 5-pillar checklist verdict, non-authorization notice, snapshot fingerprint, and human-gated waiver controls.](docs/images/showcase-v170-submission-readiness.en.png)](docs/images/showcase-v170-submission-readiness.en.png) [![Dark Mode Literature Synthesis Matrix cross-tabulating papers against reading scope, screening triage, evidence citation counts, and scoped theme label columns.](docs/images/showcase-dark-matrix.en.png)](docs/images/showcase-dark-matrix.en.png) [![Settings Center showing Connections and Sync, live status LEDs, HD Obsidian, Zotero, and NotebookLM cards, local bundle receipts, and Overleaf BibTeX, EndNote RIS, Quarto CSL-JSON, and APA 7th exports.](docs/images/showcase-settings-sync.en.png)](docs/images/showcase-settings-sync.en.png) ![Concept diagram: research questions connect literature, evidence, analysis, manuscript proposals, and human review; changed inputs return work for review.](docs/images/workspace-lifecycle.en.png) ![Concept diagram: a researcher prepares a task, uses a portable AI handoff or a connected Codex prose worker, checks the proposal, and explicitly accepts or requests changes.](docs/images/workspace-writing.en.png)
## Integrations & AI workflow | Integration | Quick setup (`⚙ Settings` or CLI) | One-click sync & output | |---|---|---| | **Zotero** | Save `ZOTERO_LIBRARY_ID` + encrypted `ZOTERO_API_KEY` (overrides ambient env vars) | **Dry-run preview** → attach/create `[Research Hub] ` collection | | **Obsidian (+ Bases)** | Pass `--obsidian-vault` or save Vault path in **Settings** (unified read-only validation + browsing) | Export `.md` notes + `.base` views under `.research/exports/` & open via `obsidian://` | | **NotebookLM** | Sign in via `notebooklm login --auto-detect` or import `state.json` | Build bounded source packs & click **`☁ Upload to NotebookLM`** (`upload_receipt.json`) | | **MCP, WebMCP & Export** | Connect [Stdio MCP / W3C WebMCP](docs/ai-integrations.md) (`workspace_inspect`, `ToolAnnotations`, browser `modelContext`) or click **Agent Handoff & Export** | Query flows, run revision-checked batch curations (`expected_revision`), create tracked handoff tasks, or export **APA / BibTeX / RIS / CSL** | - **Honest evidence boundaries:** Resolvable DOIs never prove claim support; unparsed PDFs and parallel translations never count as full-text reading. - **Reproducible Stage 4–6 provenance:** Isolate delegate edits (`context check-scope`), record immutable run receipts (`context record-run`), and verify `.paper/claims.yml` ↔ `.paper/figures.yml` reciprocity (`--strict`). - **Human review before export:** Both **Portable handoff** and **Connected Codex / Assistant** modes stage proposals as `awaiting_human`; delivery ZIPs package restricted sources only when explicitly authorized. See [paper-summarize](skills/paper-summarize/) ([native summary CLI](docs/cli-reference.md#native-authored-source-summaries) · [contract](docs/native-source-summary.md) · [reader guide](src/research_hub/skills_data/research-hub/references/native-discovery-export.md)). ## Documentation & configuration
Environment variables & optional extras (`research-hub doctor`) Run `research-hub doctor` to inspect destination health. Optional extras: Researcher / Humanities (`[playwright,secrets]`), Analyst / Internal KM (`[import,secrets]`). | Name | Required | Purpose | |---|---|---| | `ZOTERO_API_KEY` | Zotero only | Zotero API authentication | | `ZOTERO_LIBRARY_ID` | Zotero only | Zotero library identifier | | `SEMANTIC_SCHOLAR_API_KEY` | no | Optional search API key | | `SEMANTIC_SCHOLAR_RPS` | no | Optional search request-rate override | | `TAVILY_API_KEY` | no | Optional web search backend | | `BRAVE_API_KEY` | no | Optional web search backend |
- **Guides:** [Workspace guide](docs/workspace-guide.md) · [Architecture](docs/workspace-architecture.md) · [CLI](docs/cli-reference.md) · [MCP tools](docs/mcp-tools.md) · [Stable API](docs/stable-api.md) · [Capability baseline](docs/capability-baseline.md) - **Project:** [Changelog](CHANGELOG.md) · [Upgrade guide](UPGRADE.md) · [Verification history](docs/readme-verification-history.md) · [Contributing](CONTRIBUTING.md) · [Releasing](docs/RELEASING.md) · [MIT License](LICENSE)