An agency relationship can be formed through express or implied agreement (contract), by ratification (principal approves unauthorized acts after the fact), or by operation of law (necessity, estoppel, co-habitation). All three are recognized methods under agency law.