FDE Interview Essentials: Ontology as the Domain Business Contract Layer
Learn why an ontology is more than a data model and how it provides a business contract for AI agents. This article distinguishes the FDE role from a delivery engine, explains a five-step delivery workflow, and outlines the validation, evaluation, and feedback practices that turn field experience into reusable engineering assets.
1. Define the Terms Before Discussing FDE
Discussions about forward deployed engineering need clear terminology. Without shared definitions, participants can use the same words to mean different things.
- Ontology: A semantic model that formally defines the entities, relationships, and constraints within a business domain. It answers three questions: What exists in this domain? How are those things connected? Which operations are valid?
- Business knowledge base: A collection of traceable materials for large language model retrieval, including unstructured documents such as policies, conversation scripts, case studies, and support ticket records. It determines what the model knows.
- Conversation state-machine agent core: A conversation orchestration core built around standard operating procedures (SOPs). It restricts multi-turn interactions to valid state transitions, determining how the model follows established procedures.
- FDE, or Forward Deployed Engineer: An engineering role centered on working directly in customer environments. The role’s operating model was initially established by a data platform vendor and is now widely adopted across LLM, agent, and data platform companies.
- Field Delivery Engine: In this article, this term describes a delivery unit that codifies the FDE methodology into a system. It translates business playbooks, SOPs, and constraints into system specifications and supports continuous iteration. It is distinct from the Forward Deployed Engineer role.
The relationship is straightforward: the ontology is the contract, the Field Delivery Engine executes and iterates on that contract, and the Forward Deployed Engineer produces it.
2. Why Ontology Is a Contract Layer, Not Just a Data Model
A traditional data warehouse semantic layer defines field names and metric calculations, making data queryable. An ontology-based contract layer goes further: it gives enterprise data four capabilities grounded in shared business semantics.
- Understanding: Bind terms such as “customer,” “order,” and “risk exposure” to unambiguous entity definitions, resolving conflicting interpretations across heterogeneous systems.
- Connecting: Explicitly declare relationships between entities, such as contracts, fulfillment milestones, and payment schedules, enabling reasoning across systems.
- Deriving: Support valid inferences under constraints such as cardinality, timing, mutual exclusion, and permissions, rather than relying on unconstrained model associations.
- Acting safely: Require every write operation to pass contract validation. Reject operations that exceed permissions, cross boundaries, or attempt invalid state transitions.
The contract can be organized into the following layers:
ontology:entities:- name: Contractkeys: [contract_id]attributes: {amount: decimal, signed_at: datetime, owner: string}- name: Milestonekeys: [milestone_id]relations:- {from: Contract, to: Milestone, type: has_many, cardinality: 1..n}constraints:- id: C001rule: "Milestone.due_at >= Contract.signed_at"severity: block- id: C002rule: "Contract.amount > 0"severity: blockpolicies:- {action: write, requires: ["role:owner", "tenant_scope"]}
The execution-side logic can remain simple. The essential rule is validate before executing:
def apply_action(ctx, action, payload):violations = contract.validate(action, payload, ctx) # Structure and constraintsif any(v.severity == "block" for v in violations):return Rejected(violations) # Contract takes precedence over model intentif not policy.allow(ctx.principal, action, payload): # Permissions and tenant boundariesreturn Rejected([Violation("C900", "forbidden")])return executor.run(action, payload) # Execute only valid transitions
The purpose of this sequence is to turn potential model mistakes from business risks into technical exceptions that can be intercepted.
3. The Five-Step FDE Loop: A People-Centered Delivery Workflow
Step 1: Domain Alignment
Work directly in the customer environment to align terminology, entities, rules, and constraints. Resolve inconsistent definitions across systems and identify SOPs, edge cases, and acceptance criteria.
The outputs are a glossary, an initial entity-relationship diagram, and a list of unresolved disagreements. This is the step most prone to failure—and one of the easiest to skip.
Step 2: Shape the Problem
Convert vague goals, such as “increase conversion” or “reduce manual reviews,” into a verifiable plan. Define the proof-of-concept (POC) scope, metric baselines, sample sources, and evaluation criteria.
Without a baseline, it becomes difficult to demonstrate the project’s value later.
Step 3: Build and Adapt
Extend and integrate the standard product through retrieval augmentation, agent orchestration, knowledge package construction, and interface adaptation. Get an end-to-end demo working in the customer’s environment.
The key discipline is: encode business differences in contracts and configuration, rather than scattering them across custom code branches.
Step 4: Ship and Validate
Deploy the system, establish evaluation datasets, provide human-in-the-loop (HITL) fallback, and continuously monitor metrics.
Evaluation should cover at least three categories:
- Standard workflows
- Edge cases and conflicting conditions
- Adversarial inputs
Step 5: Feed Back and Productize
Return recurring field issues, reusable business models, and SOPs to the central product team. Turn them into reusable assets so the next project can be delivered faster.
Without this step, FDE becomes little more than expensive outsourced implementation.
4. From a Manual Delivery Loop to a Codified Engine
Before a delivery engine exists, engineers complete these five steps manually using experience, documents, scripts, and verbal alignment. They define the ontology with the customer, document SOPs, write test cases, stage rollouts, collect failure examples, and iterate on the knowledge base and agent.
The problem is that this process is hard to reuse, audit, and measure.
Building a delivery engine means turning implicit experience into explicit specifications:
| Stage | Manual Deliverables | Engine-Based Deliverables |
|---|---|---|
| Domain alignment | Meeting notes and verbal agreements | Versioned ontology contracts |
| Problem shaping | Requirements documents | Metric baselines and acceptance specifications |
| Build and adapt | Custom code branches | Configuration-driven orchestration and adapters |
| Delivery validation and monitoring | Spot checks and subjective assessments | Evaluation datasets, metric dashboards, and alerts |
| Feedback and productization | Individual experience | A reusable asset library |
Standard cloud capabilities can support this architecture: object storage holds contract and knowledge package versions; message queues decouple field events; container platforms host delivery units; and logging, monitoring, and alerting support the feedback loop.
Baidu AI Cloud implementations of this “contract-driven, observable delivery” approach likewise typically combine general cloud capability categories rather than depending on a single specialized feature.
5. How to Explain This in an FDE Interview
Use a four-part structure:
- Start with definitions. Ontology is the domain contract layer. Forward deployed engineering is the delivery methodology, while the Field Delivery Engine codifies and supports that methodology.
- Explain the causal chain. A contract unifies semantics, enabling understanding, connections, valid inference, and safe operations. These capabilities provide the foundation for allowing agents to act in real business workflows.
- Describe the workflow. Walk through the five-step loop, emphasizing that baselines and acceptance criteria must be established early.
- Finish with engineering practices. Cover contract versioning, validation before execution, evaluation datasets, HITL fallback, and turning field feedback into reusable assets.
Avoid three common misconceptions: treating an ontology as a database schema, reducing FDE to on-site outsourcing, and delivering demos without evaluation or feedback into the product.
A strong interview answer connects the contract, the delivery workflow, and the engineering controls that make agent behavior governable in real business environments.
