Andromeda is Meta's next-generation ad retrieval system. It is the first and most critical stage of the ad delivery pipeline, responsible for scanning millions of potential ads in milliseconds to create a refined shortlist of a few thousand candidates for a specific user. This shortlist is then passed to the later stages of ranking and auction.