The way we ascribe consciousness to entities other than ourselves is based on similarity to ourselves.
Obviously other living humans have the highest similarity, so they are automatically deemed conscious. Next are other primates, followed by other domesticated mammals, and other animals.
Furthest from the status of conscious are creatures we see as automata like dung beetles rolling their food, or jellyfish ... jellyfishing.
Presumably we'd apply a similar process to hypothetical AGIs.
Obviously other living humans have the highest similarity, so they are automatically deemed conscious. Next are other primates, followed by other domesticated mammals, and other animals.
Furthest from the status of conscious are creatures we see as automata like dung beetles rolling their food, or jellyfish ... jellyfishing.
Presumably we'd apply a similar process to hypothetical AGIs.