Diary of Koushik
Available for work
HEY, I'M KAUSHIK ๐Ÿ‘‹AI Engineer & Backend Engineer

I build AI-powered systems that solve real problems.

I combine AI engineering with backend expertise to build scalable systems, experiment with modern models, and share everything I learn.

Filed under

  • AI Systems
  • Backend Systems
  • Scalable APIs
  • Data Engineering

Tooling

  • Docker
  • Kubernetes
  • CI/CD (GitHub Actions)
  • Monitoring (Prometheus + Grafana)

Sheet 01

End-to-End AI System Architecture

System ready

Flow: Clients to API Gateway to AI service layer to Data layer. The Task Orchestrator and the Messaging / Queue box are connected in both directions.

Clients

  • Web App
  • Mobile App
  • API Clients
  • API GatewayRate Limiting & Auth

AI Service Layer

  • Auth ServiceJWT & Session RBAC
  • Inference ServiceLocal & Cloud LLMs
  • Task OrchestratorTool Calls & Reasoning

Messaging / Queue

Kafka / Redis Streams

Data Layer

  • PostgreSQL
  • Vector DB (Milvus)
  • Redis Cache
  • Object Storage (S3)

02Selected work

03 projects, each one filed with its outcomes and stack.

Case file 01shipped 2026

AI SystemAI & Backend Engineer

Enterprise RAG & Empirical Evaluation Pipeline

Enterprise-grade Retrieval-Augmented Generation system with Hybrid Search (Dense + BM25), neural cross-encoder reranking, and continuous RAGAS evaluation.

Outcomes

Faithfulness Score
89.4%
Context Recall
91.2%
Inference Cost
-55% Token Waste
  • Python
  • Qdrant / PgVector
  • BM25 Sparse Search
  • Cross-Encoder Reranker
  • RAGAS Framework
  • Docker
Case file 02shipped 2026

AI AgentAI & Backend Engineer

Enterprise Slack Model Context Protocol (MCP) Server

Production-ready Model Context Protocol server enabling Claude, Antigravity, and AI Agents to securely inspect Slack channels, send messages, and dispatch Block Kit rich alerts.

Outcomes

MCP Tools Exposed
4 Tools
Channel Resolution
<50ms
Protocol Safety
Zero Stdout Leak
  • Python
  • Anthropic MCP SDK
  • Slack Web API
  • Block Kit
  • AsyncIO
  • Pytest
Case file 03shipped 2026

AI SystemAI & Backend Engineer

Natural Language โ†’ SQL with Clarification Engine

Production-grade Text-to-SQL system with proactive ambiguity detection, AST safety validator, and read-only query execution across 1.55M+ relational e-commerce records.

Outcomes

Records Queried
1.55M+
Ambiguity Accuracy
94.2%
Safety Enforcement
100% Read-Only
  • Python
  • FastAPI
  • PostgreSQL
  • sqlglot
  • Pydantic
  • Pytest
  • Docker

03Journey

Learning journey

  1. Current

    Agentic AI & Production Distributed Systems

    Building enterprise multi-agent workflows, tool use, eval frameworks, and low-latency inference pipelines.

  2. Advanced LLMs & Context Engineering

    Specialized in advanced RAG, graph retrieval, AST safety validation, and Model Context Protocol (MCP).

  3. System Design & Backend Architecture at Scale

    Mastered high-concurrency event-driven systems, Kafka, Redis caching layers, and cloud native architectures.

  4. Data Engineering & Machine Learning Foundations

    Built relational schemas, automated data pipelines, query optimization, and ML model evaluation harness.

  5. Computer Science Foundations & Algorithms

    Deep focus on Data Structures & Algorithms, competitive programming (1960+ rating), and OS fundamentals.

04Problem solving

DSA & Problem Solving

View profile

05Writing

Featured article

Why 80% of Enterprise RAG Pipelines Fail Before They Reach the Vector Database

Scrambled tables, dirty OCR, and orphan chunks quietly poison vector search โ€” here's the four-stage pipeline I use to stop it.

Kaushik Das7 min read

What's inside

  • The Four Ways Enterprise Data Breaks RAG
  • The Fix: Decouple Cleansing From Retrieval
  • Stage 1: Deterministic Rule-Based Cleansing
  • Stage 2: Structural and Layout Reconstruction
  • Stage 3: Semantic Repair via Small Language Models

latest entry

Latest knowledge

  1. 01

    Two Sum: One-Pass Hash Table Pattern

    Sep 4, 2026

    How to convert an O(nยฒ) pairwise search into an O(n) linear scan by dynamically storing previously visited complements in a hash map.

  2. 02

    Valid Parentheses: LIFO Stack Invariant

    Sep 4, 2026

    Master the Last-In First-Out bracket validation pattern to guarantee well-nested code, arithmetic parsing, and balanced delimiters.

  3. 03

    Reverse Linked List: Three-Pointer In-Place Reversal

    Sep 4, 2026

    How to reverse a singly linked list in-place using prev, curr, and next pointers with O(1) auxiliary space.

  4. 04

    Binary Tree Inorder: Iterative Stack Simulation

    Sep 4, 2026

    Simulating recursion depth-first with an explicit stack to perform Left-Root-Right tree traversals.

View all posts

06Lab

Nothing filed here yet.

The lab notebook is empty for now.

07Videos

Nothing filed here yet.

Videos will be filed here.

08Contact

Write to me