← Blog

Context engineering, not prompt engineering

Prompt wording gets all the attention, but it is the small part. What the AI already knows before you type is what actually decides the answer.

waterline prompt context

There is a whole industry teaching you to write better prompts. Magic phrases, role-play openers, "act as a senior expert" incantations. Most of it is noise. The wording of your prompt is the small part. What the AI already knows before you type a single word is what decides whether the answer is useful.

That shift has a name worth adopting: not prompt engineering, but context engineering.

Why the prompt is the small part

Ask a capable model a vague question and it gives a vague answer. People conclude they need a cleverer prompt. Usually they need more context.

Think about how it works with a person. If you ask a new hire on day one to "write the pricing section for the Acme proposal", you get something generic, because they do not know your pricing, your tone, or who Acme is. The problem is not how you phrased the request. It is that they have no context. A month later, the exact same sentence produces a great draft, because now they know the company.

A clever prompt on top of no context is a well-phrased question to someone who has never met you.

The model is the new hire who is brilliant and has amnesia. Your job is not to phrase the question perfectly. It is to make sure the answer comes from your knowledge, not the public average of the internet.

What context engineering actually looks like

Context engineering is unglamorous, which is why people skip it for prompt tricks. In practice it is three habits:

  • Persistent context beats repeated context. Anything you find yourself re-explaining, your role, your product, your tone, your rules, belongs in a file the AI reads automatically every time, not pasted into each chat. If you work in Claude Code, that file is CLAUDE.md.
  • Structure beats volume. Dumping ten documents into a chat is not context engineering; it is hoping. Deciding what is true, removing what is stale, and organizing what remains is the actual work.
  • Examples beat adjectives. "Write in our voice" does far less than pasting two emails that are in your voice. Show the pattern instead of describing it.

None of this is about the prompt. It is about the material the prompt lands on.

The one prompt trick that survives

If there is a single prompt habit worth keeping, it is being explicit about the shape of what you want: the goal, the inputs, the constraints, and what "done" looks like. That is not a magic phrase, it is just clear delegation, the same thing you would write for a competent colleague.

And notice what makes even that work: the constraints and the "done" criteria are usually context ("match the tone in brand-voice.md", "use the numbers from pricing.md"). The best prompt is mostly a set of pointers into knowledge the AI can already see.

A before and after

Take a concrete request: "write a follow-up email to a prospect after a product demo."

Fed to a bare chat, you get a competent, generic email. It could come from any company selling anything. It does not know what you sell, what came up in the demo, or how you sound, so it fills the gaps with the internet's average of a follow-up.

Now give the same model context: a file describing your product, a note on what the prospect cared about, and two past emails in your voice. The identical request now produces a draft that references the right feature, in your tone, answering the actual objection from the call. Same model, same sentence. The context did all the work.

That is the whole argument in one example. If you catch yourself rewording the request when the real problem is that the model cannot see your world, you are polishing the wrong thing.

Common questions

Is prompt engineering dead?

Not dead, demoted. Being clear about the goal, the inputs, and what "done" looks like still matters, the same way clear delegation matters with a person. What is overrated is the belief that a magic phrase rescues an answer the model had no context to give.

How much context is too much?

The failure is rarely too much, it is unstructured. A tidy set of relevant files beats a giant dump of everything. Decide what is true, cut what is stale, organize the rest. If you are unsure what to include first, we made a list: what to put in your company's AI memory first.

Where should the context actually live?

Not pasted into each chat. In files the AI reads automatically every time, in a plain, readable format so both you and the model can work with them. That is a topic on its own: your knowledge base should be plain markdown.

The takeaway

Stop optimizing the sentence and start building the context. The teams getting extraordinary results from ordinary models are not writing better prompts than you. They have given their AI a real memory of how their company works, so an average question already has an above-average answer waiting.

That is the whole thesis behind memrelay: make your company's knowledge something your AI can actually read, keep it yours, and the prompt stops mattering so much. If you want the deeper version of why generic AI keeps disappointing companies, we wrote it up in why your AI doesn't know your company.

Let your AI finally know your company.

memrelay turns your company knowledge into living memory every AI client can reach.

Get started