Ontologies in Agentic AI