DocsRuntimellm-providersCreateAnthropicClient
Package: @hexos/runtime

Creates an authenticated Anthropic SDK client instance.

Initializes the Anthropic client using the ANTHROPIC_API_KEY environment variable. This factory function is used by the runtime to create provider instances for Anthropic-based agents.

function createAnthropicClient(): Anthropic