the articles of confederation, formally named the articles of confederation and perpetual union, was an agreement among all thirteen original states in the united states of america that served as its first constitution. all thirteen states ratified the articles in early 1781.