Optimizing content for autonomous AI agents