
Ranjan Kumar
AI & ML Engineer · Author · Educator
I help AI builders design, build, and ship production-grade AI systems that actually work, cost-effectively, through hands-on writing, books, and practical engineering guidance.
Latest Posts
View all →Local Binary Patterns: The Texture Descriptor That Deep Learning Hasn't Killed
Why LBP still outperforms CNNs in constrained environments - and how to use it correctly in production.
ai-engineeringGlobal Policy Enforcement vs. Per-Agent Gate Rules: Two Layers That Must Not Collapse Into One
Treating fleet-wide policy and per-agent gate logic as the same problem is how you end up with governance theater and brittle agents at the same time.
ai-engineeringUnified Observability Across Agent Fleets: Building the Control Plane Metric Layer
Teams running agent fleets think they have observability because they have traces. They don't - they have logging. Here's what the difference costs you in production.
ai-engineeringValidation Layer Design: Building the Reflex That Catches What the Model Gets Wrong
The model will produce malformed output. Not occasionally - regularly. The Validation Layer is the only thing standing between that malformed output and your downstream systems.
My Books

The ChatML Handbook
Structured Prompting & LLM Conversations
Learn how to structure prompts using ChatML for predictable, production-ready LLM behavior.

Building Real-World Agentic AI Systems
From Prototypes to Production
A practitioner's guide to designing, deploying, and operating reliable agentic AI systems in the real world.
My Toolkit
A collection of tools I've built to boost productivity and simplify workflows.
Developer & AI Tools
Bookmarks
My curated collection of articles, tools, and resources
Test Your Knowledge
Quiz yourself on AI engineering, observability, and production LLM systems
MedhaV - मेधावी
Start every day with clarity

Imagelly
AI-Based SaaS Image Edit/Enhancement Tool
Mermaid Diagram Generator
Create flowcharts, sequence diagrams, and more
MermAniSt — Mermaid Animation Studio
Turn Mermaid diagrams into animated presentations
LinkedIn Text Formatter
Format your LinkedIn posts with bold, italic, and more
MarkMelon: Markdown Editor
Edit, generate docs from Markdown and more
Slides Creator from Markdown
Generate beautiful presentations from Markdown
What I Write About
AI & ML Engineering
Production-ready AI systems, LLMs, and machine learning deployment strategies.
System Design
Scalable architectures, distributed systems, and infrastructure for AI applications.
Real-World Projects
Case studies, lessons learned, and practical insights from production deployments.