sdk-python  by strands-agents

SDK for building AI agents

created 2 months ago
2,562 stars

Top 18.7% on sourcepulse

GitHubView on GitHub
Project Summary

Strands Agents provides a Python SDK for building AI agents with a model-driven approach, simplifying the creation of conversational assistants and complex autonomous workflows. It targets developers looking for a flexible and scalable solution for both local development and production deployment, enabling rapid prototyping and advanced agent capabilities.

How It Works

The SDK utilizes a simple, customizable agent loop and supports a model-agnostic design, allowing integration with various LLM providers like Amazon Bedrock, Anthropic, Ollama, and custom endpoints. It features native support for Model Context Protocol (MCP) servers, granting access to a wide array of pre-built tools, and facilitates the creation of multi-agent systems and autonomous agents with streaming capabilities.

Quick Start & Requirements

  • Install: pip install strands-agents strands-agents-tools
  • Prerequisites: Python 3.10+. AWS credentials and model access (e.g., Claude 3.7 Sonnet in us-west-2) are required for the default Amazon Bedrock provider.
  • Setup: Create and activate a virtual environment.
  • Docs: User Guide, Quick Start Guide

Highlighted Details

  • Model-agnostic architecture supporting Amazon Bedrock, Anthropic, Ollama, LlamaAPI, and LiteLLM.
  • Built-in MCP client for seamless integration with MCP servers and thousands of pre-built tools.
  • Python-based tool creation using decorators, with docstrings serving as LLM prompts.
  • Support for multi-agent systems and autonomous agents with streaming capabilities.

Maintenance & Community

The project is actively maintained by strands-agents. Further community engagement details, such as Discord/Slack links or roadmaps, are not explicitly provided in the README.

Licensing & Compatibility

  • License: Apache License 2.0.
  • Compatibility: Permissive license suitable for commercial use and integration with closed-source applications.

Limitations & Caveats

Strands Agents is currently in public preview, meaning APIs may change. The README does not detail specific limitations regarding unsupported platforms or known bugs, but users should anticipate potential API refinements.

Health Check
Last commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
126
Issues (30d)
101
Star History
2,626 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.