the aim of this short note is to introduce the concepts of prime and semiprime ideals in ordered ag-groupoids with left identity. these concepts are related to the concepts of quasi-prime and quasi-semiprime ideals, play an important role in studying the structure of ordered ag-groupoids, so it seems to be interesting to study them.