RETRIEVAL / AGENTS / MCP AVAILABLE FOR SELECT AI SYSTEMS WORKINDIA / IST
NAMAN GUPTA / AI SYSTEMS ENGINEER
RETRIEVAL. ORCHESTRATION. OBSERVABILITY.

AI SYSTEMS.
FROM IDEA
TO PRODUCTION.

I build retrieval pipelines, agent workflows and MCP tools.
With evaluation and observability built in.

FIG. 01 / AGENT RUNTIME
PLANNERSTATE READY / PATH ACTIVE

SELECT A NODE TO INSPECT THE FLOW

SPECIALTYRETRIEVAL / AGENTS / MCP
CURRENTINFRADOCK.AI
LOCATIONINDIA / REMOTE
RUNTIME / CONCEPT MODEL PLAN — RETRIEVE — EVALUATE — HUMAN
SCROLL TO TRACE THE SYSTEM↓01 — 08

SELECTED
SYSTEMS.

Three ways to make complex AI systems
easier to understand—and work with.

MAKE THEPROTOCOL VISIBLE.

One place to connect to MCP servers, discover their tools and see exactly what a request returns.

01 / THE SIGNAL, EXPOSEDPOSTMAN FOR MCP
CLIENT → MCP SERVER → RESPONSEJSON-RPC / ILLUSTRATIVE
ACTIVE METHODtools/list

One exchange, laid open.
Select a method below to inspect its shape.

NO LIVE CONNECTION
LOCAL DEMONSTRATION
EXPLORE AN EXCHANGE
REQUEST{ "jsonrpc": "2.0", "method": "tools/list" }
RESPONSE{ "tools": [{ "name": "lookup", "inputSchema": { … } }] }
SIMPLIFIED DEMONSTRATION / NO SERVER CONNECTED

Debug the exchange. Inspect the request, run the tool, follow the response.

SYSTEM / Next.js / Supabase / MCP SDK

Connect / discover / execute / inspect

SPECIALISTS.ONE SYSTEM.

Route the task. Coordinate the agents. Follow every handoff from the first plan to the final tool call.

02 / FOLLOW THE HANDOFFILLUSTRATIVE WORKFLOW
EVENT / 01ROUTERtask.received

Every agent has a role.
Every handoff leaves a trace.

  1. 01ROUTERtask.received←
  2. 02ARCHITECTtopology.created·
  3. 03REVIEWERschema.invalid·
  4. 04BUILDERpatch.started·
  5. 05TOOL EXECexecution.complete·

A multi-agent workflow needs more than an answer. It needs a trace you can follow.

SYSTEM / LangGraph / FastAPI / WebSocket / React

Explicit handoffs / execution state / live events

KNOW WHENTO ASK A HUMAN.

Classify the message, retrieve its context and draft the response. Route uncertain decisions to a person before dispatch.

03 / A DELIBERATE PAUSEHUMAN-IN-THE-LOOP ROUTING
DRAFT → DECISION GATEREVIEW IS A ROUTE, NOT AN EXCEPTION
GATE STATEAwaiting judgment.

The message pauses at the review gate.

SIMULATED CONFIDENCE
NOT A MODEL SCORE
01CLASSIFY→
02RETRIEVE→
03DECIDE→
04EXECUTE→
05DRAFT→
CHANGE THE CONFIDENCE
↓ASK A HUMAN.

The context leaves room for doubt.
Pause here for a person’s decision.

→READY TO SEND.

The draft clears the routing gate.
Continue toward dispatch.

Human review is a route through the system—not a workaround when the model gets stuck.

SYSTEM / LangGraph / Gemini / FastAPI / pgvector

Context retrieval / response drafting / review gate

RETRIEVAL
IS MEASURABLE.

What happens before
the model ever answers?

CONTRACT / ABSTRACT01—04

01 / DEFINITIONS

The agreement defines the services, obligations and responsibilities of each party. Defined terms apply throughout this document.

02 / TERM & TERMINATION

Either party may terminate this agreement upon thirty days’ written notice. Obligations incurred before termination remain in effect.

03 / GOVERNING LAW

This agreement shall be governed by and interpreted in accordance with the laws of the designated jurisdiction, without regard to conflicts of law.

REFERENCE SPAN

