Prateek Mulye

AI that does the work. You make the call.

I'm Prateek Mulye, a senior engineer with eleven years in production systems. I build AI agents that handle the work and leave every decision to you.

Lead Desk for Seabright Home Services, a demo businessLive demo

New email

From a customer, 7:42 AMHi, our AC stopped working and it's going to be 96 tomorrow. Can someone come out? We're in 93101.

What the agent checked

  1. Service matchedAC repair
  2. Address covered93101 is in the service area
  3. Price from the price listNever from the model
  4. Open visit foundFrom the real calendar

Draft reply

Thanks for reaching out. We can send a technician to 93101 for an AC repair visit. Here is the price from our list and the first open window. Reply to confirm and we'll lock it in.

Nothing is sent until you approve.Approve and send
See how it works inside
Is Prateek a fit for this role? through an API Language model Transformer blocks, stacked Is Prateek a fit for this role? through an API Language model Transformer blocks, stacked

A message arrives.

Every AI chat starts the same way: your words, sent to a model through an API.

Inside, one block, repeated.

A language model is a stack of identical transformer blocks. The original had six; GPT-3 stacks 96.12

Let's step inside.

Inside an AI

Watch a model read a question about me.

This is GPT-2, a real language model, reading Is Prateek a fit for this role? Every thread, knot and weight below is its own output. Scroll.

Ten threads.

GPT-2 never sees words, only tokens: my name becomes Pr, ate and ek.3 Each token is drawn off its own spool, one of 50,257, and a finer strand spins in its position in the sentence.4

One thread, end-on.

Each thread is 768 numbers. These are GPT-2's real ones for “role”, learned in training: solid where a number is positive, hollow where it's negative.4

positive negative

One stream, twelve blocks.

Every thread runs straight up through twelve identical blocks. No block replaces it; each one adds to it. Researchers call it the residual stream.5

Inside one block.

Every block does the same steps. A layer norm steadies the numbers. Attention lets each word look back, and the result is added onto the thread. Another layer norm, then a feed-forward network works on each word alone: 768 numbers out to 3,072 and back.14

Attention: “role” finds “fit”.

In block 4, one head sends 74% of “role”'s attention back to “fit”. Thicker thread, more attention. It can only look back: later words are masked.1

Twelve heads, twelve questions.

Block 4 has twelve heads, each weighing the words its own way. Many rest on the very first word, a habit called an attention sink.6 By block 10, 82% of “role”'s attention goes there.

Then it guesses the next word.

GPT-2's real odds: a line break first, at 44%. “No” is 19th. “Yes” is 29th, at 0.52%. It's a 2019 model. It hasn't read the rest of this page.

Where it came from.

The 2017 transformer had a second loom: an encoder that read a source sentence, joined to every block here by cross-attention. It was built for translation. GPT-style models removed both. To predict the next word, one stack reading left to right is enough.14

Same loom, newer parts.

Today's open models change the parts, not the loom. Position becomes a twist on the thread instead of an added strand.7 DeepSeek's attention caches each word's keys and values as one small 512-number latent.8

Experts instead of one knot.

The knot becomes a rack of 256 experts, and each token goes through 8 of them, plus one shared. DeepSeek-V3 has 671 billion parameters but uses 37 billion per token, and reads up to 128,000 tokens at once.8

That's the model.

A very good guesser of the next word. On its own, that's all it does.

Now step back out.

Most of what makes AI useful is built around the model: the loop, the tools, the rules. That's where I spend my days.

"To book it, you'd open your calendar…" Gather context Pick a step Run a tool Use the result Model Done: the answer

A model alone only talks.

Ask it to book a meeting and it can describe how. An agent wraps the model in a harness: plain code that runs a loop around it.10

Think, act, look, repeat.

The harness gathers context, the model picks the next step, code runs it, and the result goes back in. It repeats until the job is done.1011

Most of the craft is the harness.

What the model sees, which tools it gets, when to stop. The model is one part; the system around it decides how well it works.12

A tool you give the model check_calendar(date) Finds open slots on a given day. The model writes the call check_calendar("Tue, Dec 2") Your code runs it on your calendar open: ["10:00", "14:30"] It reads the result and replies Tuesday at 10:00 or 2:30 works for me.

Tools give it hands.

A tool is a function with a name, a description and the inputs it takes. The model writes the call; your code runs it.1314

Facts come from your systems.

The times in that reply came from the calendar, not from the model's memory. That's the difference between a demo and a product.

