Self-referential Structure in Collective Agent System