04 / CONFIDENTIALITY

Each party shall protect confidential information received from the other party and use it only for the purposes of this agreement.

SYNTHETIC DOCUMENT / BOUNDARY ILLUSTRATION
CHANGE THE CHUNKING STRATEGY
PUBLISHED SPAN INTEGRITY43.0%

Fixed-width boundaries split reference spans. The answer is broken before the model sees it.

20 CUAD CONTRACTS / 50 QUERIES
114 LAWYER-ANNOTATED GOLD SPANS

Published results from the retrieval evaluation harness, not a live benchmark of this illustration. Span integrity measures chunk boundaries—not answer accuracy. Small sample; no confidence intervals.

READ THE EXPERIMENT ↗INSPECT THE HARNESS ↗
HAVE AN EXISTING RETRIEVAL PIPELINE?

FIND THE MISS.
THEN FIX IT.

Before another rebuild, find out what your retrieval actually gets wrong. A focused diagnostic of the system you already have.

WHAT YOU TAKE AWAY / 01

Agree on what good looks like.

40 labeled queries with relevance judgments, approved by you. Each answer is located by character offset in your own documents, so relevance is decided by span arithmetic rather than string matching.

LET’S LOOK AT YOUR PIPELINE ↗ONE EXISTING PIPELINE / UP TO 250 DOCUMENTS OR 2 GB — ENFORCED BY THE HARNESS
DIAGNOSTIC ONLY — IMPLEMENTATION NOT INCLUDED
HARNESS V2
PUBLIC RUN
Seven configurations. Rule-based failure labels. Every reported number comes from a run.↗

ONE PIPELINE. ONE BASELINE.
A clear next move.

$950FIXED SCOPE
5 BUSINESS DAYS
VIEW FULL SCOPE ↗

THE WORK
BEHIND THE WORK.

Systems built with teams.
Decisions made under real constraints.

Sep 2026 – PresentCURRENT

MULTI-AGENT WORKFLOWSRETRIEVALEVALUATION
SCOPE

Building multi-agent workflows and RAG pipelines for enterprise clients. Working on retrieval quality through semantic chunking and cross-encoder reranking.

Converted from the internship that ran Jan – Sep 2026.Semantic chunking / cross-encoder reranking / agent workflows
ENGINEERING FOCUS

Make retrieval behavior measurable before adding more orchestration.

CONTEXTRETRIEVERERANKEVALUATE
ILLUSTRATIVE SYSTEM PATH
Oct 2025 – Jan 2026ARCHIVE

BACKEND SYSTEMSREAL-TIME INFRASTRUCTURE
Jul – Oct 2025ARCHIVE

HEALTHCARE SERVICESACCESS CONTROL

FIVE LAYERS.
ONE SYSTEM.

From the interface to the infrastructure.
Select a layer to inspect its role.

FIG. 04 / LAYER ASSEMBLY01 : 05
INSPECTING / 01Make the system usable.

Interfaces that expose state, explain the next action and give people a way to inspect what happened.

SELECT A LAYER / SEE WHAT IT ENABLES

BUILT UNDER
PRESSURE.

Hackathons and engineering challenges.
A different kind of system test.

NASA SPACE APPS CHALLENGE

AI-driven orbital mechanics and tracking solution built for high-signal decision support under hackathon constraints.

FIELD NOTES.

001 / RETRIEVAL / 10 min read

WHAT CHUNKING
DECIDES BEFORE
RETRIEVAL RUNS.

The boundary is already a decision. An experiment in what survives when a contract becomes chunks.

READ THE EXPERIMENT ↗
20 CONTRACTS50 QUERIES114 GOLD SPANS
57%OF GOLD SPANS SEVERED
BY FIXED-WIDTH CHUNKING

PUBLISHED EXPERIMENT / ILLUSTRATIVE DOCUMENT

Start with a question you can test.

NAMAN
GUPTA.

AI SYSTEMS ENGINEER
INFRADOCK.AI / INDIA

I work across the stack, with a particular interest in retrieval, agent coordination and making complex behavior inspectable.

THREE THINGS I KEEP COMING BACK TO
01 / EVIDENCE

Measure before optimizing.

02 / VISIBILITY

Observability is part of the product.

03 / JUDGMENT

Know when to bring a human in.