Skip to content

pgrayy/strands-sdk-python-async

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[PROTOTYPE] Strands SDK Async/Bidirectional

Setup

  1. Run python -m venv .env
  2. Run source .env/bin/activate
  3. Run pip install -e .
    • If testing with Nova, run pip install -e ".[audio]"
  4. Export credentials of an account that has Claude and Nova model access in us-east-1.

Test

Agents

Asynchronous

  1. Run python scripts/agents/asynchronous.py --path <path/to/file> --mode <r|w> --content <CONTENT_FOR_W_MODE>

Synchronous

  1. Run python scripts/agents/synchronous.py --path <path/to/file> --mode <r|w> --content <CONTENT_FOR_W_MODE>

Bidirectional

  1. Run python scripts/agents/bidirectional.py --duration <TIME_TO_RECORD_IN_SECONDS>

Models

Bedrock

  1. Run python scripts/models/bedrock/stream.py

Nova

  1. Run python scripts/models/nova/bistream.py --duration <TIME_TO_RECORD_IN_SECONDS>

Toolbox

  1. Run python scripts/toolbox.py --path <path/to/file> --mode <r|w> --content <CONTENT_FOR_W_MODE>

About

Prototype of Strands with async and bidirectional streaming support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages