Skip to main content

Swarmauri Anthropic LLM adapters from swarmauri_standard.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_llm_anthropic


swarmauri_llm_anthropic

Provider-specific Anthropic LLM package for Swarmauri. This package offers direct imports for AnthropicModel, AnthropicToolModel while keeping implementation parity with swarmauri_standard.

Features

  • AnthropicModel adapter exported from swarmauri_standard.llms.AnthropicModel.
  • AnthropicToolModel adapter exported from swarmauri_standard.llms.AnthropicToolModel.
  • Compatible with Python 3.10 through 3.12.

Installation

# uv
uv add swarmauri_llm_anthropic

# pip
pip install swarmauri_llm_anthropic

Usage

from swarmauri_llm_anthropic import AnthropicModel
from swarmauri_llm_anthropic import AnthropicToolModel
from swarmauri_standard.conversations.Conversation import Conversation
from swarmauri_standard.messages.HumanMessage import HumanMessage

conversation = Conversation()
conversation.add_message(HumanMessage(content="Hello from Swarmauri"))

model = AnthropicModel()
# Configure provider credentials before making requests.
# result = model.predict(conversation=conversation)

Workflow Notes

  • These adapters intentionally mirror the corresponding classes in swarmauri_standard.
  • Use the provider package that matches your deployment and credential setup.
  • Install only the provider packages you need to keep dependencies minimal.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_llm_anthropic-0.1.0.dev5.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swarmauri_llm_anthropic-0.1.0.dev5-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_llm_anthropic-0.1.0.dev5.tar.gz.

File metadata

  • Download URL: swarmauri_llm_anthropic-0.1.0.dev5.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for swarmauri_llm_anthropic-0.1.0.dev5.tar.gz
Algorithm Hash digest
SHA256 572d94c3018689ec648c9aad9319e376b128f8d530986565cd6d9b4f1e3c661e
MD5 e8a7e2c3a1c1e0fe29d429eb5c19cbf8
BLAKE2b-256 61047dd206e8a93e4c1a83822cf4fe679469948c9d213c87a537db5846ae5a6c

See more details on using hashes here.

File details

Details for the file swarmauri_llm_anthropic-0.1.0.dev5-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_llm_anthropic-0.1.0.dev5-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for swarmauri_llm_anthropic-0.1.0.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 b9ec9fe2842cbff15e580f7e2b285877f9516fa4eb29479fc1716e439cbce466
MD5 b3588cb05d42b3ecff320aca8ebddfd1
BLAKE2b-256 d7bb37ebf0f205300692705c6f72f5cef39900a48f9494ba3e554e08c15404e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page