Demand-Driven Context: A Methodology for Building Enterprise Knowledge Bases Through Agent Failure

📅 2026-03-14
📈 Citations: 0
Influential: 0
📄 PDF

career value

155K/year
🤖 AI Summary
This work addresses the frequent failure of large language model (LLM) agents in enterprise tasks due to a lack of domain-specific “tribal knowledge”—such as specialized terminology, workflows, and policies—and the inefficiency of conventional knowledge engineering approaches. Inspired by test-driven development, the authors propose a problem-first, failure-driven methodology that inverts traditional knowledge acquisition: when an agent fails on a real-world task, it actively requests the minimal set of knowledge required to resolve the specific issue. By integrating an entity metamodel with a semi-automated curation mechanism, this approach enables precise and efficient knowledge capture. Evaluated in a retail order fulfillment scenario, the method constructed a reusable knowledge base comprising 46 entities in just nine problem-resolution cycles, demonstrating both effectiveness and scalability.

Technology Category

Application Category

📝 Abstract
Large language model agents demonstrate expert-level reasoning, yet consistently fail on enterprise-specific tasks due to missing domain knowledge -- terminology, operational procedures, system interdependencies, and institutional decisions that exist largely as tribal knowledge. Current approaches fall into two categories: top-down knowledge engineering, which documents domain knowledge before agents use it, and bottom-up automation, where agents learn from task experience. Both have fundamental limitations: top-down efforts produce bloated, untested knowledge bases; bottom-up approaches cannot acquire knowledge that exists only in human heads. We present Demand-Driven Context (DDC), a problem-first methodology that uses agent failure as the primary signal for what domain knowledge to curate. Inspired by Test-Driven Development, DDC inverts knowledge engineering: instead of curating knowledge and hoping it is useful, DDC gives agents real problems, lets them demand the context they need, and curates only the minimum knowledge required to succeed. We describe the methodology, its entity meta-model, and a convergence hypothesis suggesting that 20-30 problem cycles produce a knowledge base sufficient for a given domain role. We demonstrate DDC through a worked example in retail order fulfillment, where nine cycles targeting an SRE incident management agent produce a reusable knowledge base of 46 entities. Finally, we propose a scaling architecture for enterprise adoption with semi-automated curation and human governance.
Problem

Research questions and friction points this paper is trying to address.

enterprise knowledge bases
agent failure
domain knowledge
tribal knowledge
large language model agents
Innovation

Methods, ideas, or system contributions that make the work stand out.

Demand-Driven Context
knowledge curation
LLM agents
enterprise knowledge base
agent failure