Did you sign a buyer/broker agreement? Each state has different law regarding real estate but having a signed agreement is usual proof point. However, if the agent did the home work on the property, sent you comps, wrote an offer for you before(?), they could argue the point of "procuring cause" and ask to be paid a commission offered by the listing broker per the MLS.
I am sure local agents will chime in and offer more local advice.