Barnes was senior domestic policy advisor to Senator Barack Obama during his 2008 presidential campaign. After the election, Barnes served on the Obama-Biden Transition Project leadership team. Barnes served as co-director of the Agency Review Working Group for the transition.