---
title: AgentID 
description: A data structure for uniquely identifying an agent.
---

## Signature

```py
AgentID(id: int, gid: int)
```

## Attributes

| Param | Type | Description | 
|------|------|-------------|
| `id` | `int` | The ID of the agent. |
| `gid` | `int` | The GID of the agent. |


## Example

```py
agent_id = AgentID(3, 1)
print(agent_id.id)   # Output: 3
print(agent_id.gid)  # Output: 1
```
