View module source on GitHub

MaximAnthropicClient

class MaximAnthropicClient()

Maxim Anthropic client wrapper.

This class provides a wrapper around the Anthropic client to integrate with Maxim’s logging and monitoring capabilities. It allows tracking and logging of Anthropic API interactions through the Maxim platform.

Attributes:

NameTypeDescription
_clientAnthropicThe underlying Anthropic client instance.
_loggerLoggerThe Maxim logger instance for tracking interactions.

__init__

def __init__(client: Anthropic, logger: Logger)

Initialize the Maxim Anthropic client.

Arguments:

NameTypeDescription
clientAnthropicThe Anthropic client instance to wrap.
loggerLoggerThe Maxim logger instance for tracking and

logging API interactions.

messages

@property
def messages() -> MaximAnthropicMessages

Get the messages interface with Maxim logging capabilities.

Returns:

NameDescription
[MaximAnthropicMessages](/sdk/python/references/logger/anthropic/message)A wrapped messages interface that provides

logging and monitoring capabilities for Anthropic message operations.