Refactored agent policy for direct access