The job of a national security adviser is to set and coordinate the foreign policy agenda in consultation with the president, eliciting the input of key agencies through layered interagency deliberations, and giving those agencies the job of carrying out the policy so formulated.