Unless you're trying be a central planner, you don't really need a consensus.
You just need an agreement with (say) farmer Jones for how much you're willing to pay for her eggs, and an agreement with one of your customers about how much you want for your labor. The market takes care of the rest.