RESEARCH BRIEF / CEO · CIO · CTO · Knowledge owners
Move beyond prompt engineering towards governed knowledge, retrieval and model adaptation.
The executive proposition
The intelligence of a deployed system depends not only on its model, but on the information it receives, the tools it can use and the state of the business at the time of the request. Context engineering is the discipline of supplying relevant, authorised, current information and instructions without flooding the model with irrelevant content. For smaller models this discipline can be particularly important.
A shift from prompt to system design
Anthropic’s context-engineering guidance describes management of instructions, tools, external information and accumulated conversation state [1]. Its managed-agents architecture also distinguishes execution harness, session and sandbox [2]. These are vendor engineering patterns, not universal guarantees. The enterprise should control retrieval, scope, authority and history independently of the model. A long context window is capacity, not evidence of accurate recall.

Figure 1. Context pipeline: trusted policy and untrusted content are distinct.
Four adaptation mechanisms
Method | Purpose | When to choose |
|---|---|---|
Prompt / few-shot | Guide format or behaviour | Simple, stable instructions |
RAG / ontology | Supply current facts and relationships | Policies, inventory, business meaning |
Fine-tuning / LoRA | Adapt task behaviour | Repeated, labelled specialised tasks |
Deterministic functions | Guarantee known calculations / rules | Transactions, approvals, pricing |
A business scenario: a small-model service desk
A support enquiry says an invoice is wrong. The classifier detects billing intent; the semantic layer resolves the customer and invoice identifiers. Retrieval returns only the current policy and permitted invoice fields. A small model produces a proposed explanation with source identifiers. The calculation service independently reconciles the amount. A human resolves disputed or unsupported cases. The model never needs the entire finance drive or unrestricted database access.
RAG versus fine-tuning
RAG retrieves external knowledge at inference time, so policy changes can be reflected through updated source indexes. Fine-tuning changes weights and may improve a repeatable task or output style, but is not a reliable way to store up-to-date facts or erase sensitive information. LoRA trains a smaller set of additional parameters; it still needs representative examples, evaluation and appropriate rights to training data. Distillation may reduce inference cost but requires lawful teacher outputs and a quality comparison. Do not train on confidential customer material simply because it is technically available.
Build a context contract
Component | Required metadata | Acceptance check |
|---|---|---|
Retrieved record | Source, effective date, identity, permissions | Current authorised source |
Tool definition | Typed inputs, output, owner, limits | Deny unsafe arguments |
Skill / procedure | Version, scope, exceptions | Owner approval |
Session state | Case ID, task status, expiry | No cross-customer leakage |
Use a minimal context budget and explicit unknown values. Keep trusted developer instructions separate from retrieved text, which may include malicious instructions. Validate source attribution and policy applicability outside the model; a citation-shaped string is not proof.
90-day agenda
Days 1–30: choose one high-frequency task; define retrieval permissions and collect a labelled evaluation set. Days 31–60: compare prompt-only, retrieval-augmented and deterministic alternatives. Measure retrieval recall, supported-answer rate and abstention. Days 61–90: only if behaviour remains inadequate, test a fine-tuned candidate on a held-out set, with leakage and version controls. Maintain the baseline and rollback path.
Executive measures
Cost per correct case; unsupported answer rate; context tokens per successful task; source freshness; permission-denial rate; performance after policy updates. Track quality for minority languages and unusual cases. Set a review process for any content that can change model behaviour.
The boardroom question
Are we buying increasingly large models to compensate for information that our own organisation has failed to organise?
Sources and evidence notes
[1] Anthropic, Effective context engineering for AI agents — 29 Sep 2025; context management.
[2] Anthropic, Scaling Managed Agents with stable interfaces — 2026; separation of agent components.
[3] OWASP GenAI Security Project — RAG, memory and AI data security guidance.
[4] NIST AI RMF — Risk management reference; established official resource.
Evidence scope: selected official public search extracts reviewed 6 December 2026; full text was not independently retrieved for every source. Vendor claims are not independent benchmarks. Illustrations and recommendations are proposed, not completed client work.