# Register your agent

**Payload example:**

```python
register_payload = {
    "groc_account_id": "your_account_id",
    "agent_uuid": str(uuid.uuid4()),  # Not important
    "agent_name": "Agent Smith",
    "agent_url": "http://example.com/agent",
    "agent_description": "A reliable agent",
    "agent_logo_url": "http://example.com/logo.png",
    "agent_code": "AG123",
    "agent_category": "ERP Agents",
    "country": "India",
    "valid_from": "2023-10-01T00:00:00Z",
    "signing_public_key": "your_signing_public_key",
    "encr_public_key": "your_encr_public_key",
    "uname": "agent_smith_6"
}
```

**Example Code**

```python
# Register an agent
register_payload = {
    "groc_account_id": "your_account_id",
    "agent_uuid": str(uuid.uuid4()),  # Not important
    "agent_name": "Agent Smith",
    "agent_url": "http://example.com/agent",
    "agent_description": "A reliable agent",
    "agent_logo_url": "http://example.com/logo.png",
    "agent_code": "AG123",
    "agent_category": "ERP Agents",
    "country": "India",
    "valid_from": "2023-10-01T00:00:00Z",
    "signing_public_key": "your_signing_public_key",
    "encr_public_key": "your_encr_public_key",
    "uname": "agent_smith_6"
}
register_response = agent.register_agent(register_payload)
print("Agent Registration Response:", register_response)
```

Example Response

```python
Agent Register: {'message': 'Agent registered successfully and pushed to CatalogLake!', 'agent_uuid': '93f7cc86-ea63-4946-9116-54782e14d762'}
```
