Skip to main content

AWS (Bedrock) LLM integration for Vision Agents

Project description

AWS Plugin for Vision Agents

AWS (Bedrock) LLM integration for Vision Agents framework with support for both standard and realtime interactions.

Installation

pip install vision-agents-plugins-aws

Usage

Standard LLM Usage

This example shows how to use qwen3 on bedrock for the LLM.

agent = Agent(
    edge=getstream.Edge(),
    agent_user=User(name="Friendly AI"),
    instructions="Be nice to the user",
    llm=aws.LLM(model="qwen.qwen3-32b-v1:0"),
    tts=cartesia.TTS(),
    stt=deepgram.STT(),
    turn_detection=smart_turn.TurnDetection(buffer_duration=2.0, confidence_threshold=0.5),
)

The full example is available in example/aws_qwen_example.py

Realtime Text/Image Usage

Nova sonic audio realtime STS is also supported:

agent = Agent(
    edge=getstream.Edge(),
    agent_user=User(name="Story Teller AI"),
    instructions="Tell a story suitable for a 7 year old about a dragon and a princess",
    llm=aws.Realtime(),
)

Running the examples

Create a .env file, or cp .env.example to .env and fill in

STREAM_API_KEY=your_stream_api_key_here
STREAM_API_SECRET=your_stream_api_secret_here

AWS_BEARER_TOKEN_BEDROCK=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=

FAL_KEY=
CARTESIA_API_KEY=
DEEPGRAM_API_KEY=

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

vision_agents_plugins_aws-0.1.7.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

vision_agents_plugins_aws-0.1.7-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file vision_agents_plugins_aws-0.1.7.tar.gz.

File metadata

File hashes

Hashes for vision_agents_plugins_aws-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a616afc718779abae0de2316fa7283d307460ee8e30986a3163c08c3eb220a03
MD5 bc64e59167e8db7c5a917aa5a4210a4f
BLAKE2b-256 52abacf5c852dbb1cafc4e2f4ee73ce678ca6b8c3d0df356aaa0fb8773b7bc21

See more details on using hashes here.

File details

Details for the file vision_agents_plugins_aws-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for vision_agents_plugins_aws-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 94e92d4df22dfa50261e8f0ed43164f8774b9e4532aff11a2ad647bc577857be
MD5 233af4e2dec3c548f59827fd0799f15a
BLAKE2b-256 8d60cb3bd177b6bb517fb4700d0ef884752aea8e97de919bf5aa45db46c3c19c

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