Skip to main content
agentscope-extensions-model-anthropic integrates Anthropic Claude models, including Anthropic-specific formatter and request DTO support.

Add the dependency

ModelRegistry

Set ANTHROPIC_API_KEY, then use the anthropic:<model> id:

Explicit builder

Use the builder when you need a custom endpoint, formatter, transport, prompt caching, thinking, or generation options:

Spring Boot

Spring Boot applications can use the Anthropic starter:
Full builder options, formatters, credentials, and registry context details are covered in Model.