Automatic groups were introduced in connection with geometric problems, in particular the classification of compact three manifolds. We apply ideas from formal language theory to characterize synchronous and asynchronous automatic groups which admit a prefix closed automatic structure with uniqueness. In addition to suggesting a possible new approach to the theory of automatic groups, our results may shed some light on an open problem of long standing, namely whether every automatic group has a prefix closed automatic structure with uniqueness.