Ayush Rajgor

Quick menu

Jump to a section, book a call, copy my email, or open a profile.

What I build now

The agent is the easy part.

Making an agent useful means building everything around it, from the layer it thinks through to the platform it ships on.

  1. Agents that use software

    Agents that operate real web and mobile apps from the DOM, the screen and the native view tree, with vision-based clicking when a page won’t cooperate.

    seeDevikaBrowser assistant

  2. Agents that read code

    Pipelines that read a repository, map its features and write test cases from the parsed source, and that work out which tests a pull request affects. The model has to cite what the parser found, so it can’t invent a route.

  3. The model layer

    One layer between every feature and every model: Gemini on two APIs, GPT on Azure and Bedrock, each task with its own model, thinking level, timeout and fallback. Every attempt’s tokens and cost are recorded, failed ones too.

  4. Evals and observability

    Benchmarks with known answers, blind audits, and replays of recorded sessions on another model before anything changes. I built the console that shows what each agent run did, how long it took and what it cost.

  5. The platform under it

    One codebase that runs as SaaS and on-prem on Google Cloud, AWS and Azure. A job queue with leases and crash recovery, graceful drains on deploy, keyless cloud identity, and a preview environment for every branch.

  6. Where people already work

    The MCP server people use from Claude, Cursor and VS Code, the GitHub check that says what a pull request affects, and a Slack assistant for my team.

  7. Neural networks, where it started

    CNN image classifiers, transfer learning on VGG16, face recognition, YOLO object detection on a drone, and a multi-output network for outfit recommendation that became a paper.

    seeTello droneThe paper

How I build AI systems

The rules I keep coming back to, mostly learned from agents that got something wrong on a real app.

  1. Ground the model in evidence

    Agents decide from what is really there: the DOM, screenshots, parsed routes, retrieved tests. Not from a guess about the page.

    MeasuredMade a model choose from what a parser had already found instead of writing freely: invented answers 52% → 0%, 9.6× fewer tokens, and one step went from 22 min → 3 min.

  2. Record the gap, don’t invent

    If a fact isn’t in the source, the pipeline says so instead of writing a test for it.

    MeasuredOn one open-source app, 36% of generated test cases checked for translation keys as if they were visible text. A lint now holds those back instead of shipping them.

  3. Fix the general case

    When a model gets something wrong, I fix what it misunderstood, not the one page it failed on. A patch for one app is a bug for the next.

    MeasuredOne shared sign-in step instead of one per test: “missing prerequisite” failures 92–100% → 0%.

  4. Measure on real runs

    Benchmarks with known answers and replays of recorded sessions decide changes, not one good run. Every call’s tokens, latency and cost are tracked.

    MeasuredOn a fixed benchmark of 58 scenarios, coverage went 7 → 38–41, with run-to-run noise measured at ±3 before trusting any gain.

  5. Never overstate the result

    A partial run says it’s partial. Counts show what was delivered, and a zero says whether anything was actually searched.

    MeasuredFound runs reporting about a third of their real cost, because some loop steps and thinking tokens weren’t counted. Fixed, then checked against production: zero difference.

  6. Plan for failure and load

    Token and time budgets, bounded retries, partial results kept, a fallback when something new breaks, and no single request allowed to take a server down.

    MeasuredAn endpoint that was running servers out of memory: 37 s → 1.6 s, and 150 MB → 81 KB per request.

Measured lines come from my own work in 2025–26: recorded runs, fixed benchmarks and production data. I’ve left the products and features unnamed.

AI workflow

You don’t have to do it by hand anymore.

AI can already do a lot of the work most of us still do manually, and I want more people to know it. Here’s a small, everyday example: ChatGPT worked out what to update on my LinkedIn profile, and Codex, driving my Chrome, made the edits. I didn’t write or change anything myself. I only reviewed.

My own work runs the same way: several Claude Code and Codex sessions side by side, each on its own branch, and me reviewing what comes back. This site was built like that too.

Read the full post
  1. Slack + GitHub

    Gather the context

  2. ChatGPT

    Draft the changes

  3. Me

    Review them myself

  4. Codex + Chrome

    Apply in the browser

  5. LinkedIn

    Check what saved