A business stakeholder should not have to know which semantic model can answer a question. But somewhere behind a good conversational experience, the system still has to determine what the person means, which capability is appropriate and whether it may act.
I wanted to make those responsibilities visible without deciding in advance how many agents, services or containers would be needed.
The Self-Service Data Framework describes four logical roles: Orchestration, Knowledge, Decision and Service, connected by explicit contracts. They can be co-hosted, replaced or integrated differently without erasing who owns each part of the request.
Follow an illustrative question to see why those boundaries matter.
Begin with the business question
Suppose someone asks:
“How are our active customers performing this quarter compared with last year?”
This is an illustrative intended experience, not a claim that the MVP reference runtime fulfils open-ended comparative questions.
The question sounds simple. Yet it contains several unresolved details. Which contextual definition of active customer is relevant? Is “performing” about purchases, engagement, retention or revenue? Does this quarter follow the financial or calendar year? What scope may this person see?
The purpose of the framework is not to answer those questions through confident guessing. It is to bring the right governed knowledge and capability into the interaction, ask for clarification where it matters and preserve the authority boundary.
Orchestration owns the conversation
Orchestration is the front door. It accepts the request, carries trusted interaction context, handles clarification turns and eventually delivers an appropriate response.
It can remember enough transient context to support a follow-up, such as the timeframe the user just clarified. But the fact that the user mentioned a definition does not make it approved organisational knowledge.
Orchestration should not decide business authority, select unapproved semantics or rewrite a failed service result into a successful story. Its value is a consistent interaction experience across different ways of consuming the framework.
Knowledge supplies applicable evidence
Knowledge helps find relevant semantic definitions, contextual relationships, capability descriptions, owners and provenance. A localised knowledge base can hold governed knowledge alongside separately classified experiential evidence.
This is more than a catalogue of model names.
A request that uses “active customer” may benefit from approved contextual definitions, a validated synonym, or a known connection between a business intent and a governed capability. Retrieval can suggest candidates across models and domains, but the resulting match remains evidence until checked against the governing state, scope and ownership.
Repeated questions should reuse applicable knowledge rather than require unnecessary re-interpretation. Yet an observation captured from a previous interaction cannot silently become authoritative. Low-impact patterns can follow policy-controlled automatic activation when eligible; material semantic changes require a different approval path.
Decision resolves meaning and permission
Decision is where the candidate evidence is evaluated against the request and trusted context.
It separates what the question might mean from what knowledge is approved, and separates both from what the user is allowed to do. It considers context precedence, ambiguity, confidence, governance state and policy.
If one valid governed Semantic Capability can satisfy the request within permitted scope, Decision produces a structured semantic intent and policy outcome. It does not need to generate provider-specific SQL as its shared contract with Service.
If meaning is unresolved, it can request a useful clarification. If the policy denies the action, it should not invoke the service. If the request needs a capability that does not exist, the outcome is a gap, not permission to invent a join.
The initial framework intentionally routes to one capability per request. The ability to find candidates in several models is distinct from an approved composite capability that may one day span their boundaries.
Service owns invocation and its response
After Decision has established a permitted semantic request, Service handles invocation through the selected binding and provider adapter.
The provider may be a suitable native semantic service, an analytical agent or another approved implementation. The binding records how a governed capability is connected to that provider. The adapter validates supported behaviour and limitations rather than silently translating the request into something else.
Service owns execution status, result metadata and its bounded service-level response. Orchestration owns delivery to the consuming user or agent.
That separation helps prevent two common forms of accidental authority: asking a provider adapter to redefine the metric because it has a convenient schema, and asking a conversational layer to turn partial or failed output into a definitive business answer.
Technical view: A governed path from question to capability
Information movement is not authority movement
An architecture diagram uses arrows to show information passing between components. An arrow cannot establish who has the right to approve meaning.
Knowledge sends candidate definitions to Decision; it does not thereby approve them. Decision selects an allowed path; it does not grant rights contrary to enterprise policy. Service executes an approved capability; it cannot amend the governing definition by returning an unexpected result.
The contractual boundaries should carry the information necessary to keep those distinctions meaningful: interaction and identity context, capability reference, semantic intent, applicable policy state, provenance and explicit outcome status.
These contracts are an important reason to keep the design provider-neutral. The system can change an implementation behind a boundary while preserving the responsibility the boundary protects.
What the reference MVP establishes
The framework's MVP merge snapshot contains a composable runtime, role-boundary tests, structured semantic-execution requests and a deterministic test-only e-commerce fixture.
The interactive CLI accepts ordinary-language prompts but matches them against known catalogue entries. The provider-backed fixture executes allowlisted PostgreSQL queries under constrained test identity and policy. The tests also exercise role replacement and explicit non-success paths.
That is evidence that the responsibility path can be represented and tested. It does not demonstrate unrestricted model discovery or live Snowflake/Cortex/CoWork use at that historical point.
A later pilot may test more ambitious assumptions. That evidence deserves its own scope and date.
Technical diagrams and source notes
The original technical diagrams remain available here, including their source relationships, stated purpose and scope. They provide technical depth beyond the business-first narrative.
Why not just use one component?
For a bounded, well-governed application, the simplest useful implementation may be one native agent or service. Adding logical layers only has value if the problems they solve actually exist.
Separating responsibilities becomes more compelling where semantic definitions have different owners, knowledge should be reused between interactions, multiple native capabilities must remain available, or policy and observability need to survive changes in provider.
The price is governance work, contract design, integration tests and operational ownership. The benefit is not a diagram with more boxes. It is a system in which the same business question can pass through replaceable components without making a model, search index or query adapter the accidental source of truth.
Composability is the ability to change who performs the work without changing who owns the decision.