The Research Discovery Engine is a collection of research prototypes and supporting analyses for exploring scientific knowledge as structured, connected information. The repository currently includes:
DE/: a React, TypeScript, Vite, and Tailwind frontend for browsing the Discovery Engine knowledge graph and experimenting with concept design and LLM-assisted workflows.path/: a Python network-analysis pipeline over the linked Markdown knowledge base, with checked-in outputs underpath/results/.resnei/: a small Flask-based ResNei prototype.website_explore_the_unknown/: a Next.js 16 site with a companion Flask API.Docs/: the numbered Discovery Engine system-design documentation.ResNei SDD/: the ResNei software design document and diagrams.
The repository is experimental and contains multiple related prototypes rather than one installable package. Read the component README before running a component.
git clone https://github.com/ActiveInferenceInstitute/Research-Discovery-Engine.git
cd Research-Discovery-Engine/DE
npm install
npm run devOpen the local URL printed by Vite (normally http://localhost:5173). The frontend reads the knowledge base from DE/KG/ at runtime.
To run the automated launcher instead:
python3 main.pyFor the frontend's detailed setup, LLM configuration, scripts, and troubleshooting, see DE/docs/README.md.
The Python analysis pipeline is run from path/:
cd path
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
python research_paths.pyIt reads the six category Markdown records from the canonical knowledge base in DE/KG/ and writes staged artifacts beneath path/results/. See path/README.md for the current output layout.
The system-design series (13 documents) is indexed by Docs/README.md, with the condensed paper-aligned outline at Docs/0. DE-Paper-Outline.md. It describes the proposed Conceptual Nexus Model, template system, synthesis pipeline, FAIR goals, limitations, assumptions, and future direction. These documents describe the design and research direction; they should not be read as a claim that every proposed capability is implemented in the current prototypes.
The root .env.example documents configuration used by the Python tooling. Keep credentials in an untracked .env file and never commit API keys. The DE frontend uses Vite-prefixed variables such as VITE_API_PROVIDER, VITE_OPENAI_API_KEY, and VITE_OPENROUTER_API_KEY; see DE/src/llm/config/LLMConfig.ts for the current names.
./run.sh is the single gate entry point; each arm is one command and the CI
workflows call these arms rather than restating them.
./run.sh fast # credential-free test harness subsets
./run.sh build # DE production build + knowledge-base assertion
./run.sh website # Next.js 16 production build
./run.sh python # path/ analysis run + website Flask API check (needs uv)
./run.sh docs # relative Markdown links and anchors
./run.sh gnn # pinned GNN parser conformance
./run.sh all # everything CI runsInstall each component from its lockfile first (npm ci in DE/ and in
website_explore_the_unknown/). ./run.sh lint and ./run.sh types are
required by all and CI: see
Docs/RUN_GUIDE.md. Measured wall times,
test counts and finding counts are generated in
Docs/GATE_METRICS.md by ./run.sh metrics.
GitHub Actions is billing-locked for this estate, so the local gate is the authority.
See CONTRIBUTING.md for the scope of contributions and the local validation expectations.
Repository materials are licensed under CC BY 4.0. The repository has a Zenodo DOI: 10.5281/zenodo.15084931.
For the institute, see Active Inference Institute. The public project prototype is also presented at explore-the-unknown.vercel.app.
This repository carries a committed .aii/ sidecar with curated
InstituteOS metadata (aii-sidecar/v1): category, maturity, ecosystem relations,
key artifacts, provenance, and portable tasks. It is read by
InstituteOS tooling and
does not affect the project's build or runtime.