Agent circulates your project. Wait, get some much-deserved rest. You're probably going to see some rejections. Agent confers with author. Agent accepts advance and basic offer on behalf of the author.
Agent gets boilerplate from publisher and improves contract terms.
Author is usually consulted at this point. When agent is happy, contract is sent to author. Author queries agent if anything not understood. Agent deducts commission and expenses, if any, sends check to author. Non-fiction author writes book.