Learn as much as you can. While you're not likely to become an expert, all knowledge is good. And the more you have, the better. It also allows you to ask better questions of your agent: "Well, this program will cover that; what do you think?"
Meanwhile, rely on your agent for all the knowledge and experience he or she has. Don't assume that a few weeks or a few months of research will put you on a part with someone who may have 5-15 years or more of experience.
Respect your agent for what he or she brings to the table. But learn as much as you can, and feel free to ask questions, make suggestions, and challenge assumptions.
And don't just limit your research to programs that can help you--first-time buyer programs, that sort of thing. Learn as much as you can about the entire process. That'll benefit you and--really--many/most agents will appreciate the fact that you're an active, involved participant.
Hope that helps.