When Not to Use FACET: A Practical Complexity Budget
I do not want FACET in every model call.
A contract layer has a cost: another language, another compiler step, another artifact to review. If a plain prompt and a response schema already contain the whole problem, adding FACET would not make the system more engineered. It would only make it larger.
The useful question is not “Can this prompt be written in FACET?” Almost any request can. The question is: which failure boundary am I buying control over?
This is my complexity budget for answering that question.
Start with the smallest boundary that works
There are four common levels. They solve different problems.
| Boundary | Use it when | What it controls | What it does not control |
|---|---|---|---|
| Plain prompt | The call is disposable and human-reviewed | Instructions and examples | Output shape, tools, context allocation, replay |
| JSON Schema / Structured Outputs | One response needs a reliable shape | Required fields, types, enums | Request construction, tool authority, context packing |
| Host-language code | The flow belongs to one application | Branching, retries, state, provider calls | A portable declarative contract across hosts |
| FACET contract | Several boundaries must agree before inference | Typed inputs, imports, context layout, tools, policy, canonical request identity | Model truthfulness, provider availability, external side effects |
This table matters because “more formal” is not automatically “more correct.” Formalizing the wrong layer creates ceremony around an unchanged risk.
OpenAI Structured Outputs, for example, can enforce a supplied JSON Schema for a model response. That is a strong answer when the actual requirement is “return these fields with these constraints.” JSON Schema itself is a declarative language for the structure and constraints of JSON data. Neither claim implies that a separate architecture language is required.
If the system has one provider call, no tools, no reusable imports, no contested context budget, and no need to compare request identity across runs, I would stop there.
Count boundaries, not prompts
FACET starts paying for itself when a request is assembled from decisions that otherwise live in several places.
Consider a support agent that receives typed runtime input, exposes only some tools, imports a shared policy, reserves context for mandatory instructions, and must preserve the identity of the effective request. Without a contract layer, these rules can be split across prompt files, SDK configuration, middleware, validators, and deployment code. Each part may be reasonable. The problem is the join.
I use this five-question test:
- Can malformed input reach request construction?
- Can the visible tool set differ from the authorized tool set?
- Can context overflow remove something that must survive?
- Can imports or configuration produce a different effective request without a stable identity?
- Must two hosts construct equivalent requests from the same source?
A single “yes” does not force FACET. Three or four usually mean the system already has an implicit contract language—just scattered across code.
That is the threshold I care about. FACET is not justified by prompt length. It is justified by boundary coupling.
Three cases where I would not use it
1. Interactive exploration
During early exploration I want cheap changes and immediate feedback. A notebook cell, a prompt file, or a small script is often the correct tool. The output is inspected by a person, failure is reversible, and the goal is to discover the task rather than freeze its architecture.
Compiling that uncertainty too early would encode guesses as structure.
2. A local transformation with a strict output schema
Suppose a model extracts a name, date, and invoice total from one document. The application validates the response, does not call tools, and a person reviews low-confidence cases. A response schema plus ordinary application code has a clear responsibility split. FACET would add little unless request construction, context allocation, or cross-provider equivalence becomes part of the requirement.
3. Workflow state that belongs in the host
FACET v2.1.3 defines deterministic request construction. It does not standardize model inference, provider protocols, loops, or mutable workflow state. One run produces one canonical request; retries, storage, side effects, and state machines remain host responsibilities.
Trying to force a durable workflow engine into a FACET document would cross the abstraction boundary in the wrong direction. Use host code—or a workflow runtime—for workflow state.
The adoption rule: promote only after pressure appears
I prefer promotion over prediction.
Start with the least powerful representation that is honest about the system. Then promote when a concrete pressure appears:
prompt
-> response schema
-> typed host boundary
-> compiled FACET contract
The move to FACET should name the pressure. Examples:
- the same prompt is assembled differently in two services;
- tool exposure and authorization have drifted apart;
- a context budget needs protected sections and deterministic overflow behavior;
- imported policy must participate in request identity;
- provider adapters must preserve one canonical intermediate representation;
- CI needs to reject an invalid request architecture before any model call.
This is also why I treat FACET, YAML, and JSON as different layers, not competing syntaxes. JSON is a good data interchange format. JSON Schema is a good data constraint language. Host code is good at orchestration. FACET has a narrower job: compile the architecture of an AI request into a canonical boundary.
A reversible migration is better than a rewrite
The first FACET boundary should be small. Keep the provider SDK. Keep the business logic. Keep the agent loop. Replace only the request-assembly surface, as in the brownfield integration path.
That gives the decision a rollback path. If the contract does not reduce drift, clarify review, or catch failures before inference, remove it. A useful architecture can survive that test.
The same restraint applies after adoption. Do not move every conditional, retry, and state transition into the contract. FACET owns typed inputs, deterministic resolution, layout, policy, canonical rendering, and provenance. The host still owns model invocation and effects. The offline scripted-loop pattern shows how these boundaries can be tested together without pretending they are one mechanism.
My decision rule
I use FACET when request construction has become infrastructure: shared, security-relevant, resource-bounded, provider-facing, or required to be reproducible.
I do not use it to make a small prompt look serious.
The strongest contract is not the one with the most machinery. It is the smallest one that makes an important failure impossible—or at least visible before the model runs.