All Blog Posts

Cover image of this blog post

Building a Tanglish Voice-to-Voice Agent from Scratch: Two LoRAs, a $61 Budget, and a Voice That Finally Sounds Like Chennai

26 min read

How we built a Tanglish (Tamil+English) voice agent with a $61 speech-to-speech stack from scratch.

Cover image of this blog post

Inside the Hexr SDK: Why Grep Beats Embeddings for Agent Code, How We Built a Sub-Second Rust Detector, and the 96% Benchmark

26 min read

Why grep beats embeddings for agent code detection, how we built a sub-second Rust detector, and how it scores 96% on our benchmark.

Cover image of this blog post

Virtual DA: How deepagents and the Self-Harness Loop Built a Legal AI That Refuses to Hallucinate

30 min read

How we built a zero-hallucination legal AI for California criminal law using SaulLM-7B, deepagents for autonomous statute retrieval, and the self-harness loop that lets the system improve its own instructions from its own failure traces.

Cover image of this blog post

Fine-Tuning Retrieval and Context Pruning Models for Stablecoin Regulatory Intelligence

12 min read

How we trained a domain-adapted encoder and a unified reranker/pruner/highlighter, then deployed them for production-grade regulatory search and context compression.

Cover image of this blog post

The Leash and the Wolf: Why Every AI Agent Needs an Orchestrator

20 min read

Deep agents are powerful. But without a state machine holding the leash, they will loop, skip, waste, and crash. Here is the case for deterministic orchestration, told through Goose, mini-swe-agent, Stripe Minions, and OpenClaw.

Cover image of this blog post

Building Faster Multi-Tenant Vector Search: A Deep Dive into Curator

11 min read

Multi-tenant vector search is hard. Curator achieves 3.4x to 17.3x speedups over traditional IVF by encoding tenant membership directly into the index using bloom filters and hierarchical trees.

Cover image of this blog post

The Two Pillars of Modern Generative AI: Contrastive Learning & Flow Matching

18 min read

All modern generative AI, from Image DiT to audio-video synthesis, uses two core concepts: contrastive learning for alignment and flow matching for efficient generation. Here's how PE-AV, SAM Audio, and LTX-2 use these pillars.

Cover image of this blog post

Building a PII Classifier in 2 Hours for $3: A Teacher-Student Distillation Story

13 min read

How I built a production-ready PII classifier using teacher-student distillation for just $3 in 2 hours

Cover image of this blog post

🚀 The Yellowbook Of Agents

6 min read

A comprehensive guide to building intelligent agents

Cover image of this blog post

Building Octopus-Omni-Embed: A Multimodal Embedding Model on a $25 Budget

23 min read

Building a multimodal embedding model on a $25 budget with Octopus-Omni-Embed

Cover image of this blog post

The 2025 Embedding Revolution: How Small Models, Reasoning, and Multimodal Search Are Redefining Intelligence

9 min read

How small models, reasoning, and multimodal search are redefining intelligence in 2025

Cover image of this blog post

Hacking Audio into LLMs: A $5 Journey from nanochat to Multimodal AI

33 min read

How we extended Karpathy's educational ChatGPT clone with Kyutai's neural audio codecs - and why audio is the most underrated modality

Cover image of this blog post

SGLang Deep Dive: Inside SGLang

61 min read

Advanced exploration of SGLang's internal architecture, optimization strategies, and performance characteristics

Cover image of this blog post

Inside SGLang: Anatomy of a High-Performance Structured LLM Inference System

18 min read

From RadixAttention, zero-overhead scheduling, structured generation, to multi-GPU, multi-node dynamic serving at scale

Cover image of this blog post

Nested Embeddings: The Mathematics of Hierarchical Information Encoding in Matryoshka Representation Learning

18 min read

A comprehensive exploration of Matryoshka Representation Learning's mathematical foundations, from nested subspaces and hierarchical information encoding to real-world applications in adaptive AI systems

Cover image of this blog post

Stablebridge: From Knowledge Graph Generation to RAG for Stablecoin Regulatory Intelligence

13 min read

Our comprehensive exploration of Knowledge Graph-based RAG systems for stablecoin regulatory intelligence, from initial knowledge graph generation to performance evaluation against traditional RAG approaches

Cover image of this blog post

Unmasking the True Culprit: Why Temperature=0 Doesn't Mean Deterministic LLM Inference

18 min read

A deep technical dive into batch invariant kernels and the path to truly reproducible language model inference

Cover image of this blog post

MUVERA + PyLate: Building a High-Performance Hybrid Retrieval System with Fixed-Dimensional Encoding

15 min read

