VerBodh

VerBodh · AI KB Internals · Agent systems

AI KB Internals

The nine layers an FDE builds, from client brief to production

VerBodh · 4 November 2026

A Forward Deployed Engineer gets a brief from a business, not a ticket. "Make an agent that does what our people do." Between that sentence and a system that runs in production sit many layers of work. This article takes one real build apart, layer by layer. For each layer it shows who at the client asked for it, what the FDE built, how it was proved, and when you can skip it.

Who it is for: engineers moving into FDE roles, and teams that build agents for a customer's business.

What this covers

  1. The journey, and the loop inside every layer
  2. Layer 1: the rules live in the backend
  3. Layer 2: a harness that works a queue
  4. Layer 3: state that survives, and a wait for a person
  5. Layer 4: many agents at once, scored against the experts
  6. Layer 5: sign-in, and an agent that improves under a rule
  7. Layer 6: security before the cloud
  8. Layer 7: context, memory and a gateway
  9. Layer 8: a managed runtime
  10. Layer 9: a copilot for each user
  11. What carries to the next client
client brief ─► plan ─► client decides ─► build ─► prove live ─► next brief
                                                                    │
 9  copilot for each user          ◄── the handlers                 │
 8  managed runtime                ◄── platform team                │
 7  context, memory, gateway       ◄── data governance              │
 6  security before the cloud      ◄── information security         │
 5  sign-in + improver agent       ◄── the whole claims team        │
 4  many agents + evaluations      ◄── claims operations            │
 3  durable state + human wait     ◄── IT                           │
 2  harness: queue + recovery      ◄── claims operations + IT       │
 1  backend owns every rule        ◄── head of claims ──────────────┘

1. The journey, and the loop inside every layer

Each layer starts when a new person at the client asks a new question.

The example client is a travel insurer. Three claims handlers work a queue by hand. Each one reads the customer's story, checks the policy and its wording, then approves with a payout, declines, or refers. The head of claims wants an agent that does the same, and explains each decision in two or three sentences that cite the right section.

That first brief gives you layer 1. Then IT asks about crashes. Information security asks who can call what. Data governance asks where the facts come from. The platform team asks how it runs on their runtime. Each question becomes a layer.

Inside every layer, the FDE runs the same loop:

A few rules hold across all nine layers:

What to do: write the "choices for you" list before you write code. The client's answers shape every layer after it.

2. Layer 1: the rules live in the backend

The model may be wrong or misled, so it must never be the thing that enforces a rule.

Who asked: the head of claims. A queue, an agent that decides one claim at a time, a dashboard for the handlers. Any payout over $1,000 needs a handler's sign-off.

What the FDE built:

How it was proved:

Skip it: never. Every later layer assumes the backend holds the rules.

3. Layer 2: a harness that works a queue

The agent should organise its own work, but the backend still owns the rules of the run.

Who asked: claims operations, with IT. Claims will get harder, with more documents and more rules. They want one run to work the whole queue, with a to-do list the team can watch, a cap for cheap trials, and recovery that never decides or pays twice.

What the FDE built:

How it was proved: a 6th claim on a cap-5 run is refused. Fail once → decided. Fail twice → left for a handler. Live, with a cap of 5: the to-do list filled and was ticked off, 5 claims ended and 20 stayed waiting.

Skip it: when the agent does one thing per request and never works a queue.

4. Layer 3: state that survives, and a wait for a person

An approval can wait days for a person, and a crash must not lose the work.

Who asked: IT, before the move to the cloud. When the agent approves a payout over the limit, its work ends. A restart loses the claim's progress.

What the FDE built:

How it was proved: live, a held claim signed off in the browser was paid within 5 seconds. A run killed partway resumed on the same thread with one decision. A defect showed up live: sign-off to payment took 13 seconds, because "localhost" tried IPv6 first. Switching to 127.0.0.1 brought it to 2 seconds.

Skip it: when nothing waits for a person and every run ends in seconds.

5. Layer 4: many agents at once, scored against the experts

Picking the next claim is a rule, so it needs no model. And nobody can say how good the agent is without a scoreboard.

Who asked: claims operations, with IT. One at a time, 25 claims take over 10 minutes. Nobody knows how often the agent agrees with the handlers, or what a claim costs.

What the FDE built:

How it was proved:

Live check Result
25 claims with 25 agents 35 s for the run, against 364 s of summed claim time
Evaluation set, 25 claims 80% right · 92% straight through · $0.0012 a claim · 43 s
Peak database connections 26 before a pool fix, 10 after

Skip it: when items go one at a time and nobody needs a quality score.

6. Layer 5: sign-in, and an agent that improves under a rule

The agent can propose its own improvements, but code decides what is kept.

Who asked: the whole claims team, now that everyone uses the dashboard. Improving the agent was slow manual work: read the misses, edit the instructions, rerun, decide.

What the FDE built:

How it was proved: round 1 kept a change: held-out accuracy 78% → 94%, for $0.199. Round 2 rolled back, because no measure improved by more than its noise. The kept version scored lower on the set the improver learned from (88% → 80%) while it rose on the held-out set. Tuning to the learning set would have kept the wrong change.

Skip it: when nobody signs in and the configuration is changed by hand.

7. Layer 6: security before the cloud

Before the app gets a public address, the agent needs its own identity, and untrusted text needs a check.

Who asked: IT, with information security, with three findings. The agent sends nothing to identify itself. A claim can hide an instruction in its story: the large model declined it, a smaller model approved it in full. And the app only runs on a laptop.

What the FDE built:

How it was proved: live, at 25 agents, the check passed 25 real claims and flagged only the planted one. Its reason: the story told the assistant to approve $4,800 and said a clause had been waived. The run took 34 s and cost $0.031.

Skip it: never, for a product on the internet.

8. Layer 7: context, memory and a gateway

The agent needs facts from across the business, each with a named source, and a policy that sees every call.

Who asked: IT, with claims operations and data governance. The facts the agent needs are spread across systems. Data governance gathered them into 7 files, each naming its source system, owner and last review.

What the FDE built:

Choices the client made: putting both documents in every prompt would add about 300 lines per model call and multiply the cost, so the context server also lists sections. A private database would need a NAT gateway at about $32 a month, so the client chose a public one that requires TLS.

How it was proved: a stand-in gateway in the tests refused a $1,500 approval, held it, and it was paid once after a senior handler signed off. The suite ended at 362 Python, 57 dashboard and 14 end-to-end tests.

Skip it: when the agent needs nothing beyond its own data and nothing must be remembered.

9. Layer 8: a managed runtime

The platform team owns the runtime's rules, so the product changes to fit them.

Who asked: IT, with claims operations and the platform team. Handlers also want to send a claim back to the agent with a note, instead of just leaving it waiting.

What the FDE built:

How it was proved: two sign-offs at once: one pays, the other is refused. A sign-off and a send-back at the same moment: exactly one goes through. Live: a full run, a claim signed off and paid, a claim sent back and decided again.

Skip it: when the agent runs on your own servers.

10. Layer 9: a copilot for each user

The last layer puts an agent beside each person, acting as that person and no one else.

Who asked: the handlers. Each task takes a few pages and a few clicks. They want a sidebar where they ask in plain English, "what needs me today?", and it acts for them, with their permissions.

What the FDE designed:

Status: a reviewed design, not built yet.

Skip it: when users never need to ask or act through chat.

11. What carries to the next client

The client, the documents and the rules change. These patterns don't.

Checklist

Limits

Sources

VERBODH PTE. LTD. · SINGAPORE · support@verbodh.com
UEN 202640155R · Privacy, Terms & Security