ResearchCompass
Project overview · evidence-traceable research

Research you can defend.

Turn papers into a searchable, auditable private library — then connect evidence search, paper reading, evidence-bound synthesis, research projects and report export into one traceable pipeline.

v0.11.15 MIT FastAPI + Vue 3 28-paper fixed corpus 993 chunks
Latest release v0.11.15 package manifests 0.11.0
Capability gaps tracked 44 39 done · 0 to fix
Hit@5 · fixed corpus 10/10 MRR 0.845 · top-k 5
Citation coverage 0.8037 5/5 syntheses completed
01Project introduction

A research workspace you can audit.

ResearchCompass is built for literature review and evidence management, not for generating confident-sounding prose. Papers become a private, section-aware library; searches return evidence with page and chunk locations; syntheses are accepted only when their claims resolve to verified evidence; projects keep the whole trail structured.

Evidence first

Search returns paper, section, original passage and four retrieval scores. A claim without a verified chunk_id is not presented as a supported conclusion.

traceablepage-aware

One workspace

Library, smart search, evidence synthesis, paper analysis, citation graph, research projects and report export share the same evidence base and permission model.

unifiedproject-scoped

Built to be audited

Failures are explicit: strict graph mode does not silently degrade, unsupported statements are listed separately, and deterministic progress replaces hand-waved status.

explicit failurereproducible
What it is not.It is not a paper generator, not a black-box summarizer, and not a replacement for domain judgment. It is the evidence layer around your own reasoning.
02Architecture panorama

Six core modules, one evidence path.

The workbench sends a research question to the API; retrieval reads chunks and vectors from the paper/knowledge domain; synthesis validates claims against the retrieval snapshot; projects collect deliverables; reports export them. The full interactive viewer is the same Archify source linked from the README.

10 nodes · 5 boundaries

What happens to a research question.

The English module map below is the navigation layer. The full Archify viewer is a standalone interactive HTML with the original zh-CN diagram labels; open it for the complete node and edge view.

Open interactive diagram
Knowledge base, Milvus, Neo4j and object storage sit underneath retrieval and synthesis; they are shown in the full interactive diagram.
01

Workbench

Vue 3 workspace · 9 research tabs · AI assistant

02

API router

FastAPI · research_router · /api/research

03

Retrieval

local_hybrid / strict_hybrid_citation_graph

04

Synthesis

evidence-synthesis-v1 · citation coverage

05

Knowledge base

Academic Paper · Milvus · Neo4j graph

06

Projects & reports

milestones · assets · deterministic progress

03Core method

From paper pile to defensible evidence.

The method is deliberately narrow: make the corpus structurally readable, retrieve passages rather than vibes, validate every claim against the snapshot, and keep the work trail in a project.

01

Academic chunking

Parse PDFs and split by Abstract, Introduction, Method, Experiments and Conclusion while preserving page numbers and character ranges.

Academic Paperpage-aware
02

Hybrid retrieval

Rewrite the query, combine vector and BM25 recall with RRF, rerank candidates, then aggregate evidence into paper cards with four scores.

local_hybridRRFrerank
03

Evidence-constrained synthesis

Generate themes, claims, contradictions, limitations and gaps from the retrieval snapshot; reject citations that do not resolve to verified chunks.

evidence_chunk_idsunsupported_claims
04

Project execution

Collect results as project assets, link them to milestones and tasks, compute progress from tasks, and export a report without copying the underlying sources.

milestonesassetsreports
Evidence contractenforced in synthesis
claim.evidence_chunk_ids

Every supported claim carries chunk identifiers from the retrieval snapshot.

verified_snapshot

Citations must resolve to a real chunk_id; missing evidence fails validation.

unsupported_claims

Statements the model cannot support are emitted separately, never disguised as conclusions.

strict_hybrid_citation_graph

If the graph is not ready, strict mode fails explicitly instead of silently falling back.

04Technical foundation

A pragmatic stack for evidence work.

Python for the research services and agent runtime, Vue for the workspace, Milvus and Neo4j for retrieval and citation structure, PostgreSQL for the durable trail, and Docker Compose for a reproducible local stack.

Backend

Python 3.12–3.13FastAPI ≥0.121LangGraphARQ ≥0.26.3uv

Frontend

Vue 3.5Vite 8Pinia 3ECharts 6G6 5.1PDF.js 6.1pnpm 10.11

Retrieval & graph

MilvusBM25RRFCross-Encoder rerankNeo4j PPR

Storage

PostgreSQLRedisMinIOMilvusNeo4j

Document parsing

MinerUPaddleXRapidOCRAcademic Paper chunking

Docs & delivery

