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.
One workspace
Library, smart search, evidence synthesis, paper analysis, citation graph, research projects and report export share the same evidence base and permission model.
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.
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.
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.
Workbench
Vue 3 workspace · 9 research tabs · AI assistant
API router
FastAPI · research_router · /api/research
Retrieval
local_hybrid / strict_hybrid_citation_graph
Synthesis
evidence-synthesis-v1 · citation coverage
Knowledge base
Academic Paper · Milvus · Neo4j graph
Projects & reports
milestones · assets · deterministic progress
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.
Academic chunking
Parse PDFs and split by Abstract, Introduction, Method, Experiments and Conclusion while preserving page numbers and character ranges.
Hybrid retrieval
Rewrite the query, combine vector and BM25 recall with RRF, rerank candidates, then aggregate evidence into paper cards with four scores.
Evidence-constrained synthesis
Generate themes, claims, contradictions, limitations and gaps from the retrieval snapshot; reject citations that do not resolve to verified chunks.
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.
claim.evidence_chunk_idsEvery supported claim carries chunk identifiers from the retrieval snapshot.
verified_snapshotCitations must resolve to a real chunk_id; missing evidence fails validation.
unsupported_claimsStatements the model cannot support are emitted separately, never disguised as conclusions.
strict_hybrid_citation_graphIf the graph is not ready, strict mode fails explicitly instead of silently falling back.
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
Frontend
Retrieval & graph
Storage
Document parsing
Docs & delivery
3.12–3.13 from backend/pyproject.toml; pnpm 10.11.0 from web/package.json; full stack via Docker Compose.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.
ResearchCompass/monorepo root
backend/FastAPI app + reusable yuxi package
server/HTTP entrypoints, routers, auth and lifespan
routers/research_router.pythe /api/research boundaryworker_main.pyARQ worker entrypoint
package/yuxi/agent runtime, knowledge base, storage and research services
services/research_*.pysearch, synthesis, projects, evidenceservices/academic_*.pyanalysis, graph sync, trends, importsknowledge/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 configuv.locklocked Python environment
web/Vue 3 + Vite research workspace
src/views/ResearchCompassView.vuethe 9-tab research workspacesrc/components/research/search, synthesis, project and copilot panelssrc/apis/research_api.jstyped frontend API wrapperspackage.jsonVue/Vite dependencies and pnpm scripts
docs/VitePress site, Pages assets and project records
intro/ advanced/ agents/ develop-guides/user and developer documentationarchify/interactive architecture, workflow, sequence and data-flow diagramsassets/shared brand assets such as banner.svgproject_overview/this static overview dashboardproject/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 scriptsvisualization/README banner generator
docker-compose.ymldevelopment stackdocker-compose.prod.ymlproduction stackREADME.md / README.zh-CN.mdEnglish primary + Chinese companion entry pointsARCHITECTURE.mdcode map and architecture invariantsCONTRIBUTING.md / FAQ.md / SECURITY.mdcommunity and support entry points
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.
Clone
git clone --branch v0.11.15 --depth 1 https://github.com/LPK3215/ResearchCompass.gitcd ResearchCompassInitialize
# Linux / macOS./scripts/init.sh# Windows PowerShell.\\scripts\\init.ps1Start
docker compose up -d --buildWeb localhost:5173 · API health localhost:5051/api/system/health
Verify
make lintmake testmake test-webFull 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.
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.
Retrieval baseline
local_hybrid · top-k 5 · MRR 0.845 · 12.9–14.6 s per question
| Metric | Result | Questions |
|---|---|---|
| Hit@1 | 8 / 10 | 0.800 |
| Hit@3 | 8 / 10 | 0.800 |
| Hit@5 | 10 / 10 | 1.000 |
| MRR | 0.845 | — |
Source: 2026-10-21 capability report · baseline run 2026-10-22.
Reranker ablation
Only use_reranker is toggled; retrieval mode, recall, top-k and threshold stay fixed.
| Variant | Recall@10 | Answer correctness | Answer coverage |
|---|---|---|---|
| Reranker on | 0.300 | 0.500 | 1.000 |
| Reranker off | 0.100 | 0.300 | 1.000 |
Source: 2026-10-21 capability report · n=10 is a preliminary signal, not a stable effect estimate.
Synthesis citation coverage
Top-k 6 · model workbuddy:deepseek-v4.1-flash · reranker local-embedding:BAAI/bge-reranker-base · average coverage 0.8037.
| Question | Claims (supported / total) | Conclusions (supported / total) | Coverage |
|---|---|---|---|
| q02 | 6 / 10 | 15 / 19 | 0.7895 |
| q03 | 20 / 25 | 35 / 40 | 0.8750 |
| q07 | 10 / 16 | 21 / 27 | 0.7778 |
| q09 | 10 / 14 | 19 / 23 | 0.8261 |
| q10 | 8 / 13 | 15 / 20 | 0.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.
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_insufficient_evidence if the snapshot has fewer than two papers with evidence, and validation requires every cited chunk_id to resolve.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/.
| Evidence | Result | Scope | Source |
|---|---|---|---|
| Backend unit tests | 1696 passed / 5 skipped | unit layer | capability report |
| Frontend unit tests | 91 passed / 0 failed | web unit | capability report |
| Smoke acceptance | 55 passed / 0 failed | 19 capability families | capability report |
| Browser acceptance 2026-10-20 | 90 checks / 0 unresolved | nine groups A–I | project records |
| Browser acceptance 2026-10-22 | 22 checks · 17 passed | 2 credential-blocked · 2 not executed · 1 data cleanup pending | project records |
| Capability ledger 2026-10-21 | 44 items · 39 done · 0 to fix | 4 pending evaluation · 1 not planned | capability report |
.\\scripts\\release_check.ps1; it covers images, locks, Ruff, backend tests, frontend tests, build and documentation.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.
Start here
English primary entry: capabilities, workflow, quick start and docs map.
ChineseREADME.zh-CN.mdChinese companion with the same section structure and language link.
SiteCapabilities overviewA compact tour of the eight research capabilities.
SiteFrom topic to draftThe seven-step evidence pipeline with outputs and checks.
SiteProject introductionThe problem, audience, scope and boundaries of ResearchCompass.
Product and rules
Projects, retrieval modes, synthesis rules, workspace and boundaries.
SiteQuick startClone, initialize, run and access the development stack.
SiteCLICommand-line entry points and command reference.
SiteKnowledge base & graphAcademic chunking, retrieval, graph construction and evaluation.
SiteKnowledge base evaluationDatasets, runs, metrics and ablation experiment basics.
SiteModel configurationProviders, model specs, embeddings, rerankers and fallbacks.
Build and operate
Containers, worker, local inference, health checks and troubleshooting.
SiteProduction deploymentRequired environment values, Compose stack and operational checks.
SiteAPI key integrationExternal system access with API keys and user context.
SiteTesting guidelinesUnit, integration and e2e layers, fixtures and naming rules.
SiteContributing guideThe single-source contribution flow, checks and PR expectations.
SiteDetailed changelogFeature-level release history and capability close-out notes.
SiteDocument processingMinerU, PaddleX and OCR routing into structured Markdown.
SiteLangfuse integrationTracing and observability for agent and research runs.
SiteCoding rulesThe project’s coding rules and review expectations.
SiteDesign systemColor tokens, layout, components and frontend visual rules.
SiteRoadmapPlanned capabilities and delivery sequencing.
SiteBrandingBrand assets, page titles and theme customization.
SiteConfigurationEnvironment variables, runtime configuration and service settings.
SiteMiscellaneousAdditional operational and integration notes.
SiteThird-party authExternal identity providers and login integration.
SitePerformance baselineTiming baselines and performance notes for research runs.
Agents and evidence
Models, prompts, tools, Skills, MCP and SubAgents.
SiteTool systemThe research tool registry, categories and approval boundaries.
SiteSandbox architectureExecution isolation, file boundaries and artifact handling.
SiteAgent evaluationAgent and retrieval evaluation workflows.
SiteMiddlewareKnowledge injection, attachments, summaries and dynamic tools.
SiteSkills managementSkill discovery, upload and installation.
SiteSubAgentsIsolated child threads, delegation and artifact return.
SiteRequest queueSerialized agent runs, concurrency and cancellation.
SiteMCP integrationModel Context Protocol tool services and permissions.
Project records & diagrams
Stable code boundaries, runtime paths and architecture invariants.
GitHubCONTRIBUTING.mdQuick contribution flow and required local checks.
GitHubFAQ.mdEvidence validation, graph readiness, 429s, workers and versioning.
GitHubSECURITY.mdPrivate vulnerability reporting and secret-handling policy.
GitHubCHANGELOG.mdRepository-level changes and release summaries.
GitHubProject recordsCapability ledger, decisions, acceptance records and historical audits.
GitHubResearch notesDesign explorations, audits and implementation notes from the build log.
HTMLCore architectureInteractive 10-node system map with guided views (zh-CN labels).
HTMLFull panoramaArchitecture, workflow, sequence and data-flow diagram set (zh-CN labels).
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.
Fork & branch
Use a semantic branch name such as feature/evidence-filter or fix/graph-sync.
Run the checks
make formatmake lintmake testOpen a PR
Describe what changed, why, the affected scope and how it was verified. Use the PR template.
Open source, with upstream credit.
MIT License
ResearchCompass is released under the MIT License. The upstream Yuxi copyright notice is retained alongside the ResearchCompass copyright line.
Read LICENSEBuilt 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 YuxiCitation
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.