> ## Documentation Index
> Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# anthropic.Client

> Anthropic client implementation for API interactions and model integration.

[View module source on GitHub](https://github.com/maximhq/maxim-py/blob/main/maxim/logger/anthropic/client.py)

## [MaximAnthropicClient](/sdk/python/references/logger/anthropic/client)

```python theme={null}
class MaximAnthropicClient()
```

[Maxim](/sdk/python/references/maxim) Anthropic client wrapper.

This class provides a wrapper around the Anthropic client to integrate
with [Maxim](/sdk/python/references/maxim)'s logging and monitoring capabilities. It allows tracking
and logging of Anthropic API interactions through the [Maxim](/sdk/python/references/maxim) platform.

**Attributes**:

| Name      | Type                                             | Description                                                                          |
| --------- | ------------------------------------------------ | ------------------------------------------------------------------------------------ |
| `_client` | *Anthropic*                                      | The underlying Anthropic client instance.                                            |
| `_logger` | *[Logger](/sdk/python/references/logger/logger)* | The [Maxim](/sdk/python/references/maxim) logger instance for tracking interactions. |

#### \_\_init\_\_

```python theme={null}
def __init__(client: Anthropic, logger: Logger)
```

Initialize the [Maxim](/sdk/python/references/maxim) Anthropic client.

**Arguments**:

| Name     | Type                                             | Description                                                                |
| -------- | ------------------------------------------------ | -------------------------------------------------------------------------- |
| `client` | *Anthropic*                                      | The Anthropic client instance to wrap.                                     |
| `logger` | *[Logger](/sdk/python/references/logger/logger)* | The [Maxim](/sdk/python/references/maxim) logger instance for tracking and |

logging API interactions.

#### messages

```python theme={null}
@property
def messages() -> MaximAnthropicMessages
```

Get the messages interface with [Maxim](/sdk/python/references/maxim) logging capabilities.

**Returns**:

| Name                                                                        | Description                                |
| --------------------------------------------------------------------------- | ------------------------------------------ |
| `[MaximAnthropicMessages](/sdk/python/references/logger/anthropic/message)` | A wrapped messages interface that provides |

logging and monitoring capabilities for Anthropic message operations.
