Semi-learned borrowing from Latin achātēs, from Ancient Greek ἀχάτης (akhátēs).
Practice speaking and memorizing "ágata" and many other words and sentences in Spanish.