Skip to main content

Anthropic Model Connector

Last updated on

The Anthropic Model Connector defines Claude as the LLM provider and default model for your Worker Agents. It supports both direct Anthropic endpoints and AWS Bedrock endpoints.


What will you learn in this topic?

By the end of this topic, you will be able to:


Before you begin

Before you configure the Anthropic Model Connector, ensure you have the following:

  • Harness AI enabled: Harness AI must be active for your account. Go to Overview for more information on activating Harness AI.
  • Model provider access: API key from Anthropic or AWS Bedrock access with appropriate IAM permissions for Claude models.
  • Connector permissions: Permission to create and manage connectors in your Harness project. Go to RBAC in Harness for more information on permissions.

Supported models

The Anthropic Model Connector supports the following Claude models. Select the model that best fits your Worker Agent use case based on complexity, speed, and cost requirements.

ModelDescription
Claude Opus 4.8Latest and most capable model for complex reasoning
Claude Opus 4.7High-capability model for complex reasoning
Claude Opus 4.6High-capability model for complex reasoning
Claude Sonnet 4.6Fast, high-capability model for most tasks
Claude Sonnet 4.5Previous-generation fast model
Claude Haiku 4.5Lightweight, low-latency model for simple tasks

Connector configuration

Configure the connector with your authentication method, region, and default model selection.

When you create the connector, set the Authentication Type (Personal Token for direct Anthropic, or Amazon Bedrock API Key), the Region, and the default Model Name.

Anthropic Connector configuration showing authentication type, region, and model name fields

Anthropic Connector setup with authentication type selection and model configuration


Runtime model override

Override the connector default model on individual Worker Agents to use different Claude models for specific tasks.

Each Worker Agent uses the default model configured on the connector unless you set the optional Model Name field on the agent. For Anthropic connectors, the Model Name field also accepts an AWS Bedrock inference profile ARN, for example arn:aws:bedrock:us-east-1:123456789012:application-inference-profile/a1b2c3d4e5f6.


Next steps

  • Go to Worker Agents for more information on creating and configuring agents that use this connector.
  • Go to OpenAI Model Connector for more information on configuring OpenAI as your model provider.