If an AI assistant keeps confusing a draft proposal with an approved plan, rewriting the instruction for the fifth time may not fix the underlying problem. It may be receiving both documents without enough information to distinguish their roles.
Context engineering is the work of deciding what information, instructions and tool descriptions the model receives as a task unfolds. Anthropic’s September 2025 article brings that broader design problem into focus.
The practical choice is what the assistant needs now, what it should retrieve when required and what should remain outside the task.
A larger context window can be useful. It doesn’t turn every available document into relevant evidence. Several folders of contradictory material are still contradictory, even when they fit.
Retrieve the evidence the decision requires
Consider a fictional project assistant helping staff prepare a progress update. It needs the current agreed scope, recent work and unresolved decisions. It doesn’t necessarily need every early brainstorm or the full contents of every previous client folder.
The team’s first job is to identify which records are authoritative for this update.
Give documents roles as well as content
A draft, an approved scope and a later change request may mention similar features with different commitments. File names alone may not make those distinctions dependable.
Provide usable metadata such as status, version and relevant date, with an authoritative process behind it. The assistant should be able to explain which record supports a statement.
If two approved records conflict, the right response may be to surface the conflict for review. A model shouldn’t settle it by choosing the more persuasive paragraph.
Otherwise the progress update can become an exquisitely worded account of a project nobody has agreed to build.
We build AI agents with clear jobs and sensible limits. See how.
Use search to narrow the material, then check the result
Semantic search can help locate related passages, including through embeddings that represent similarities in meaning. Similarity doesn’t establish authority or completeness.
For our project update, a retrieved paragraph about the original launch date may be highly relevant to the wording of the question and obsolete as evidence of the current plan.
Combine retrieval with the task’s record rules. Include enough surrounding context to interpret a passage and preserve a link to its source. Ask the assistant to distinguish missing information from information it has actually checked.
The best retrieval result is the material needed to answer accurately, rather than the largest pile the model can carry into the meeting.
Keep working state separate from the archive
A task that unfolds across several steps needs a concise account of what has been established and what remains open.
That state should help the assistant continue without treating every earlier sentence as equally current.
Worth reading next: Search your business knowledge before asking AI to improvise.
Preserve the facts that affect the next step
For the fictional progress update, a useful working record might contain:
- The approved scope version used for the update.
- Work items verified as complete and the supporting records.
- Open questions that need a person’s decision.
- Actions already performed so they aren’t repeated.
- Sources that were unavailable or not yet checked.
This is more useful than a growing transcript of every tool response. It should also remain possible to return to the original evidence when a summary is insufficient.
Tool descriptions need comparable care. A capability called “update project” is vague if it can change several unrelated records. Clear inputs, outputs and limits help the assistant select the right operation, while the application enforces permissions outside the model.
Reduce irrelevant history deliberately, but don’t compress away uncertainty or turn a tentative inference into a settled fact. A shorter summary can be tidier and less accurate at the same time.
I would compare context choices on representative tasks. Does the assistant identify the current commitment, cite the right record and stop when a decision is unresolved?
Only then would I refine the wording around the failures that remain. Better prompts can help. They work more convincingly when the assistant is looking at the right project.
A helpful colleague needs a current brief. Giving the AI the whole archive and asking it to “use its judgment” is quite a first-day orientation.