Write first. Worry about getting an agent or publisher later. Write it first. Prove you can do it and then others will listen. Tons of people talk about books they want to write. Far fewer are those who actually complete that vision. Don't be a talker.