For the complete documentation index, see llms.txt. This page is also available as Markdown.

Anthropic Model Connector

Configure the Anthropic Model Connector to run Harness Worker Agents on Claude models through direct Anthropic or AWS Bedrock endpoints.

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 you will 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.

Model
Description

Claude Opus 4.8

Latest and most capable model for complex reasoning

Claude Opus 4.7

High-capability model for complex reasoning

Claude Opus 4.6

High-capability model for complex reasoning

Claude Sonnet 4.6

Fast, high-capability model for most tasks

Claude Sonnet 4.5

Previous-generation fast model

Claude Haiku 4.5

Lightweight, 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
Click to view full size

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

Last updated

Was this helpful?