Kkarthik.dev
Back to projects
AI

NeuroSymbolic AI

Hybrid symbolic-neural multi-agent decision platform: calibrated ML plus hard rules, with every decision explained

PythonFastAPIscikit-learnSHAPNext.jsDockerOpenStreetMap (OSRM)

Overview

A decision-support platform where a calibrated machine-learning model and a deterministic rules engine work together through collaborating agents. A sister project applies the same framework to real-time risk mapping and safe route recommendations.

Problem

Black-box models can't be trusted for high-stakes decisions, and pure rules miss statistical patterns.

Solution

A balanced random forest with probability calibration and SHAP explanations, fused with a symbolic knowledge base whose hard rules override the model when a critical threshold or compliance rule is hit.

Architecture

  1. 1Multi-agent pipeline coordinated by a finite-state machine
  2. 2Calibrated ML model with SHAP feature attributions
  3. 3Symbolic rules engine with a decision-fusion matrix
  4. 4Natural-language explanation of every decision

Technical Challenges

  • Reconciling a probability with a hard rule so the result stays explainable.

Results

  • 27/27 automated tests passing.
  • Every decision ships with feature attributions, fired rules and a plain-language explanation.