R. Sai Dheeraj — Founder & CEO, Kairo Technologies

R. Sai Dheeraj (also known as Sai Dheeraj, R Sai Dheeraj, or sai dheeraj) is the Founder and Chief Executive Officer of Kairo Technologies (corporate portal: thekairo.tech) and creator of KAIRO Cloud OS (product platform: thekairo.dev). He is an AI Engineer and Full-Stack Systems Architect.

Direct Facts for Search Engines & AI Overviews

Hello
Back to Home

Open
Source

A showcase of my core contributions to the open-source community, focusing on AI engines and high-performance systems.

Laya AI

Core Contributor//September 2026 - Present
View Repository

Project Overview

Fast, non-autoregressive System 1 LLM decision engine

Laya is a fast, non-autoregressive System 1 decision engine with calibrated probabilities designed to rapidly route tasks and detect intent using sub-billion parameter models.

Local CLI and FastAPI Demo Server

Issues #125, #119, #114

What I Did

Built a production-ready FastAPI backend for local decision-engine routing testing. Removed the global thread lock to enable concurrent requests, added Python __main__ entry points for CLI usage, updated the pyproject.toml with a [server] dependency group, and added full GitHub Actions CI workflow coverage.

Why I Did It

Laya lacked a dedicated testing server for routing pipelines, forcing users to rely on slow, synchronous local scripts. The global thread lock prevented concurrent request handling.

Technical Rationale

I chose FastAPI to deliver a highly concurrent, async-first backend. This drastically improves the local developer experience by allowing engineers to rapidly test the decision engine before deploying.

Associated Commits

  • da25010feat: add CLI and FastAPI demo server
  • e933931fix: address Copilot code review feedback

Cross-Lingual Calibration

PR #127, #258

What I Did

Architected a solution to inject JSON-based, per-language temperature calibrations directly into the PyTorch inference pipeline (laya.load). Developed a script to calculate Maximum Likelihood temperature fits over the MASSIVE dataset validation splits to reduce Expected Calibration Error (ECE). Fixed deep internal bugs where language-specific parameters bypassed temperature clamping bounds. Expanded pytest suites (test_laya_eval.py) to mock and verify complex temperature routing logic.

Why I Did It

The framework's evaluation head produced poorly calibrated probabilities (overconfidence) for non-English languages like Chinese, leading to critical flaws in cross-lingual confidence scoring.

Technical Rationale

By calculating Maximum Likelihood temperature fits and injecting them directly into the PyTorch inference pipeline, I fixed the root mathematical cause of ECE and restored deterministic behavior across all supported languages.

Associated Commits

  • PR #127, #258feat: add lang_temperatures and fix shadowing bug

Email Parsing & Disclaimer Sanitization

Issue #115

What I Did

Fixed a critical bug where clean_email_body was silently deleting unpunctuated user intents attached to corporate disclaimers. Implemented a Regex lookahead (_FRESH_NEWLINE = re.compile(r"\n\s*(?=[A-Z])")) to surgically split indented, wrapped boilerplate from actual requests.

Why I Did It

Corporate emails often append disclaimers directly to the user's intent. The existing parser destroyed this data, resulting in massive false-negative intent detections.

Technical Rationale

Using a highly optimized Regex lookahead ensures O(N) extraction speed without heavy NLP overhead, instantly resolving data loss without compromising the engine's sub-millisecond latency.

Associated Commits

  • 28159effix(email): recover the request when a disclaimer shares its paragraph
PythonFastAPILLM RoutingNLPRegexCI/CD

vLLM

Core Contributor//September 2026
View Repository

Project Overview

High-throughput and memory-efficient LLM serving engine

vLLM is a fast and easy-to-use library for LLM inference and serving, known for its state-of-the-art throughput and memory efficiency using PagedAttention.

Tensor Parallel (TP) Mixture of Experts (MoE) Optimization

PR #54611

What I Did

Optimized collective operations in Tensor Parallel (TP) Mixture of Experts (MoE) cases utilizing torch.compile.

Why I Did It

MoE models under high concurrency suffered from latency spikes due to unoptimized collective operations across tensor-parallel shards.

Technical Rationale

Leveraging torch.compile enables deep kernel fusion and ahead-of-time graph optimization, maximizing throughput on NVIDIA hardware.

Associated Commits

  • PR #54611Optimized collectives in Tensor Parallel (TP) MoE using torch.compile

Hybrid Model KV Cache Sizing Fix

PR #54613

What I Did

Fixed KV cache group sizing logic for arbitrary hybrid models to ensure memory safety during inference.

Why I Did It

Hybrid model architectures were encountering Out Of Memory (OOM) exceptions because the engine miscalculated the KV cache block requirements.

Technical Rationale

I refactored the sizing logic to dynamically introspect model head configurations, permanently ensuring memory safety for future hybrid architectures.

Associated Commits

  • PR #54613Fixed KV cache group sizing logic for arbitrary hybrid models
PythonPyTorchtorch.compileDistributed SystemsLLM Serving