How authentic-research-partners/research-mentor works
Personal Research Mentor is a local, browser-accessible AI research mentor. A student starts a conversation or selects a Question Workshop approach; the server routes mentoring through an adaptive agent or workshop requests through question-generation pipelines, then presents guidance and research questions. The product also supports guided research sharing, project memory and progress assessment, artifact and data analysis, and academic-resource discovery. SQLite provides local persistence, while selectable LLM backends and external research services supply inference and search. The graph follows README capability descriptions and shown import references; unsampled subsystem wiring is not asserted.
Main entry points: server.py Local API and UI · llm.py LLM backends · graph.py Adaptive mentoring · orchestrator.py Question Workshop
Components 24
Mentoring experience
- Adaptive mentoring
src/research_mentor/agent/graph.py - Project memory
src/research_mentor/embeddings.py - Progress assessment
src/research_mentor/assessment.py - Guided sharing
src/research_mentor/sharing/graph.py - Artifact processing
src/research_mentor/api/artifacts.py - Data analysis
src/research_mentor/data_analysis.py
Question development
- Question Workshop
src/research_mentor/question_workshop/orchestrator.py - Hypothesis chat
src/research_mentor/question_workshop/hypothesis/graph.py - Question pipelines
src/research_mentor/question_workshop - Question selection
src/research_mentor/question_workshop/question_selector.py
Research resources
- Academic search
src/research_mentor/tools/academic_search.py - Researcher discovery
src/research_mentor/tools/researcher_search.py - Retraction search
src/research_mentor/tools/retraction_watch.py - Web search
src/research_mentor/tools/web_search.py
Local runtime
- Local API and UI
src/research_mentor/server.py - LLM backends
src/research_mentor/llm.py - SQLite persistence
src/research_mentor/db/connection.py - Runtime configuration
src/research_mentor/config.py - Claude CLI
src/research_mentor/chat_claude_cli.py - Local vLLM
src/research_mentor/vllm_manager.py
Other components
- Student
- OpenAI-compatible API
- Academic databases
- Web search providers
Connections 23
- Student → Local API and UI: uses locally
- Local API and UI → Adaptive mentoring: routes sessions
src/research_mentor/server.py - Local API and UI → Question Workshop: routes workshop
src/research_mentor/server.py - Question Workshop → Question pipelines: offers approaches
- Question Workshop → Hypothesis chat: offers chat
- Question pipelines → Question selection: filters questions
src/research_mentor/question_workshop/question_selector.py - Local API and UI → Guided sharing: offers sharing
- Local API and UI → Progress assessment: tracks progress
src/research_mentor/server.py - Adaptive mentoring → Project memory: uses semantic memory
- Local API and UI → Artifact processing: offers uploads
src/research_mentor/server.py - Artifact processing → Data analysis: analyzes data
- Adaptive mentoring → LLM backends: requests inference
- Question Workshop → LLM backends: requests inference
- LLM backends → Claude CLI: supports backend
src/research_mentor/llm.py - LLM backends → Local vLLM: supports backend
- LLM backends → OpenAI-compatible API: supports backend
- Local API and UI → Runtime configuration: reads settings
src/research_mentor/server.py - Local API and UI → SQLite persistence: checks schema
src/research_mentor/server.py - Adaptive mentoring → SQLite persistence: persists sessions
- Academic search → Academic databases: searches literature
- Researcher discovery → Academic databases: finds researchers
- Retraction search → Academic databases: checks retractions
- Web search → Web search providers: searches web