# AgentNameConflictError

## ``autogen.AgentNameConflictError``

```
AgentNameConflictError(msg='Found multiple agents with the same name.', *args, **kwargs)
```

Bases: `Exception`

Source code in `autogen/exception_utils.py`

|     |     |
| --- | --- |
| ```<br>23<br>24<br>``` | ```<br>def __init__(self, msg: str = "Found multiple agents with the same name.", *args: Any, **kwargs: Any):<br>    super().__init__(msg, *args, **kwargs)<br>``` |
