Kshitij.ai

Architecture Showcase

Interactive system architecture diagrams and decision records. Explore the technical design behind each AI service.

System Architecture

Click a node for details

Architecture Decision Records

Technology Stack

Frontend

Next.js 15React meta-framework

SSR/SSG hybrid with App Router and React Server Components

TypeScriptType-safe JavaScript

Catch errors at compile time, better DX with autocompletion

Tailwind CSSUtility-first styling

Rapid prototyping, consistent design tokens, tiny production CSS

shadcn/uiComponent primitives

Accessible, unstyled primitives you own — not a dependency

Framer MotionAnimation library

Declarative animations with layout transitions and gestures

Three.js3D rendering

GPU-accelerated 3D visuals for hero sections and backgrounds

Backend

FastAPIPython web framework

Async-first with auto OpenAPI docs and Pydantic validation

Python 3.12Runtime

Latest performance improvements, better error messages, type hints

PydanticData validation

Runtime type checking with serialization for API contracts

SSE (Server-Sent Events)Streaming protocol

Simple unidirectional streaming for AI token generation

AI / ML

scikit-learnML toolkit

Industry-standard for classical ML — URL classifier, pipelines

TF-IDFText vectorization

Zero-cost vectorization for the RAG pipeline, no API needed

Lexicon NLPSentiment analysis

Rule-based sentiment scoring — fast, deterministic, free

RAG PipelineKnowledge retrieval

Custom retrieval-augmented generation with citation tracking

Data

QdrantVector database

Best free tier, self-hostable, excellent payload filtering

Neon PostgreSQLRelational database

Serverless Postgres with branching and auto-scaling

Upstash RedisCache & rate limiting

Serverless Redis with per-request pricing and REST API

Cloudflare R2Object storage

S3-compatible with zero egress fees for media assets

Infrastructure

VercelFrontend hosting

Zero-config Next.js deployments with edge functions

RailwayBackend hosting

Simple container hosting with auto-scaling and health checks

DockerContainerization

Reproducible builds and consistent dev/prod environments

GitHub ActionsCI/CD

Automated testing, linting, and deployment pipelines

CloudflareCDN & DNS

Global edge network with DDoS protection and WAF