Ref, atom, agents