class EdgeAgent:
    """EdgeAgent class representing an edge (relationship) between two agents."""

    def __init__(self, agent_1, agent_2, edge_id=None):
        """
        Initialize an EdgeAgent.

        Args:
            agent_1: First agent in the relationship
            agent_2: Second agent in the relationship
            edge_id: Optional unique identifier for this edge
        """
        self.agent_1 = agent_1
        self.agent_2 = agent_2
        self.edge_id = edge_id

    def __repr__(self):
        return f"EdgeAgent({self.agent_1.agent_id} -- {self.agent_2.agent_id})"