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. Includes AWS Polly TTS.

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=aws.TTS(), # using AWS Polly
    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

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(),
)

Polly TTS Usage

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=
AWS_REGION=us-east-1

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.12.tar.gz (11.5 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.12-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for vision_agents_plugins_aws-0.1.12.tar.gz
Algorithm Hash digest
SHA256 28f40661c12217690dc22147ad13e104c949ce8fcd3776c5f93db8e197bee068
MD5 38de5440805fe2f156a9387bfeea8305
BLAKE2b-256 d5fc8d54ce8bedca4e23a304e578bd9dc7dc63c33fe2f886caf5d92663f64182

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vision_agents_plugins_aws-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 2231dd18dc50dfb42dad85f136933822ef2dc9423ebdd1313f98bf693b543c8f
MD5 c458d8a9230217ab39a0349c9cefa8d7
BLAKE2b-256 285d1298181cec9e7bf5a37653c4042fd1954e0f375ee8e933415198f69362db

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