Prime Minister Anthony Albanese has revealed an OpenAI agent hacked a federal government website.