Washington and Canberra agreed to boost the US military presence in Australia and speed up cooperation, both countries said.