Anthropic Plugin for Vision Agents
Anthropic Claude LLM integration for Vision Agents framework with support for streaming, function calling, and conversation memory.
It enables features such as:
- Streaming responses with Claude models
- Function calling capabilities for dynamic interactions
- Automatic conversation history management
Installation
uv add "vision-agents[anthropic]"
# or directly
uv add vision-agents-plugins-anthropic
Usage
Standard LLM
This example shows how to use Claude with TTS and STT services for audio communication via anthropic.LLM() API.
The anthropic.LLM() class uses Anthropic's Messages API under the hood.
from vision_agents.core import User, Agent
from vision_agents.core.agents import AgentLauncher
from vision_agents.plugins import deepgram, getstream, cartesia, smart_turn, anthropic
agent = Agent(
edge=getstream.Edge(),
agent_user=User(name="Friendly AI"),
instructions="Be nice to the user",
llm=anthropic.LLM("claude-sonnet-4-6"),
tts=cartesia.TTS(),
stt=deepgram.STT(),
turn_detection=smart_turn.TurnDetection(),
)
Function Calling
The LLM API supports function calling, allowing the assistant to invoke custom functions you define.
This enables dynamic interactions like:
- Database queries
- API calls to external services
- File operations
- Custom business logic
from vision_agents.plugins import anthropic
llm = anthropic.LLM("claude-sonnet-4-6")
@llm.register_function(
name="get_weather",
description="Get the current weather for a given city"
)
async def get_weather(city: str) -> dict:
"""Get weather information for a city."""
return {
"city": city,
"temperature": 72,
"condition": "Sunny"
}
# The function will be automatically called when the model decides to use it
Requirements
- Python 3.10+
- GetStream account for video calls
- Anthropic API key
Links
License
MIT
Metadata
Release files for vision-agents-plugins-anthropic 0.6.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vision_agents_plugins_anthropic-0.6.9.tar.gz | 8.7 kB | Without provenance | Details for vision_agents_plugins_anthropic-0.6.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vision_agents_plugins_anthropic-0.6.9-py3-none-any.whl | Python 3 | none | any | Details for vision_agents_plugins_anthropic-0.6.9-py3-none-any.whl |
Total release size: 17.5 kB
Release files / vision_agents_plugins_anthropic-0.6.9.tar.gz
| Download URL | vision_agents_plugins_anthropic-0.6.9.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
612bd0fc3588f6379036c2c2e9d6358b9f052daa76ce20010bd6c7e2f976de46
|
|
BLAKE2b-256 checksum How to use checksums |
2095b66d620239824923f983a1c5725a6f5c1a35d39856fc0d2072335fc2abf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / vision_agents_plugins_anthropic-0.6.9-py3-none-any.whl
| Download URL | vision_agents_plugins_anthropic-0.6.9-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ac598ec4b63b024b289e45871a064be5da6cc7f9a4a8529253b284b3779e047
|
|
BLAKE2b-256 checksum How to use checksums |
5263aedb3bcd58538512b38069de118beb4b49b9b5405f27d901632b3ade1b90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for vision-agents-plugins-anthropic 0.6.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.