VitePressDocker ComposeChart.js 4Archify HTML
Runtime facts: Python 3.12–3.13 from backend/pyproject.toml; pnpm 10.11.0 from web/package.json; full stack via Docker Compose.
05Repository map

Where everything lives.

A monorepo with a Python research backend, a Vue workspace, a documentation site, deployment assets, evaluation scripts and this static overview. Expand the tree to inspect the main boundaries.

Click a folder to expand · descriptions are one line per boundary
ResearchCompass/monorepo root
  • backend/FastAPI app + reusable yuxi package
    • server/HTTP entrypoints, routers, auth and lifespan
      • routers/research_router.pythe /api/research boundary
      • worker_main.pyARQ worker entrypoint
    • package/yuxi/agent runtime, knowledge base, storage and research services
      • services/research_*.pysearch, synthesis, projects, evidence
      • services/academic_*.pyanalysis, graph sync, trends, imports
      • knowledge/graphs/Milvus graph + Neo4j academic graph
    • scripts/smoke acceptance, corpus import and maintenance
    • test/unit / integration / e2e layers
    • pyproject.tomlPython metadata, dependencies, pytest and Ruff config
    • uv.locklocked Python environment
  • web/Vue 3 + Vite research workspace
    • src/views/ResearchCompassView.vuethe 9-tab research workspace
    • src/components/research/search, synthesis, project and copilot panels
    • src/apis/research_api.jstyped frontend API wrappers
    • package.jsonVue/Vite dependencies and pnpm scripts
  • docs/VitePress site, Pages assets and project records
    • intro/ advanced/ agents/ develop-guides/user and developer documentation
    • archify/interactive architecture, workflow, sequence and data-flow diagrams
    • assets/shared brand assets such as banner.svg
    • project_overview/this static overview dashboard
    • project/capability ledger, decisions and acceptance records
  • docker/Dockerfiles, nginx and sandbox provisioner
  • scripts/init, release check, evaluation and visualization
    • eval/fixed-corpus baseline, ablation and synthesis scripts
    • visualization/README banner generator
  • docker-compose.ymldevelopment stack
  • docker-compose.prod.ymlproduction stack
  • README.md / README.zh-CN.mdEnglish primary + Chinese companion entry points
  • ARCHITECTURE.mdcode map and architecture invariants
  • CONTRIBUTING.md / FAQ.md / SECURITY.mdcommunity and support entry points
06Quick start

Run the full stack in four steps.

Docker Compose is the supported development path. The full stack starts PostgreSQL, Redis, MinIO, Milvus, Neo4j, the API, the worker and the web app.

01

Clone

git clone --branch v0.11.15 --depth 1 https://github.com/LPK3215/ResearchCompass.gitcd ResearchCompass
02

Initialize

# Linux / macOS./scripts/init.sh# Windows PowerShell.\\scripts\\init.ps1
03

Start

docker compose up -d --build

Web localhost:5173 · API health localhost:5051/api/system/health

04

Verify

make lintmake testmake test-web

Full cold-build gate: .\\scripts\\release_check.ps1

Lite mode

No knowledge base, graph or research dependencies: make up-lite starts the core services and defaults to /agent.

Production

cp .env.prod.template .env.prod, fill required values, then docker compose -f docker-compose.prod.yml up -d --build.

Evaluation

make eval-baseline KB_ID=kb_xxx, make eval-ablation KB_ID=kb_xxx, make eval-synthesis KB_ID=kb_xxx.

07Evaluation evidence

Small, fixed, repeatable experiments.

These are the repository’s real fixed-corpus runs, not illustrative numbers. The corpus is the 28-paper open-access set in kb_ksf23a31w7 (30 papers, 993 chunks). Use the tabs to switch datasets and chart/table views.

10 questions · 10 scored

Retrieval baseline

local_hybrid · top-k 5 · MRR 0.845 · 12.9–14.6 s per question

MetricResultQuestions
Hit@18 / 100.800
Hit@38 / 100.800
Hit@510 / 101.000
MRR0.845—

Source: 2026-10-21 capability report · baseline run 2026-10-22.

n = 10 · preliminary signal

Reranker ablation

Only use_reranker is toggled; retrieval mode, recall, top-k and threshold stay fixed.

VariantRecall@10Answer correctnessAnswer coverage
Reranker on0.3000.5001.000
Reranker off0.1000.3001.000

Source: 2026-10-21 capability report · n=10 is a preliminary signal, not a stable effect estimate.

5 / 5 succeeded

Synthesis citation coverage

Top-k 6 · model workbuddy:deepseek-v4.1-flash · reranker local-embedding:BAAI/bge-reranker-base · average coverage 0.8037.

QuestionClaims (supported / total)Conclusions (supported / total)Coverage
q026 / 1015 / 190.7895
q0320 / 2535 / 400.8750
q0710 / 1621 / 270.7778
q0910 / 1419 / 230.8261
q108 / 1315 / 200.7500

