Avinish Kumar, back to top
Currently: AI Platform @ Leena AI

Backends that run AI agents.

Backend engineer building AI agents at scale: distributed systems, real-time streaming, message queues, zero-downtime migrations, and multi-region AWS.

4+
years building backends
500+
enterprises on my runtime
60-80%
less token spend per AI review

01About

I work on the AI Platform at Leena AI, where the systems I build carry every conversation between an enterprise employee and an AI agent, across 500+ enterprises: the streaming runtime, the agent auth, the channel integrations. When a message survives a pod restart or a dropped socket, that is my code doing its job quietly.

I build most of it with Claude at the center of my workflow. The review pipelines, test generators, and code search tools I wrote for myself now run for my whole team, and made our delivery cycles roughly 10x faster. I started out writing test automation at Cognizant, which is why I still write code assuming someone will try to break it. Along the way I earned an M.Tech in AI and Data Science from IIT Patna.

Interactive

02How an agent turn works

What happens between someone pressing send and an AI agent's reply. On the left, what they see; on the right, the runtime I build doing its job. Hit “drop the connection” to cut the network mid-reply and watch nothing get lost.

example: one agent turn
Admin console · AI agent
Update the HR bot's greeting to “Hi, how can HR help today?”
●update_bot_config(greeting)running

✕ Connection dropped mid-reply
✕ Reconnecting…
✓ Reconnected: missed words replayed, nothing lost

now · step 1 The admin's message reaches the runtime.

now · step 2 Token verified; this admin may change bot settings.

now · step 3 Conversation, available tools and instructions go into one prompt.

now · step 4 Words stream to the screen as they're generated.

now · step 5 It calls the platform API that updates the bot.

now · step 6 The rest streams back; a dropped connection resumes where it left off.

done Six steps, one reply. Try dropping the connection.

  1. Message arrivesWebSocket
  2. Check who's askingJWT · ACL
  3. Gather contexthistory + tools
  4. Model starts replyingLLM stream
  5. Agent takes an actiontool call
  6. Reply finishesSSE · replay

03Selected work

Agent Dashboard

An AI operator agent inside the admin console. Streams responses over SSE, executes tools against platform APIs, and lets admins configure and debug bots conversationally. Exposed over A2A and MCP so external agents can drive the same workflows.

surfaces: console, A2A, MCP
3
enterprises on the platform
500+
ClaudeSSEA2AMCPRead case study →
2026

Multi-agent PR review pipeline

A tiered pipeline of Claude review agents with adversarial verification, adopted team-wide. Lower LLM token spend per review, and turnaround cut from hours to minutes.

less token spend per review
60-80%
review turnaround
hrs → min
Claude APITypeScriptRead case study →
2026

Streaming conversation runtime

Real-time SSE and WebSocket backbone: reconnect message replay, server-driven UI components, and agent token auth (JWT/ACL) on Node.js/TypeScript microservices across multi-region AWS.

enterprises served
500+
AWS deployment
multi-region
WebSocketsRabbitMQMongoDBRead case study →
2025

Enterprise channel integrations

Shipped WhatsApp v2, MS Teams provisioning, live-chat handoff with RFC 7662 token introspection, and SAML SSO, end to end.

channel and auth integrations
4
OAuthSAMLREST
2025

Pre-deploy release gate

A mandatory sign-off gate covering scalability, reliability, feature flags, and latency, backed by RabbitMQ service-level health checks and zero-downtime DB migration patterns.

product modules gated
3
RabbitMQCI/CDL3
2025

Semantic code search MCP

Natural-language code search across the team's repositories, built on tree-sitter parsing, BM25, and vector embeddings.

repositories indexed
9
MCPEmbeddings
2025

Design system & micro-frontends

A component design system and micro-frontend framework. Migrating legacy frontends to a modular monorepo cut build times, and Lighthouse-driven work improved load performance.

engineers build on it
25+
faster builds
50%
better load performance
35%
ReactStorybook
2023

04Inside the PR review pipeline

Three agents review every pull request the way a good team does: one decides what needs a look, specialists look, and a skeptic throws out anything that doesn't hold up.

  1. Step 01

    Triage agent

    Decides what the change needs reviewed.

  2. Step 02

    Specialist agents

    Focused reviewers work only on what triage flagged.

    + MCP code search context from 9 repos, not just the diff

  3. Step 03

    Adversarial verifier

    Challenges each finding; weak ones are dropped.

60-80%lower LLM token spend per reviewhrs → minreview turnaroundRead the case study →Read the write-up ↗

05Skills

Tap any skill and my agent shows where I've used it. Highlighted skills are what my production work runs on.

Backend

AI & LLM

Frontend

Practices

06Experience

Jul 2022 - Present

Software Engineer, AI Platform at Leena AI

Own the real-time conversation runtime and agent auth behind AI agents for 500+ enterprises. Built the Agent Dashboard and the team's Claude Code + MCP toolchain, shipped 4 channel and auth integrations, led a 948-error type-safety migration, and run L3 support and releases for 3 product modules.

Node.jsTypeScriptMongoDBRabbitMQKubernetesAWSClaude
Feb 2022 - Jul 2022

Software Engineer Intern at Cognizant

Migrated a legacy BackboneJS frontend to React, shipped new Chrome-extension features, and built end-to-end web test automation that cut manual QA effort.

ReactJavaScriptChrome extensionsTest automation

07Education

2024 - 2025

Indian Institute of Technology, Patna

M.Tech, Artificial Intelligence & Data Science Engineering. 8.80 CPI

2018 - 2022

Chandigarh Engineering College

Bachelor of Engineering, Computer Science. 7.80 CGPA

Certifications

MongoDB certified: Building AI Agents, AI-Powered Search with Vector Search, RAG Apps

08Writing

Interactive

09Ask my agent

An agent trained on my profile. Ask it anything about me: it answers questions, hands over my resume, and can take you to any section of this site.

agent: ask about Avinish

An agent trained on Avinish's profile. Ask about his work, experience, skills, or how to get in touch.

Open to Senior AI Engineer roles: AI agents, LLM systems and the backends behind them, and to conversations about LLM-powered developer tooling.

mr.avinish@gmail.com