Your agent MCP client Email tools · data · prompts Calendar tools · data · prompts Database tools · data · prompts Files tools · data · prompts Your API tools · data · prompts

MCP: one plug for every system.

The Model Context Protocol is an open standard. An agent's app connects to servers, and each server offers its tools, data and prompts in the same shape.15

Build a connector once.

Any agent that speaks MCP can use it. That's how one agent works with your email, your calendar and your own systems without custom glue for each.

The model proposes refund(order 1182, $4,000) Rules check it, in plain code ✓ The order exists ✓ The customer is verified ✕ Over $500 needs a person A person decides Refund $4,000 to order 1182? Approve Only then does it act, and log it refund sent · approved by you

Guardrails are code, not hope.

Fixed rules sit between the model and the world. They check every action against limits you set, and anything risky waits for a person.16

The model proposes. Code checks. You decide.

Every agent I build works this way, from Lead Desk to TARS.

The 16 papers and guides behind this walk

Every scene follows what these describe, simplified for the screen and never invented. The loom's numbers come from running GPT-2 itself.

  1. 1
    Attention Is All You NeedVaswani et al., 2017

    The transformer itself: stacked blocks, embeddings, positions and attention.

  2. 2
    Language Models are Few-Shot LearnersBrown et al., 2020

    GPT-3: the decoder-only model at scale, 96 blocks deep.

  3. 3
    Neural Machine Translation of Rare Words with Subword UnitsSennrich, Haddow and Birch, 2016

    Byte-pair encoding: how a rare word like a name splits into known pieces.

  4. 4
    Language Models are Unsupervised Multitask Learners (GPT-2)Radford et al., OpenAI, 2019

    The model the loom runs: twelve blocks, 768 numbers per token.

  5. 5
    A Mathematical Framework for Transformer CircuitsElhage et al., Anthropic, 2021

    The residual stream: each block adds to the thread instead of replacing it.

  6. 6
    Efficient Streaming Language Models with Attention SinksXiao et al., 2023

    Why so much attention rests on the very first token.

  7. 7
    RoFormer: Enhanced Transformer with Rotary Position EmbeddingSu et al., 2021

    Position as a twist on the thread, used by most current models.

  8. 8
    DeepSeek-V3 Technical ReportDeepSeek-AI, 2024

    Latent attention and a mixture of 256 experts.

  9. 9
    Transformer Explainer: Interactive Learning of Text-Generative ModelsCho et al., Georgia Tech, 2024

    The GPT-2 export used to compute every number in the loom.

  10. 10
    Building effective agentsAnthropic, 2024

    The augmented model, the agent loop, and when a simple workflow beats an agent.

  11. 11
    ReAct: Synergizing Reasoning and Acting in Language ModelsYao et al., 2022

    Think, act, observe, repeat: the loop at the heart of most agents.

  12. 12
    Effective context engineering for AI agentsAnthropic, 2025

    Choosing what the model sees matters as much as the model.

  13. 13
    Toolformer: Language Models Can Teach Themselves to Use ToolsSchick et al., 2023

    Models learning when to call a tool and how to use the result.

  14. 14
    Writing effective tools for AI agentsAnthropic, 2025

    A tool is a contract: a clear name, description and inputs.

  15. 15
    Model Context Protocol: architecturemodelcontextprotocol.io, 2024 onward

    Hosts, clients and servers, and the tools, resources and prompts servers offer.

  16. 16
    Our framework for developing safe and trustworthy agentsAnthropic, 2025

    Keeping people in control of what agents do.

So, what brings you here?

Black and white portrait of Prateek Mulye in a turtleneck.

Senior engineer. Backend first, AI where it earns its place.

30M+PostgreSQL rows, dashboards over 60% faster
12Ktransactions a second, Capital One test platform, via Cognizant
15M+company records unified into one shape
  1. Agilent TechnologiesSenior Software Engineer, Manufacturing. Leads AI adoption for engineers.
  2. HG InsightsData platforms, PostgreSQL at scale, Elixir pipelines.
  3. Capital One, via CognizantKafka workflows that recover from failure without double-processing.
  4. Pune to SpringfieldBanking security work, then a master's in computer science.

Built in Santa Barbara. Mostly outside when I'm not building.

Prateek on a sailboat deck, holding the rigging over open blue water.

Start with a question.

TARS knows my work and answers from the record, with sources.

Is Prateek a fit for a senior backend role?
TARS