NexusMind

by SaptaDey
  • Linux
  • Apple
Integrations
  • Generates diagram visualizations of the reasoning process, showing the 8-stage pipeline flow and relationship between different components

🧠 NexusMind

Intelligent Scientific Reasoning through Graph-of-Thoughts

🔍 Overview

NexusMind leverages graph structures to perform sophisticated scientific reasoning. It implements the Model Context Protocol (MCP) to integrate with AI applications like Claude Desktop.

Key highlights:

  • Process complex scientific queries using graph-based reasoning
  • Dynamic confidence scoring with multi-dimensional evaluations
  • Built with modern Python and FastAPI for high performance
  • Dockerized for easy deployment
  • Modular design for extensibility and customization

🌟 Key Features

8-Stage Reasoning Pipeline

The core reasoning process follows a sophisticated 8-stage pipeline:

  1. 🌱 Initialization
    • Creates root node from query
    • Establishes initial graph structure
    • Sets confidence baseline
  2. 🧩 Decomposition
    • Breaks query into dimensions
    • Identifies key components
    • Creates dimensional nodes
  3. 🔬 Hypothesis/Planning
    • Generates multiple hypotheses
    • Creates reasoning strategy
    • Establishes falsification criteria
  4. 📊 Evidence Integration
    • Gathers supporting evidence
    • Links evidence to hypotheses
    • Updates confidence scores
  5. ✂️ Pruning/Merging
    • Removes low-value elements
    • Consolidates similar nodes
    • Optimizes graph structure
  6. 🔍 Subgraph Extraction
    • Identifies relevant portions
    • Focuses on high-value paths
    • Creates targeted subgraphs
  7. 📝 Composition
    • Synthesizes key findings
    • Creates coherent insights
    • Generates comprehensive answer
  8. 🤔 Reflection
    • Evaluates reasoning quality
    • Identifies improvement areas
    • Final confidence assessment

Technical Capabilities

  • 🧠 Graph Knowledge Representation: Uses networkx to model complex relationships
  • 🔄 Dynamic Confidence Vectors:
    • Empirical support
    • Theoretical basis
    • Methodological rigor
    • Consensus alignment
  • 🔌 MCP Server: Seamless Claude Desktop integration
  • ⚡ High-Performance API: Modern FastAPI implementation
  • 🐳 Easy Deployment: Docker & Docker Compose support
  • 🧩 Extensible Architecture: Modular components for customization
  • ⚙️ Flexible Configuration: Pydantic & YAML configuration

🛠️ Technology Stack

📂 Project Structure

asr-got-reimagined/ ├── config/ │ ├── settings.yaml │ └── claude_mcp_config.json ├── src/asr_got_reimagined/ │ ├── api/ │ │ ├── routes/ │ │ │ └── mcp.py │ │ └── schemas.py │ ├── domain/ │ │ ├── models/ │ │ │ ├── common.py │ │ │ ├── graph_elements.py │ │ │ └── graph_state.py │ │ ├── services/ │ │ │ └── got_processor.py │ │ ├── stages/ │ │ │ ├── base_stage.py │ │ │ ├── stage_1_*.py │ │ │ └── stage_2_*.py... │ │ └── utils/ │ ├── main.py │ └── app_setup.py ├── scripts/ ├── Dockerfile ├── docker-compose.yml └── pyproject.toml

🚀 Getting Started

Prerequisites

  • Python 3.13+ (Docker image uses Python 3.13.3-slim-bookworm)
  • Poetry: For dependency management
  • Docker and Docker Compose: For containerized deployment

Installation and Setup (Local Development)

  1. Clone the repository:
    git clone https://github.com/SaptaDey/NexusMind.git cd asr-got-reimagined
  2. Install dependencies using Poetry:
    poetry install
    This creates a virtual environment and installs all necessary packages specified in pyproject.toml.
  3. Activate the virtual environment:
    poetry shell
  4. Configure the application:
    • Adjust settings in config/settings.yaml as needed
    • Configure environment variables or a .env file for sensitive information
  5. Run the development server:
    python src/asr_got_reimagined/main.py
    Alternatively, for more control:
    uvicorn asr_got_reimagined.main:app --reload --host 0.0.0.0 --port 8000
    The API will be available at http://localhost:8000.

Docker Deployment

  1. Build and run the Docker containers:
    docker-compose up --build
    For detached mode:
    docker-compose up --build -d
    The Docker image uses Python 3.13.3-slim-bookworm as the base image for improved performance and security.
  2. Access the API: The API will be accessible at http://localhost:8000 (or as configured in docker-compose.yml).

🔌 API Endpoints

Core Endpoints

  • MCP Endpoint: POST /mcp
    • For communication with MCP clients like Claude Desktop
    • Implements the Model Context Protocol for AI interaction
  • Health Check: GET /health
    • Basic health check for monitoring and service discovery

Additional Endpoints (Planned)

  • Graph Query: POST /api/graph/query
    • Direct interface for ASR-GoT queries
  • Graph State: GET /api/graph/{session_id}
    • Retrieve current state of a reasoning graph
  • Analytics: GET /api/analytics/{session_id}
    • Get metrics about the reasoning process

🧪 Testing & Quality

Development Tools

  • Type Safety:
    • Configured with mypy.ini and pyrightconfig.json
    • Fix logger type issues with python scripts/add_type_hints.py
  • Code Quality:
    • Fully typed codebase with type annotations
    • Pre-commit hooks available: poetry run pre-commit install
    • Automated formatting with Ruff
-
security - not tested
F
license - not found
-
quality - not tested

An MCP server that leverages graph structures to perform sophisticated scientific reasoning through an 8-stage processing pipeline, enabling AI systems to handle complex scientific queries with dynamic confidence scoring.

  1. Intelligent Scientific Reasoning through Graph-of-Thoughts
    1. 🔍 Overview
      1. 🌟 Key Features
        1. 8-Stage Reasoning Pipeline
        2. Technical Capabilities
      2. 🛠️ Technology Stack
        1. 📂 Project Structure
          1. 🚀 Getting Started
            1. Prerequisites
            2. Installation and Setup (Local Development)
            3. Docker Deployment
          2. 🔌 API Endpoints
            1. Core Endpoints
            2. Additional Endpoints (Planned)
          3. 🧪 Testing & Quality
            1. Development Tools

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A minimal MCP Server that provides Claude AI models with the 'think' tool capability, enabling better performance on complex reasoning tasks by allowing the model to pause during response generation for additional thinking steps.
            Last updated -
            525
            1
            TypeScript
            MIT License
            • Apple
          • A
            security
            A
            license
            A
            quality
            A sophisticated MCP server that provides a multi-dimensional, adaptive reasoning framework for AI assistants, replacing linear reasoning with a graph-based architecture for more nuanced cognitive processes.
            Last updated -
            1
            174
            13
            TypeScript
            MIT License
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            An MCP server that allows AI assistants to interact with Foundry datasets, ontology objects, and functions through natural language queries and commands.
            Last updated -
            2
            Python
            MIT License
          • -
            security
            F
            license
            -
            quality
            An advanced MCP server that implements sophisticated sequential thinking using a coordinated team of specialized AI agents (Planner, Researcher, Analyzer, Critic, Synthesizer) to deeply analyze problems and provide high-quality, structured reasoning.
            Last updated -
            124
            Python
            • Linux
            • Apple

          View all related MCP servers

          ID: 0fkpvvka2o