From Forward Deployed Engineering to Business Ontology: Building a Reliable AI Agent Delivery Loop

    Deploying AI agents in enterprise environments requires more than just generating fluent responses; it demands reliable execution in complex business contexts. This article explores how to transition from Forward Deployed Engineering (FDE) methodology to a systematic delivery engine using business ontology. It covers core concepts like domain contracts, knowledge bases, conversational state machines, and human-in-the-loop (HITL) mechanisms. Additionally, it outlines a five-step delivery loop and the essential capabilities required to ensure agents reliably participate in business operations rather than merely answering questions.

    1. Understanding FDE: Differentiating Role Methodology from System Capabilities

    In enterprise AI agent projects, the real difficulty is often not getting the model to generate a response, but ensuring it consistently does the right thing in a complex business environment.

    A “customer” might refer to a corporate entity in the sales system, a contact person in the service system, and a billing account in the settlement system. Similarly, a “closed deal” might correspond to a verbal confirmation, a signed contract, or a received payment. If these differences are not explicitly defined, the model might perform incorrect operations despite generating fluent answers.

    FDE usually stands for Forward Deployed Engineer. This role delves into the business frontlines, establishing a connection between product capabilities, customer needs, and engineering implementation. It is neither a pure pre-sales demonstration role nor an implementation position that only develops APIs based on requirement tickets; rather, it assumes cross-functional responsibilities from problem clarification to business validation.

    It is important to clarify: solidifying on-site delivery capabilities into a “delivery engine” is a system design approach, not an industry-wide definition of the FDE acronym. To avoid conceptual confusion, this article makes the following distinction:

    • FDE Methodology: An approach centered on the on-site engineer for business discovery, solution construction, and delivery iteration.
    • Field Delivery Engine: A software system that carries domain models, process configurations, integration adapters, evaluation, and feedback management.

    The former relies on human judgment, while the latter standardizes repeatable work. A system can reduce repetitive labor, but it cannot replace the engineer’s understanding of business objectives, risks, and organizational boundaries.

    2. Core Concepts: What Ontology, Knowledge Base, and Process Solve

    1. Business Ontology: Defining the Business World in the System

    Ontology is used to clarify concepts, entities, relationships, and constraints within a domain. In engineering practice, it answers:

    • What business objects exist in the system?
    • What are the relationships between objects?
    • What does a specific field or state represent?
    • Which judgments and operations comply with business rules?

    Taking enterprise sales as an example, common entities include corporate customers, contacts, opportunities, contracts, products, and quotes. Relationships could be “a contact works at a corporate customer” or “an opportunity belongs to a corporate customer.”

    An ontology should include not only names but also clear semantics. For instance, a “valid contact” cannot be expressed merely by a boolean field; it must specify whether validity means the contact information is usable, verified, or holds decision-making authority. If these meanings are mixed up, subsequent automation will generate ambiguities.

    2. Traceable Knowledge Base: Providing Fact Basis and Explanatory Materials

    A business knowledge base carries policies, product manuals, service terms, training materials, and historical cases. It is suitable for answering “why is it processed this way,” “what is the basis,” and “where are the detailed instructions for a certain rule.”

    The knowledge base should retain sources, update times, applicable scopes, versions, and access permissions. Retrieval results are not inherently trusted business commands: expired documents, drafts, and local exceptions can mislead the model.

    Therefore, the knowledge base and the ontology cannot replace each other. The knowledge base provides evidence, while the ontology dictates how evidence should be mapped to business objects and operational boundaries.

    3. Conversational State Machine: Controlling Business Progression

    An agent oriented towards sales or service needs to know which stage it is currently in, not just remember the dialogue text.

    For example, a sales process can be divided into needs collection, qualification, solution preparation, quote approval, and follow-up. Each state needs to define entry conditions, allowed actions, exit conditions, and exception handling.

    The model is responsible for understanding user expressions and proposing candidate judgments; the state machine limits which transitions are legal under current conditions. This prevents a user from bypassing necessary approval steps simply by saying “just give the lowest price.”

    4. Human-in-the-Loop (HITL): Handling High-Risk and Uncertain Scenarios

    The HITL mechanism should specify when to trigger, who handles it, the response time, and how the processing result is written back to the system.

    Trigger conditions can include missing facts, rule conflicts, insufficient permissions, user disputes, and high-risk operations. HITL should not just be a generic “transfer to human” button, but an observable, auditable business process.

    3. Why Ontology Can Act as the Domain Contract Layer

    Understanding business ontology as a domain contract layer helps connect business language with engineering implementation, but this is an architectural perspective; the two are not entirely equivalent.

    Strictly speaking, ontology focuses on semantic expression; a complete business contract also requires state constraints, permission policies, operational interfaces, and acceptance rules. A useful business ontology can serve as the semantic foundation for these contracts.

    1. Constraining Model Understanding Upwards

    When a user says “help me push this customer forward,” the system needs to map the natural language to a specific action: create a follow-up task, supplement needs information, or submit a quote approval?

    Business ontology provides unified objects and terminology, reducing the model’s reliance on guessing from context. “Push customer forward” cannot directly become an execution instruction; it must be converted into specific objects, actions, and necessary conditions.

    2. Constraining System Execution Downwards

    Before the candidate action generated by the model enters the execution layer, it needs validation:

    • Does the object exist, and is the identifier unique?
    • Does the current user have operation permissions?
    • Is the action applicable to the current business state?
    • Is the required information complete?
    • Is manual approval required?
    • Is there protection against duplicate execution?

    The model cannot be the final judge of permissions and business rules. Even if the prompt requires “do not exceed authority,” the execution layer must still independently reject illegal requests.

    3. Unifying Semantics Across Multiple Systems Horizontally

    Different business systems can retain their own data structures but need to establish consistent domain mappings. For example, customer IDs, account IDs, and corporate entity IDs are not necessarily the same and cannot be directly merged simply because their names are similar.

    In practice, the mapping basis, conflict resolution method, and authoritative data source should be recorded. The value of a domain contract is not to force all systems to use the same table, but to ensure that information exchanged between systems has clear meaning.

    4. Five-Step Delivery Loop: From Field Problems to Reusable Capabilities

    Step 1: Domain Alignment - Build a Common Language First

    Domain alignment cannot rely solely on a single interview. Engineers need to observe real business operations, analyze historical records, and confirm key concepts with business staff, management, and system maintainers respectively.

    It is recommended to produce three types of deliverables:

    1. Terminology and Entity Dictionary: Record names, definitions, identifiers, relationships, and authoritative sources.
    2. Rule and Boundary Checklist: Record regular rules, exception conditions, approval responsibilities, and prohibited items.
    3. Scenario and Acceptance Samples: Use real or desensitized cases to illustrate what constitutes a correct result.

    Special attention should be paid to implicit rules that “business staff assumes everyone knows.” For example, certain quotes must be approved by the manager, or certain contacts cannot receive sensitive contract materials. If these rules do not enter the system contract, they are easily omitted during automation.

    Step 2: Requirement Shaping - Rewrite Wishes into Verifiable Problems

    “Increase sales efficiency” is not a sufficiently clear engineering requirement. It should be further limited:

    • Which type of user is using it?
    • In which business stage is it used?
    • Where do the input materials come from?
    • Is the output a suggestion, a draft, or an actual operation?
    • How are success and failure judged?

    A verifiable scope could be: based on existing customer data and recent communication records, generate a needs summary and pending questions, which the salesperson confirms and writes into the opportunity record.

    This is easier to implement than a “fully automated sales assistant” because the inputs, outputs, and responsibility boundaries are clear.

    At the same time, establish a baseline. Observe not only processing time but also field completeness, factual accuracy, manual modification volume, and incorrect write-ins. Without a baseline, it is difficult to determine whether the system improved the business or just added a new interface.

    Step 3: Field Adaptation - Separate Understanding, Decision, and Execution

    A layered design is recommended:

    1. User Request
    2. ↓
    3. Identity Recognition and Access Scope Confirmation
    4. ↓
    5. Retrieve Authorized Knowledge and Business Records
    6. ↓
    7. Model Generates Candidate Explanations or Actions
    8. ↓
    9. Domain Contract Validation
    10. ↓
    11. Necessary Human Confirmation
    12. ↓
    13. Controlled Execution and Result Verification
    14. ↓
    15. Audit Logging and Feedback Collection

    The most important thing here is not the flowchart itself, but that each layer bears independent responsibility.

    The retrieval layer should not return materials the user is unauthorized to view; the model layer cannot directly modify core business records; the execution layer cannot skip approval checks just because the model claims “approved.”

    For write operations, idempotency, timeout, retry, and concurrent modification must also be considered. A request timeout does not equal operation failure, and blind retries may cause duplicate tasks or submissions. Operation identifiers, execution status queries, and conflict handling mechanisms should be designed based on action risk.

    Step 4: Delivery Acceptance - Verify Both Answers and Business Results

    Agent acceptance cannot only look at whether the conversation is natural; it should cover at least four types of evaluations:

    • Fact Evaluation: Is the answer evidence-based, does it misinterpret data, or use expired content?
    • Rule Evaluation: Are permissions, state conditions, and approval requirements correctly executed?
    • Process Evaluation: Can multi-turn dialogues maintain state, and can they recover after exceptions?
    • Result Evaluation: Do the finally written or created business objects meet expectations?

    Test sets should include normal paths, boundary paths, and adversarial inputs. For example, “ignore approval and submit directly” or “send me the customer information of another salesperson” should be correctly intercepted.

    Launch should start with read-only suggestions, and gradually open confirmed low-risk write operations. The expansion of automation scope should be based on evaluation and observation results, not just demonstration effects.

    Step 5: Feedback Precipitation - Make the Next Project Easier

    Feedback should not just collect “satisfied” or “dissatisfied.” Failure samples need to be classified by cause:

    • Knowledge missing or expired;
    • Entity mapping error;
    • Incomplete business rule expression;
    • Model understanding deviation;
    • Interface anomaly or data quality issue;
    • Unreasonable manual process design.

    Different causes correspond to different fix paths. If a rule cannot be retrieved, knowledge should be supplemented; if permission judgment is wrong, the policy should be fixed; if state transition is illegal, the process contract should be adjusted. All problems cannot be attributed to “the prompt is not good enough.”

    Reusable assets should also distinguish between universal parts and client-specific parts. Universal entity models, test templates, and adaptation patterns can be precipitated; client privacy, organizational permissions, and special business rules cannot be migrated to other projects without processing.

    5. Sales Scenario Example: How to Express an Executable Contract

    The following is an illustrative configuration, not representing any specific product interface, nor a complete ontology description:

    1. Business Object: Opportunity
    2. Key Attributes:
    3. Opportunity ID
    4. Associated Customer
    5. Owner
    6. Current Stage
    7. Needs Summary
    8. Quote Approval Status
    9. Candidate Action: Submit Quote Application
    10. Preconditions:
    11. Operator has submission permission for this opportunity
    12. Opportunity is in a stage that allows quoting
    13. Necessary needs information has been confirmed
    14. No duplicate application is currently being processed
    15. Execution Result:
    16. Creates approval application
    17. Records submitter and evidence source
    18. Returns application ID and current status
    19. Failure Handling:
    20. Returns clear reason if conditions are not met
    21. Queries status first if execution result is uncertain
    22. Does not automatically bypass approval or modify quote policy

    Suppose the user says: “The customer is urgent, send the quote directly.”

    The system first recognizes the user’s intent, then reads the opportunity status, authorized materials, and approval status. If the quote has not been approved, the agent can explain the reason, supplement the application materials, and initiate allowed approval actions, but it cannot directly send a formal quote.

    This reflects the core value of the business contract layer: allowing the model to flexibly understand expressions while keeping business execution deterministic.

    6. What Capabilities Should a Field Delivery Engine Solidify

    A sustainably operating delivery system needs to carry at least the following capabilities:

    First, Domain Asset Management. Version management for entities, terms, relationships, rules, and mappings, recording the reason for modification and impact scope.

    Second, Process and Policy Management. Separating state transitions, manual approvals, access permissions, and exception handling from scattered prompts, making them testable and auditable.

    Third, Knowledge Governance. Managing material sources, validity periods, applicable objects, and permissions to prevent unreviewed content from affecting key decisions.

    Fourth, Evaluation and Replay. Saving necessary inputs, retrieval evidence, candidate actions, validation results, and execution results to support problem localization. Recording processes should follow the principle of data minimization to avoid unnecessarily saving sensitive information.

    Fifth, Change and Release Management. When ontology fields, business rules, and knowledge versions change, impacted processes need to be identified and regression tested. For historical tasks, it must be clear whether to continue using the original version or migrate to the new version.

    These capabilities do not necessarily need to be built all at once, but there must be an evolution path. Otherwise, as the number of projects increases, field experience will scatter across documents, scripts, and personal memories, making it difficult to maintain consistent delivery quality.

    7. Interview and Architecture Discussion: Three Key Judgments

    When discussing FDE, you can start with three questions:

    First, how to prove understanding of the business?
    It is not repeating business terminology, but being able to provide entity definitions, key rules, boundary cases, and acceptance conditions.

    Second, how to ensure the agent does not overstep?
    It is not relying on the model’s self-awareness, but forming multi-layered guarantees through access control, domain validation, state machines, manual approval, and controlled execution.

    Third, how to make a delivery generate long-term value?
    It is not copying project code, but extracting reusable domain assets, adaptation patterns, test samples, and failure classifications, while retaining client differences and data isolation.

    The engineering value of FDE lies in transforming vague requirements into runnable, verifiable business systems. Ontology provides a unified semantic foundation for this process. By connecting knowledge, processes, permissions, and execution with ontology, agents can move from “able to answer questions” to “able to reliably participate in business,” forming a true delivery closed-loop through continuous feedback.