Skip to content

angee.agents_integrate_anthropic.backend

Anthropic SDK implementation of the agents inference backend.

AnthropicInferenceBackend

python
class AnthropicInferenceBackend(SDKInferenceBackend)

Inference backend backed by Anthropic's official Python SDK.

list_models

python
def list_models() -> Sequence[InferenceModelSpec]

List Anthropic models and their broker-prefixed aliases.

chat

python
def chat(request: InferenceRequest) -> InferenceResponse

Send one non-streaming Messages API request through Anthropic.

Released under the AGPL-3.0 License.