The United States Foreign Service is the primary personnel system used by the diplomatic service of the United States federal government, under the aegis of the United States Department of State.