AMK, Ali Mehdi Khan, home

Byte: a 3D robot that answers recruiters’ questions about me

Byte is the robot in the corner of this site. Ask it anything about my work and it answers in a second or two, from the same notes that build the page. Paste a job description and it says how I fit, gaps included. Leave your email and it passes it to me with the conversation.

The site is static, on GitHub Pages, so Byte comes in three pieces: a three.js scene in the page, a Cloudflare Worker that holds the API key, and gpt-oss-120b on Groq.

Byte, a small white robot with a glowing lime face, headphone ears and an antenna
for a typical full answer
of three.js in the first page load
questions per visitor, so nobody can drain the quota
of answers feeds the page, its structured data and Byte

Why a robot

Recruiters skim, and they ask the same few things: is he open to work, where and how soon could he join, what has he built. Byte answers those in a second, at any hour, without anyone opening my résumé. A small robot that waves, plays peekaboo and naps when ignored also gets noticed in a way a contact form does not.

Answers that stay true

Byte only knows what this site says. When the site is built it writes /llms-full.txt from the same data as the page; the Worker fetches that, keeps it for ten minutes and puts it in front of the model with a short set of rules:

Pasting a job description switches Byte into matching: a one-line verdict, up to four facts that fit and a plain list of what my profile does not show. Tested on a role that asked for AWS, Kubernetes and MLflow, it named all three as gaps.

A static site with a secret

GitHub Pages cannot hold an API key, so a Cloudflare Worker sits between the page and the model. It keeps the Groq key as an encrypted secret, answers only requests from this site, limits each visitor to eight questions a minute and streams the answer back as plain text.

Groq’s free tier allows each model 8,000 tokens a minute, about four questions with my profile attached. When gpt-oss-120b is busy, the Worker spills over to gpt-oss-20b, which has its own allowance. I tried medium reasoning effort for everything, and it sometimes spent the whole token budget thinking and returned nothing, so ordinary questions use low effort and pasted job descriptions get medium.

A robot made of primitives

Byte is a few dozen pieces built from three.js primitives (rounded boxes, capsules, tori and sprites), so there is no model file to download. Its face is a glass screen with glowing eyes, it floats on a lime jet and its head follows your cursor.

Every 9 to 15 seconds it puts on a little show: a dance, a peekaboo below the screen edge, a stretch and a yawn, an idea with its antenna flaring. It wears heart eyes when someone downloads my résumé, winks at a copied email, points at the section a speech bubble is about and dozes off after a minute alone. Without WebGL, or with data saver on, a drawn SVG twin stands in, and reduced motion gets still poses.

Keeping the page fast

My first version loaded three.js as soon as the page was idle. On a throttled mobile Lighthouse run that meant one 3.9-second main-thread task while the shaders compiled, and the performance score fell from 73 to 66.

Now Byte waits for the visitor’s first scroll, touch, mouse move or key press, sets itself up in steps that hand the main thread back, and compiles its shaders with compileAsync. three.js is no longer in the first load at all, the score is back at 74 to 75 and the largest paint lands in 1.1 seconds.

Turning attention into a conversation

Hiring for work like this?

I'm open to entry-level software engineering and AI/ML roles, in India or abroad, and I can join immediately. Email is the quickest way to reach me.