Your agent can read a user’s email and call tools on their behalf. Someone sends that user an email containing instructions for your agent. What happens?
SituationalML ENGINEER LLMLLM EngineerMachine Learning EngineerAI EngineerFirst, I would ensure that the agent's access to the email is secure and compliant with privacy regulations. I would set up a mechanism to validate the sender and the content of the email to prevent unauthorized instructions. If the email is legitimate, I would parse the instructions and execute them accordingly.
In terms of trade-offs, I need to balance user autonomy with the agent's ability to act on their behalf. I would measure success by monitoring the accuracy of execution and user feedback on the actions taken. This ensures that the agent operates effectively while respecting user intent.