Customary law and conventional law are primary sources of international law. Customary international law comes into being when states follow certain practices generally and consistently out of a sense of legal obligation.
Conventional international law derives its powers from international agreements between actors and may take any of the forms that these states agree upon.