Skip to main content

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.

Metadata

Release files for swarmauri_llm_anthropic 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swarmauri_llm_anthropic 0.1.0
File Size Uploaded
swarmauri_llm_anthropic-0.1.0.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swarmauri_llm_anthropic 0.1.0
File Interpreter ABI Platform
swarmauri_llm_anthropic-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / swarmauri_llm_anthropic-0.1.0.tar.gz

Download URL swarmauri_llm_anthropic-0.1.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c90a3aa75f9783fa4b568c627ab4e50e45eef28cdf014c7f59421c3ce5d08559
BLAKE2b-256 checksum
How to use checksums
c0cfb0d734d2b0e37cd660f5d3473ccc81bfa4600669e2ed48c4b378681a19ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","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}

Release files / swarmauri_llm_anthropic-0.1.0-py3-none-any.whl

Download URL swarmauri_llm_anthropic-0.1.0-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
065819b78e92aa1aeed2e74b9982a171696084e8564ec521cff5fb16d527679d
BLAKE2b-256 checksum
How to use checksums
b14bdf2fc5ce494b5508cb27e392132dc04dfefb1c70e9ea550e602ad2ae1e5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","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}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page