# AgentAddress

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/address/AgentAddress)

An agent address. Use `agent_address` to validate and construct one.

The id is a DNS label of 1 to 63 lowercase ASCII letters, digits or hyphens,
starting with a letter and ending with a letter or digit. The environment is
local, development, staging or production.

## Signature

```python
AgentAddress()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    kind: Literal['AGENT'],
    id: str,
    environment: Literal['LOCAL', 'DEVELOPMENT', 'STAGING', 'PRODUCTION'],
)
```

| Name | Type |
|------|------|
| `kind` | `Literal['AGENT']` |
| `id` | `str` |
| `environment` | `Literal['LOCAL', 'DEVELOPMENT', 'STAGING', 'PRODUCTION']` |


## Properties

- `kind`
- `id`
- `environment`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/address.py#L53)