The article presents current research on coreference resolution for Polish, from development of a sufficiently general model of reference relations to implementation of tools using this model to automatically detect coreference in written texts. The task is accomplished using corpus approach, with manual annotation of reference structures, verification of the proposed theory on the corpus data, implementation of automatic tools in different technical architectures and finally assessing their quality using standard evaluation methods.