Source: 2026-10-21 capability report · a top-k 8 run reached 0.8255 coverage but completed 4/5; top-k 6 is the full-completion baseline.

08API surface

Two calls cover the evidence path.

The research API is exposed under /api/research. Search is synchronous; synthesis creates a run and returns immediately, then the client polls the run. Both require an authenticated user.

curl -sS -X POST "$API/api/research/databases/$KB/search" \  -H "Authorization: Bearer $TOKEN" \  -H "Content-Type: application/json" \  -d '{    "query": "What are the common limits of evidence aggregation for RAG in academic literature?",    "retrieval_mode": "local_hybrid",    "top_k": 8,    "recall_top_k": 50,    "year_from": 2020,    "year_to": 2026  }'

Response fields

{  "run_id": "[run-id]",  "rewritten_query": "[rewritten query]",  "keywords": ["[keyword]"],  "items": [{    "paper_id": "[paper-id]",    "title": "[paper title]",    "evidence": [{      "chunk_id": "[chunk-id]",      "section_title": "[section]",      "scores": { "vector": "[score]", "bm25": "[score]", "hybrid": "[score]", "rerank": "[score]" }    }]  }],  "stage_timings": { "query_rewrite_ms": "[ms]", "retrieval_ms": "[ms]", "aggregation_ms": "[ms]" }}
curl -sS -X POST "$API/api/research/databases/$KB/syntheses" \  -H "Authorization: Bearer $TOKEN" \  -H "Content-Type: application/json" \  -d '{    "query": "What are the common limits of evidence aggregation for RAG in academic literature?",    "top_k": 8,    "recall_top_k": 50  }'

Run, then poll

# immediate response{ "run_id": "[run-id]", "task_id": "[task-id]", "status": "pending" }# poll until terminalcurl -sS "$API/api/research/synthesis-runs/$RUN_ID" \  -H "Authorization: Bearer $TOKEN"
Synthesis is evidence-bound.The run fails with synthesis_insufficient_evidence if the snapshot has fewer than two papers with evidence, and validation requires every cited chunk_id to resolve.
09Quality & verification

The trail is tested, not asserted.

ResearchCompass keeps unit, browser, smoke and fixed-corpus evidence separate. The repository has no GitHub Actions workflow; release_check.ps1 is the local cold-build gate, and acceptance records are kept under docs/project/.

1696Backend unit tests passed5 skipped · 62.34 s
91Frontend unit tests passed0 failed · Node test runner
55Smoke checks passed0 failed · 2026-10-22 14:10
90Browser checks passed0 unresolved · 2026-10-20
EvidenceResultScopeSource
Backend unit tests1696 passed / 5 skippedunit layercapability report
Frontend unit tests91 passed / 0 failedweb unitcapability report
Smoke acceptance55 passed / 0 failed19 capability familiescapability report
Browser acceptance 2026-10-2090 checks / 0 unresolvednine groups A–Iproject records
Browser acceptance 2026-10-2222 checks · 17 passed2 credential-blocked · 2 not executed · 1 data cleanup pendingproject records
Capability ledger 2026-10-2144 items · 39 done · 0 to fix4 pending evaluation · 1 not plannedcapability report
CI status: not configured.No GitHub Actions workflow is present. The repeatable local gate is .\\scripts\\release_check.ps1; it covers images, locks, Ruff, backend tests, frontend tests, build and documentation.
10Documentation index

Start anywhere, stay oriented.

The documentation source lives under docs/; the cards below link the Markdown source on GitHub. The English README is the primary entry point; the Chinese README mirrors its structure.

11Contributing

Keep the evidence path intact.

One PR should solve one clear problem. Large changes start with an issue; UI changes include a screenshot or recording; user-visible changes update the docs and changelog.

01

Fork & branch

Use a semantic branch name such as feature/evidence-filter or fix/graph-sync.

02

Run the checks

make formatmake lintmake test
03

Open a PR

Describe what changed, why, the affected scope and how it was verified. Use the PR template.

12License & citation

Open source, with upstream credit.

MIT

MIT License

ResearchCompass is released under the MIT License. The upstream Yuxi copyright notice is retained alongside the ResearchCompass copyright line.

Read LICENSE
YUXI

Built on Yuxi

The general agent runtime, multi-tenant knowledge base, sandbox and middleware come from the open-source Yuxi framework; the research workflow, domain tools, evidence synthesis and evaluation extensions are implemented here.

Visit Yuxi
CITE

Citation

No CITATION.cff is currently provided. For now, cite the repository URL and the release tag v0.11.15; see the changelog for the exact release history.

Repository