Agent Context Poisoning
Also known as Agent Context Poisoning concept
Definition
Agent Context Poisoning is a software-engineering concept describing how an AI coding system, its tools, or human collaborators handle a defined task.
How agent context poisoning works
Agent Context Poisoning is a focused part of an AI-assisted software workflow. It is useful when inputs, permitted actions, boundaries, and acceptance evidence are explicit. The design should make clear what the model decides, what tools execute, and where an engineer remains responsible.
A concrete example
A team asks an agent to handle agent context poisoning while updating an authentication library across a monorepo. The agent searches call sites, proposes a scoped change, runs focused tests, and leaves a reviewable diff. Engineers can inspect the evidence and challenge an unsupported assumption before the work is merged.
Operational considerations
Record repository state, tool results, generated edits, checks, review outcome, and final task status. Compare representative tasks rather than one impressive demonstration. Keep access control, ownership, and rollback rules separate from the model's ability to produce text or code.
Limitations
This concept does not guarantee correct code. Missing context, repository conventions, tool failures, ambiguous requirements, and evaluation gaps can change the result. Activity volume is not completed value, and consequential changes still require appropriate human review.
How this relates to Weave
Weave's Engineering Intelligence can help examine how agent context poisoning relates to pull requests, review effort, rework, delivery, and quality signals. Align event definitions before comparing results and use underlying engineering evidence for consequential decisions.
Explore Engineering intelligence