[MS] Your agent already has a plan - devamazonaws.blogspot.com
If an agent isn't doing the right thing, the obvious move is to make the docs clearer. Add a tip, spell out the correct command, describe the right approach more prominently. You do all of that, and the agent still ignores it. It does what it had already decided to do. The tip wasn't ignored because it was unclear, it was ignored because the agent had already made its plan before it read the page. The agent plans before it reads An AI coding agent doesn't arrive at your documentation as a blank slate. The moment you give it a task, it forms a plan based on what it learned during training, before it goes and fetches a single doc from your site. We wrote about this general behaviour in Models don't have preferences, they have context : when there's nothing in the context to redirect a model, it falls back to whatever the statistical default is from its training data. The thing is, your docs might already be in that training data. If they are, the agent may not eve...