Every AI feature begins as a sentence somebody says in a meeting: "We should use AI for the invoices." That sentence contains no engineering. It names a technology and gestures at a pile of work. Build directly from it, and every later argument — about quality, about cost, about whether the thing is done — becomes unresolvable, because the sentence never said what problem was being solved, for whom, or at what stakes.
The first engineering act on any AI feature is therefore not technical at all. It is writing the frame: a short, plain document that states the problem in operational terms before anyone is allowed to discuss the model. A frame has five parts, and each part exists because its absence has killed real projects.
The five parts of a frame
First, the task in the user's words. Not a category like "document intelligence," but the actual work: a clerk receives a carrier invoice, reads fourteen fields off it, and keys them into the billing system. The feature's job is to produce those fourteen fields, correctly, for human confirmation or automatic posting. If you cannot state the task as a person doing a job, you do not yet know what you are building.
Second, the decision the output feeds. AI output is never the end of anything; it is an input to a decision — post this charge, route this shipment, answer this customer. Naming the decision names the stakes, because a wrong field that a human catches at confirmation and a wrong field that triggers an automatic payment are the same model error with entirely different costs.
Third, scope: what is in. Which document types, which languages, which customers, what volume. Fourth, non-goals: what is explicitly out, written down with the same care as the scope. Scope creep in AI features rarely arrives as a request. It arrives as an assumption, in a demo, in front of an executive, that the system "also basically handles" something nobody built or tested.
Fifth, the cost of being wrong, stated per error type, in money or in harm. That single paragraph will later set the evaluation thresholds, the human review design, and the monitoring alerts. Everything downstream prices itself off the frame's honesty about failure.
One business, framed once
Briarline Freight Co. is a fictional regional freight company whose billing clerks process 9,600 inbound carrier documents a month — invoices and delivery receipts whose fields must be keyed into the billing system before customers can be charged. The work is slow and error-prone, especially at month-end when volume spikes. Briarline's frame for its first AI feature reads, in substance, like this.
The task: extract the fourteen billing fields from each inbound carrier document and present them for posting. The decision fed: whether a charge is posted to a customer account, and at what amount. The scope: the three standard document layouts its regular carriers use, in English, at the current volume of 9,600 documents a month. The non-goals: handwritten documents, documents from one-off spot carriers, and any automatic posting above a stated amount in the first release — those stay manual, by design, not by oversight. The cost of wrong: a wrong invoice-total field that survives to posting costs a stipulated average of $46 per incident in correction work, rebilling, and customer goodwill calls; a wrong carrier-name field costs minutes; a missed document costs a delayed billing cycle.
Those figures — 9,600 documents, fourteen fields, $46 — are the company's own stipulated account of itself, held constant wherever they recur, so that any later computation can be checked against them.
Two disciplines govern the framing
Frame before model. The frame names no model, no vendor, no technique — deliberately. The moment a frame says "using a large language model," the conversation collapses into the technology, and the problem's actual shape — its volumes, its error costs, its non-goals — goes unexamined. A frame that the billing manager and the finance partner cannot read profitably is not finished, because the frame is a business document with engineering consequences, not an engineering document with business decoration.
The frame is falsifiable. Every part of it can be wrong in a way the world can demonstrate: the volume can be counted, the error cost can be measured against last quarter's corrections, the scope can be tested against the actual document pile. When Briarline's team counted, they found the pile contained a fourth layout nobody had mentioned. That discovery is exactly what a frame exists to force — before the build, when it costs an afternoon, rather than after, when it costs a launch.
A good frame is short: a page, two at most. It is also the most argued-over page in the project, and that argument is the value. Every disagreement the frame surfaces in week one is a disagreement that would otherwise surface in month four, in production, at production prices. When a stakeholder later says, "I thought it would also handle the handwritten ones," the frame settles whether that was ever promised. When evaluation results arrive and someone asks whether they are good enough, the frame's failure-cost paragraph is where the answer begins.
Framing is not paperwork about the work. It is the part of the work that decides what the work is. A team that skips it has not saved a week; it has deferred every hard question to the moment when answering is most expensive — and made those questions unanswerable in the bargain, because without a frame there is no agreed statement of what the system was ever for. Briarline's frame took two meetings. The fourth document layout it surfaced would have taken a failed launch to discover.
Experience it, don’t just read about it
The frame — task, decision, scope, non-goals, and the cost of being wrong, written before any model is discussed — is Concept 1 of Applied AI Engineering (Course No. 171), from Cognosco Learning, a learning company powered by AI. The course builds the wider engineering discipline beyond this distinction — Write the Contract, Build the Evaluation Set, and Set the Threshold — each worked through with an Agentic Socratic AI coach, one learner at a time. Try a Free Preview at cognoscolearning.com.
Navigate your own course.
© 2026 Cognosco Learning. All rights reserved.