
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 →Subagents: How to Run Parallelism Inside a Single Agent Session Without Poisoning the Parent
Every subagent burns its own context so the parent doesn't have to. That's the entire architecture.
ai-engineeringHooks: The Enforcement Layer That Turns Agent Policy Into Agent Fact
Prompts suggest. Hooks enforce. Until you know the difference, your agent's safety guarantees are probabilistic.
ai-engineeringContext Engineering: The Skill That Separates Production Agents from Demos
Prompt engineering tells the model what to do. Context engineering determines whether it can actually do it.
ai-engineeringWhich Claude Code Layer Solves Your Problem? A Diagnostic Guide for AI Engineers
Reaching for a subagent when you needed a skill is the most common mistake teams make. Here is how to stop making it.
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.