I came from an agnostic mindset myself. I always thought about the Catholic Church, “If that’s true, then I want to believe it.”
As I was seriously considering joining the church I came across Mark 9:24 "Immediately the father of the child cried out and said with tears, “Lord, I believe; help my unbelief!”
Turns out it’s ok to ask God for faith, “if He’s real”…(btw, He is )
And I believe He’s smiling intensely on a soul sincere enough to speak publicly about his search and desire for the Truth.
One of the keys to understanding and faith is that God wants a relationship, not a business transaction. Yes, He could appear in your face and you’d believe with no trace of doubt. But that’s like setting off dynamite in front of a mouse.
God wants a relationship with each of us, each on our own terms. So there’s going to be ups and downs, moments of confidence and doubt, but as things proceed, more confidence than doubt.
The fact that, as an agnostic, you sincerely reached out in prayer is, in my opinion, huge. And it sounds like you received a great grace as a response.
Most especially, be gentle with your own soul on this journey, and do ask questions as they arise. Both here and to God directly. Probably first try asking God and see how the answer you feel seems to sit with you. And search similar questions here to verify, just to make sure it’s God’s voice you’re hearing and not your own telling you what you want to hear (which we all struggle with!)