Skip to content

Installation Guide

Prerequisites

  • Python 3.8 or higher
  • AWS account with Bedrock access
  • AWS credentials configured

Installation Methods

Using pip

pip install bedrock-swarm

Development Installation

For development or contributing:

git clone https://github.com/sandrich/bedrock-swarm
cd bedrock-swarm
pip install -e ".[dev]"

Documentation Dependencies

To build documentation:

pip install "bedrock-swarm[docs]"

Verifying Installation

You can verify your installation by running:

from bedrock_swarm.agency import Agency
from bedrock_swarm.config import AWSConfig

# Should not raise any import errors
print(f"Bedrock Swarm installed successfully!")

Troubleshooting

Common Issues

  1. AWS Credentials Not Found
  2. Ensure AWS credentials are properly configured
  3. Check ~/.aws/credentials or environment variables

  4. Import Errors

  5. Verify Python version compatibility
  6. Check for all required dependencies

  7. Bedrock Access

  8. Confirm your AWS account has Bedrock access
  9. Verify IAM permissions are correctly set

For more help, please open an issue on GitHub.