AI’s benefits for government are real but so are its pitfalls. How far can we rely on machines for advice, action and decisions?