Skip to content
Back to projects

Full-Stack · 2026

CognifyAI: AI Code Analysis Platform

Full-stack platform doing syntax validation, bug detection, security scanning, complexity analysis, optimization suggestions and automatic documentation, through a six-stage sequential analysis pipeline with real-time NDJSON streaming.

Architecture

  1. Code Input
  2. Syntax Check
  3. Bug & Security Scan
  4. Complexity
  5. Optimization
  6. Docs Generation

Model

  • Static analysis: AST-based syntax validation, complexity metrics and security pattern scanning
  • LLM layer: Mistral via LangChain for optimization suggestions and documentation generation
  • Pipeline: six sequential stages, each emitting NDJSON events as it completes

Dataset

No training — analysis combines rule-based static analysis with LLM reasoning over the submitted code.

Results & metrics

Pipeline stages
6 sequential
Streaming
real-time NDJSON
Editor
Monaco in-browser

Deployment steps

  1. 1Submit code through the React + Monaco frontend
  2. 2FastAPI runs the six-stage pipeline, streaming NDJSON progress events
  3. 3Results and history stored in PostgreSQL
  4. 4Ship the whole stack with Docker

Tech stack

  • FastAPI
  • PostgreSQL
  • LangChain
  • React
  • TypeScript
  • Monaco Editor
  • Docker
  • Mistral
M

drawing ideas into systems...