Combining the speed of MUVERA's Fixed-Dimensional Encoding with the precision of PyLate's ColBERT late-interaction for next-generation semantic search

Cover image of this blog post

Dual-Cue Retrieval and Iterative Reasoning: Building Intelligent Mortgage Document Agents with SimpleDoc

15 min read

Transforming mortgage document understanding through advanced multi-agent RAG architecture using dual-cue retrieval and iterative reasoning agents

Cover image of this blog post

PWC+ (PapersWithCode Plus)

18 min read

Announcing PWC+, our next-generation AI research platform designed to accelerate discovery and enable seamless collaboration across academic institutions, research labs, and industry partners.

Cover image of this blog post

Fine-Tuning EmbeddingGemma for Mortgage Domain: A Step Toward Hybrid RAG+Knowledge Graph Architecture

10 min read

Building domain-specific embeddings as the foundation for intelligent mortgage document retrieval with 4.06% improvement in NDCG@10 performance

Cover image of this blog post

Context Engineering: The Art and Science of Prompt Architecture

60 min read

Deep dive into context engineering techniques, from basic prompt design to advanced multi-modal context architectures that power next-generation AI systems

Cover image of this blog post

The Blueprint for Context-Aware Retrieval: From Knowledge Graph to Semantic ID

80 min read

Exploring the evolution from traditional mind mapping to generative retrieval systems, leveraging semantic IDs and transformer architectures for next-generation multimodal memory systems

Cover image of this blog post

Beyond Chatbots,Training LLMs with Reinforcement Learning using TorchRL

8 min read

How TorchRL bridges the gap between Large Language Models and Reinforcement Learning

Cover image of this blog post

How ImageBind Creates AI That Sees, Hears, and Understands Like Never Before

25 min read

Breaking the Modality Barriers

Cover image of this blog post

Latent Space and Latent Encoding

11 min read

Understanding Latent Space and Latent Encoding - Theory, Math, and Context in DiT, VACE

Cover image of this blog post

Ensemble NLU by combining DIET, ModernBERT, and LLM

13 min read

Ensemble NLU approaches for processing natural language responses for email and letter rewriting

Cover image of this blog post

EAGLE - Soaring Beyond Speed [ The Art of Accelerated Language Models ]

16 min read

a state-of-the-art speculative sampling method

Cover image of this blog post

From Cloud to Couch -> Supercharging SmolLM2 Inference with HeadInfer, Gemlite, and SGLang

22 min read

Supercharging SmolLM2 Inference with HeadInfer, Gemlite, and SGLang

Cover image of this blog post

From Sparse to Dense - Building Scalable, Knowledgeable AI with Serverless LSM Architecture

30 min read

Lineage of Retrievers + LSM

Cover image of this blog post

Coconut and BLT -> Revolutionizing Reasoning and Language Modeling with Latent Representations

24 min read

Coconut and BLT

Cover image of this blog post

Decoding Silicon Valley Interviews with Probability and Stats

5 min read

The Algorithm of Hiring

Cover image of this blog post

Exploring ALT Architecture and Converged Indexing - A Rust-Based Educational Implementation

3 min read

Exploring ALT Architecture

Cover image of this blog post

Evolving Multi-Agent Systems - The Need for Dynamic Tool Selection

7 min read

The Need for Dynamic Tool Selection in multi agent frameworks

Cover image of this blog post

Mixture of experts with Dropless Computation

30 min read

Dropless MOE - Leveraging Block-Sparse Matrix Operations

Cover image of this blog post

Late chunking, Contextual,Semantic chunking of PDFs, VLMs and Document AI.

23 min read

Boon of late chunking, challenges of creating contextual chunks in long documents.

Cover image of this blog post

Leetmonkey was born on Sep 11th, 2024.

20 min read

Breaking up with Leetcoding based interviews for good. Darn it.

Cover image of this blog post

Neural Networks is beautiful

19 min read

This is a post to highlight some of the beautiful concepts of Neural Networks which makes it worthy. Also, good next post after my calculus and probability post

Cover image of this blog post

Part-1 Reinforcement-Learning - notes

26 min read

This is the first part of future reinforcement learning posts and notes.

Cover image of this blog post

Essence of A/B testing - notes

11 min read

I am scratching the surface of famous A/B testing and some repeated favorite concepts in this post

Cover image of this blog post

Bayesics - My favorite topics, notes from Probability (in- context of machine, deep learning)

22 min read

Essential topics from Probability

Cover image of this blog post

Essence of Calculus, its role in machine learning

20 min read

Essential topics from Calculus

Cover image of this blog post

Essence of Linear Algebra using 100+ years old PCA

13 min read

Notes about PCA algorithm