MerchantryTidbits

llm-inference / library

Anthropic Python SDK

Capability: Anthropic Python SDK

Use it when

  • integrate Claude through the supported Python client
  • use streaming, tool calls, retries, and typed responses without hand-writing HTTP

What it solves

Not the fit when

  • requires an Anthropic API key and paid usage

Install

pip install anthropic

Invoke

Create `anthropic.Anthropic()`, then call `client.messages.create(model=..., max_tokens=..., messages=[...])`.

Alternatives

No reviewed alternatives recorded yet.