shreyan basu ray
/home /work /consulting /writing /about
schedule a meet →

AI systems that hold up in production.

I build them, cost them out, and measure what they do once real users arrive.

ML engineer responsible AI quantum ML technical author @W&B hackathon mentor speaker
Consult me now → See the work
Shreyan Basu Ray

that's me, Shreyan ✦

17+
technical articles for weights & biases
600+
builders in claude developers india ✦ join the group →

What I'm doing now

✦ august 2026
aug 2026 Building a stealth project on Physical AI.
aug 2026 Writing a technical article on Diffusion LLMs for Weights and Biases.
jun 2026 Working on cc-habits and terminal escape injection.

How I have helped enterprises achieve

all cases →
enterprise voice agent platform ✦ in production

A voice agent that runs at ₹2.29 a minute

Built as backend infrastructure so the client can stand up voice AI customer support for any company that needs it. I costed it layer by layer before writing code, and the stack was chosen against that model rather than against a benchmark.

₹2.29 per minute, all in, at production quality. It is live and running.

read in detail →
per-minute variable cost
STT, Google standard$0.024
LLM, Gemini 2.0 Flash$0.0001125
TTS, Neural2 / HD$0.000008
RAG, retrieval + embeddings$0.00002
total $0.02414

₹2.29 at ₹95/USD

risk intelligence ✦ fintech

The metric was measuring the wrong thing

The reported distress rate was climbing, 21 percent to 27 percent year over year, and it read like a market signal. It was 187 spurious labels from companies that had simply not filed their accounts. I traced it to the label definition rather than to the model, and added a reportability gate that holds the rate inside a point.

92.155% on current-year distress flagging ✦ SHAP attached to every prediction

read in detail →
natural language to SQL ✦ facilities SaaS

₹95,000 a month for bad answers

A facilities management platform was paying a vendor copilot to answer questions about their own data badly. I modelled the unit economics layer by layer before writing code: the cheapest model for intent routing, semantic table selection so only relevant schemas reach the LLM, three tiers of cache.

₹95,000 to ₹35,000 a month ✦ post-deployment spend tracked the model

read in detail →

What I've built in the open

github →

cc-habits ↗

open source

developers across nine coding tools

A tool-agnostic memory layer that learns a developer's habits from real edits and writes them into whichever coding agent they are using. One thousand and sixty-seven tests across sixty-six files, twelve of them security suites, after a hardening sprint that closed symlink races, Unicode sanitiser bypass and indirect prompt injection.

eleven stars ✦ security audit public in the repo

QuantumAI-Noob2Pro ↗

19★ / 8 forks

Twenty-six executed notebooks and thirty-eight unsolved problems across four tiers, some deliberately set as traps where the expected answer is that the quantum method loses. On the Wisconsin breast cancer set a classical SVM takes 96.25 percent in under a millisecond while the best quantum kernel takes 95 percent in twelve seconds.

MIT ✦ running since december 2024

How durable text watermarks actually are under regeneration. The repository carries an explicit note on use citing EU AI Act Article 50(2).

What I've published

google scholar →
working paper ✦ july 2026

Agent Complexity Theory

Choose an agent architecture before you build it, not after benchmarking.

A computational theory that characterises an agentic workflow by the intrinsic difficulty of the task and the complexity signature of the architecture. Signatures derived for four machine families with matching lower bounds, and reconciled against ten production workflows.

33 pages ✦ four complete case studies ✦ one documented failure case

read the paper →

framework

SafeTrust: agentic development in India ↗

A framework for building and deploying agentic systems responsibly in the Indian context.

peer reviewed

Quantum Neural Networks ↗

A book chapter on where quantum machine learning actually earns its cost against classical baselines.

Springer Nature, with Soujanya Ray ✦ ISEM vol 65, pages 205 to 233 ✦ first online september 2025

book

The Architect's Handbook: Engineering Responsible AI ↗

A practitioner's handbook on building AI systems that can be governed, audited and explained.

Eighty-six pages, free to read, on Kindle ✦ version 1.0, january 2026

policy

C-RAI ↗

A certification framework for responsible AI, proposing how Indian AI systems could be audited and labelled before deployment.

Sent to MeitY and NASSCOM ✦ policy draft v2, 2026

What I've written

all 17 →
Getting started with embodied chain-of-thought (ECoT) weights & biases ✦ jun 2026 GLM-5.2: The open coding model that put the critic back into RL weights & biases Fine-tuning Qwen 3.5 on multimodal data with Unsloth and W&B Weave weights & biases Understanding the Muon optimizer, tested against AdamW with NanoGPT weights & biases

I run every experiment myself before writing it up.

Agent Complexity Theory cc-habits Physical AI Claude Developers India C-RAI Agent Complexity Theory cc-habits Physical AI Claude Developers India C-RAI

Working with the Dev Community

claude developers india ✦ 600+ builders

I founded the Claude India Developers WhatsApp Community, India and build the community with high engagements around it. I run events called "Show Your Products, Brainstorm and Validate" that bring people onto online calls and let them showcase their products to each other and get feedback. We also get amazing speakers for the event and deliver a lecture or two.

I also mentor at hackathons, most recently Code Wizards 2.0 at SRM University, Ghaziabad Campus.

Join the community on WhatsApp → Upcoming sessions
Claude Developers India meetup group photo

the crew, after Claude event ✎

Mentor board at Code Wizards 2.0

mentoring at Code Wizards 2.0 ✎

Helping a participant at a laptop

one bug, two heads ✎

In conversation at a NASSCOM event

at NASSCOM ✎

Community meetup selfie

name tags on, still talking ✎

Conversation over coffee

the hallway track ✎

the work I take ✦ three ways in

When teams bring me in

how I consult and what you get →
works in the demo, breaks in production

It answered fluently and knew nothing. Retrieval was querying an empty collection, so the model fell back on itself. Silently.

fix ✦ check the collection at startup, disable retrieval when empty, say so in the log

an expensive build, before the money goes in

I model the unit economics layer by layer before writing code. Cheapest model for routing, semantic table selection, tiered cache.

then ✦ the projection gets checked against real spend

is this worth building at all?

A calling product was hanging up mid-call. I built a diagnostic instead of an architecture.

found ✦ all nine recordings were 8 kHz mono, so barge-in cannot be measured

how an engagement runs
the full process →
01
The brief

Three questions, answered in a paragraph each.

02
Diagnostic

I read the system, the logs and the data before forming an opinion.

03
Findings, in writing

The bottlenecks, the cause of each, and what I would change.

04
The fix

Built by me, or handed over with enough detail to build.

05
Measure

Checked against production spend and production behaviour.

start here ✦ six questions

Tell me about your system

Answer these and I will know within a paragraph whether I am the right person for you. It goes straight to my inbox, nothing else.

Prefer to talk first?
Message me on WhatsApp.

Something in production behaving oddly?

Three questions and I will tell you whether it is worth a call.

01What does the system do, and where does it run? 02What is it doing that you cannot explain? 03How would you know it was fixed?
Answer them here → WhatsApp me
or email basurayshreyan@gmail.com
A pair reviewing agent execution steps, one step failing
github linkedin x scholar weights & biases npm events whatsapp email
reviewed august 2026