AI Agent Harness vs. Enterprise Ontology: The Clean Architectural Boundary
Enterprise Agent = Frontier Model (Reasoning) + Agent Harness (Execution Loop) + Business Ontology (Meaning & Governance)
An AI agent harness turns a stateless LLM into a reliable multi-step worker—handling tool loops, context compaction, and retries. Yet no harness can deduce what your company's undocumented ERP status codes mean or who is authorized to approve a credit-limit override. That contract belongs to the ontology.
1. Why Harnesses Alone Succeed on Codebases—and Break on ERP Data
Coding agents such as Claude Code, Codex, and custom developer harnesses thrive inside a Git repository with minimal extra scaffolding. Source code is self-describing: identifiers carry semantic names, typecheckers (tsc, cargo) and unit tests provide instant deterministic feedback, and the developer typically holds read access to the entire repo.
Point that exact same harness at a production ERP, CRM, and MES landscape and all three assumptions vanish: physical columns are named CUST_GRP_2 or STAT = 3, joining two 1:N tables produces syntactically valid SQL with silently inflated totals (zero compiler errors!), and no employee or agent should hold blanket visibility across payroll, unit margins, and global customer accounts.
2. Side-by-Side Comparison: Agent Harness vs. Business Ontology
In a modular enterprise stack, the harness and the ontology are complementary peers connected across Model Context Protocol (MCP):
| Dimension | Agent Harness (Execution) | Enterprise Business Ontology (Meaning) |
|---|---|---|
| Core Responsibility | Executes the model’s reasoning, tool-calling, and error-recovery loop ("How the agent runs") | Defines business entities, cross-system joins, status meanings, and permission boundaries ("What reality means & what is allowed") |
| Managed Primitives | Context window compaction, working memory, retries, timeouts, sub-agent spawning, streaming | Objects (Customer, SalesOrder, Lot), implicit joins, KPI formulas, row/column RBAC, human write-gates |
| Rate of Change | Changes rapidly with every new frontier model release and SDK generation | Model-agnostic; compounds over years as the company’s durable digital constitution |
| Failure Mode When Missing | Agent stalls on multi-step plans, overflows context, or loops on tool timeouts | Agent runs smoothly—and confidently multiplies revenue 3x on a chasm-trap join or leaks unit costs |
3. The Anti-Pattern: Stuffing Business Ontology Into System Prompts
Teams operating without an ontology try to patch every data mistake inside the harness's markdown system prompt: “Exclude STAT=9 rows, subtract credit memos from net sales, never show unit_cost to regional sales reps...”
As soon as a second agent arrives—a finance spreadsheet copilot, a customer-ops triage bot, or a supply-chain scheduler—those prompt rules fork, contradict each other, and silently drop during context compaction (multi-agent semantic drift). Centralizing entity definitions, metrics, and write gates inside one MCP-exposed ontology lets you swap harnesses or upgrade models overnight without rewriting a single business rule.
[Sales Copilot Harness] ──┐
[Ops Triage Harness] ──┼──► MCP Protocol ──► Enterprise Business Ontology
[Finance Analyst Harness] ──┘ ├─ Canonical Entities & Implicit Joins
(manages loops, retries, ├─ Caller RBAC & Column Masking
context & streaming) └─ Human-Approved Kinetic Actions