agent-squad  by awslabs

Agent Squad: Flexible framework for orchestrating AI agents in complex conversations

created 1 year ago
6,330 stars

Top 8.3% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Agent Squad is a flexible, lightweight framework for orchestrating multiple AI agents to handle complex conversations. It intelligently routes queries, maintains context across interactions, and supports both Python and TypeScript. This framework is ideal for developers building sophisticated AI systems, chatbots, or customer support solutions requiring multi-agent coordination.

How It Works

The core of Agent Squad is its orchestrator, which uses a classifier to intelligently route user queries to the most suitable agent. This classification leverages agent characteristics and conversation history. A key feature is the SupervisorAgent, enabling "agent-as-tools" coordination where a lead agent can delegate subtasks to specialized agents in parallel, maintaining context for coherent responses. This architecture supports dynamic delegation and compatibility with various agent types (e.g., Bedrock, Anthropic, Lex).

Quick Start & Requirements

  • Python: pip install agent-squad[aws] (or [anthropic], [openai], [all])
  • TypeScript: npm install agent-squad
  • Prerequisites: AWS credentials (if using [aws]), specific LLM API keys depending on agent configuration.
  • Documentation: Full Documentation

Highlighted Details

  • Dual language support: Python and TypeScript implementations available.
  • SupervisorAgent for sophisticated team coordination and parallel processing.
  • Flexible agent responses: supports streaming and non-streaming outputs.
  • Universal deployment: runs on AWS Lambda, local environments, or any cloud platform.

Maintenance & Community

The project is actively maintained by AWS Labs. Community engagement is encouraged through GitHub Issues for discussions, ideas, and pull requests.

Licensing & Compatibility

Licensed under the Apache 2.0 license. This license is permissive and generally compatible with commercial and closed-source applications.

Limitations & Caveats

The project was recently renamed from "Multi-Agent Orchestrator" to "Agent Squad," which might lead to some older documentation or discussions using the previous name. Contributions require linking to an existing GitHub issue.

Health Check
Last commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
4
Issues (30d)
6
Star History
1,572 stars in the last 90 days

Explore Similar Projects

Starred by Zhiqiang Xie Zhiqiang Xie(Author of SGLang), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
6 more.

swarm by openai

0.3%
20k
Multi-agent orchestration framework for lightweight agent coordination
created 1 year ago
updated 4 months ago
Feedback? Help us improve.