
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-engineeringMulti-Agent Pipeline Orchestration and Failure Propagation: Designing for Blast Radius
Retry logic tells an agent what to do when it fails. A pipeline halt protocol tells the entire fleet what to do. Most production systems only have one of these.
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-engineeringCost Governance and Budget Allocation Across Agent Types: Token Spend Is Infrastructure Spend
Most teams discover their agent fleet's true cost on the invoice. By then, three budget cycles of misconfigured pipelines have already run.
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
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.