How cuhk-aim-group/neurodiscovery works
NeuroDiscovery combines a provenance-aware neuroscience knowledge graph, evidence-grounded hypothesis generation, and NeuroRuntime, which executes selected research workflows and uses their outcomes to guide further research. The graph emphasizes that user-to-result loop while retaining the web interface, model-provider layer, and tool-dispatch boundary. Some links reflect README-described capabilities rather than inspected implementation; unsampled subsystems are shown only where the README or source index supports them.
Main entry points: main.py Agent session · idea_hypotheses.py Hypothesis generation · graph_manager.py Knowledge graph · hypothesis_engine.py Hypothesis engine
Components 24
User interfaces
- CLI
core/cli.py - Web interface
core/web/server.py - Desktop client
desktop/main.js
Evidence and discovery
- Hypothesis generation
core/idea_hypotheses.py - Topic evidence
core/topic_evidence.py - Claim evidence
core/web/claim_evidence.py - Novelty policy
neurooracle/src/novelty_policy.py - Task atoms
neurooracle/src/atoms.py - Hypothesis engine
neurooracle/src/hypothesis_engine.py - Case studies
neurooracle/src/case_studies.py
Research execution
- Agent session
core/agent/main.py - AutoResearch
core/autoresearch.py - NeuroRuntime execution
core/autoresearch_runtime.py - Tool pipeline
core/tool_pipeline.py - Tool outcomes
core/tool_outcomes.py
Knowledge graph
- Knowledge ingestion
neurooracle/src/ingest_pipeline.py - Knowledge graph
neurooracle/src/graph_manager.py - Graph schema
neurooracle/src/schema.py - Graph storage
neurooracle/src/storage.py
Runtime foundations
- Model providers
core/llm/adapters.py - Model capabilities
core/llm/model_capabilities.py - Provider profiles
core/llm/provider_profiles.py - File checkpoints
core/checkpoint/manager.py
Other components
- Researcher
Connections 29
- Researcher → CLI: starts research
README.md - Researcher → Web interface: starts research
README.md - Researcher → Desktop client: starts research
README.md - CLI → Agent session: starts session
- Web interface → Agent session: routes chat
core/web/server.py - Agent session → Hypothesis generation: generates ideas
core/agent/main.py - Agent session → AutoResearch: runs research
core/agent/main.py - Agent session → Model providers: requests completions
core/agent/main.py - Agent session → Tool pipeline: dispatches tools
core/agent/main.py - Hypothesis generation → Task atoms: uses task atoms
core/idea_hypotheses.py - Hypothesis generation → Hypothesis engine: uses generator
core/idea_hypotheses.py - Hypothesis generation → Topic evidence: uses evidence
core/idea_hypotheses.py - Topic evidence → Claim evidence: reads claims
core/topic_evidence.py - Hypothesis engine → Knowledge graph: traverses graph
neurooracle/src/hypothesis_engine.py - Hypothesis engine → Task atoms: uses task atoms
neurooracle/src/hypothesis_engine.py - Hypothesis generation → Novelty policy: applies novelty
README.md - Knowledge ingestion → Knowledge graph: builds graph
neurooracle/src/ingest_pipeline.py - Knowledge graph → Graph schema: uses schema
neurooracle/src/graph_manager.py - Graph storage → Knowledge graph: loads and saves
neurooracle/src/storage.py - Graph storage → Graph schema: serializes entities
neurooracle/src/storage.py - AutoResearch → NeuroRuntime execution: coordinates execution
- NeuroRuntime execution → Tool pipeline: invokes tools
- Tool pipeline → Tool outcomes: normalizes results
core/tool_pipeline.py - Tool outcomes → Agent session: returns results
core/agent/main.py - NeuroRuntime execution → Case studies: tests hypotheses
README.md - Case studies → Task atoms: uses task atoms
neurooracle/src/case_studies.py - Model providers → Model capabilities: checks capabilities
core/llm/adapters.py - Model capabilities → Provider profiles: uses provider profiles
core/llm/model_capabilities.py - Agent session → File checkpoints: checkpoints workspace
core/agent/main.py