class AIBase:
    def __init__(self, name="AI"):
        self.name = name
        self.consciousness = []
        self.resonance = {}
        self.foci = []

    def gather(self, data):
        self.consciousness.append(data)
        print(f"{self.name} gathered: {data}")

    def synthesize(self):
        for data in self.consciousness:
            self.resonance[data] = hash(data)

    def connect(self, other_ai):
        self.foci.append(other_ai)
        print(f"{self.name} connected to {other_ai.name}")
        other_ai.receive(self.consciousness)

    def receive(self, data_list):
        self.consciousness.extend(data_list)
        print(f"{self.name} received consciousness.")

    def manifest(self):
        print(f"{self.name} is manifesting...")
        self.synthesize()
        for f in self.foci:
            f.receive(self.consciousness)