# awslabs/agent-squad

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/awslabs-agent-squad).**

7,448 stars · 699 forks · Python · apache-2.0

## Links

- GitHub: https://github.com/awslabs/agent-squad
- Homepage: https://awslabs.github.io/agent-squad/
- awesome-repositories: https://awesome-repositories.com/repository/awslabs-agent-squad.md

## Topics

`agentic-ai` `agents` `ai-agents` `ai-agents-framework` `anthropic` `anthropic-claude` `aws` `aws-bedrock` `aws-cdk` `aws-lambda` `chatbot` `framework` `generative-ai` `machine-learning` `openai` `openaiapi` `orchestrator` `python` `serverless` `typescript`

## Description

Agent Squad is a multi-agent system orchestrator and language model agent orchestration framework. It serves as an AI workflow automation engine and tool integration layer designed to coordinate teams of specialized agents to solve complex tasks through routing, parallel execution, and state management.

The project is distinguished by its ability to dynamically compose purpose-specific agents on-demand and route requests based on intent, language, or domain expertise. It supports advanced coordination patterns, including parallel subtask distribution, sequential task pipelines, and the ability to escalate complex interactions to human operators.

The framework covers a broad range of capabilities, including retrieval-augmented generation, conversation state preservation across storage backends, and the integration of external APIs and serverless functions. It also provides utilities for automatic language detection, text translation, content moderation filtering, and incremental response streaming.

The orchestration logic is designed for cross-environment deployment, supporting local machines, cloud platforms, and event-driven serverless environments.

## Tags

### Artificial Intelligence & ML

- [Agent Orchestration Layers](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-orchestration-layers.md) — Implements a control plane that orchestrates multiple agents and their toolsets within complex workflows. ([source](https://cdn.jsdelivr.net/gh/awslabs/agent-squad@main/README.md))
- [Multi-Agent Orchestration Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-frameworks/agent-orchestrators/multi-agent-orchestration-frameworks.md) — Provides a framework for coordinating multiple specialized autonomous agents to execute complex collaborative tasks.
- [Multi-Agent Orchestrators](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-orchestrators.md) — Coordinates teams of specialized AI agents to solve complex tasks through intent-based routing and task distribution. ([source](https://2fastlabs.github.io/agent-squad/))
- [Agent Session Memory](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-session-memory.md) — Maintains session context using in-memory storage to track interaction history between users and agents. ([source](https://2fastlabs.github.io/agent-squad/cookbook/examples/typescript-local-demo))
- [Agent Orchestration Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/autonomous-agents/agent-orchestration-frameworks.md) — Integrates pre-built agents into a control layer to handle routed queries with streaming and tracing. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/amazon-bedrock-agent))
- [Multi-Agent Routing Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/autonomous-agents/agent-orchestration-frameworks/multi-agent-routing-systems.md) — Directs user inputs to domain-specific agents to ensure accurate and specialized responses. ([source](https://2fastlabs.github.io/agent-squad/cookbook/examples/chat-demo-app/))
- [Control Flow & Workflows](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/control-flow-and-workflows.md) — Integrates structured control flows and workflows to handle cross-region invocation and data transformation. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/bedrock-flows-agent))
- [On-Demand Agent Composition](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/conversational-voice-interaction/conversational-ai-agents/agent-generators/on-demand-agent-composition.md) — Generates purpose-specific agents on-demand by dynamically selecting relevant action groups and knowledge bases. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/bedrock-inline-agent))
- [Agent Tool Execution](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-frameworks/tool-use-and-execution/agent-tool-execution.md) — Enables agents to invoke external functions and tools to perform actions or fetch live data during conversations. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/bedrock-llm-agent))
- [Agent Tool Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-frameworks/tool-use-and-execution/agent-tool-integrations.md) — Provides mechanisms for connecting autonomous agents to external software tools and APIs to extend their functional capabilities. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/supervisor-agent))
- [Query Routing](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agentic-domains/query-routing.md) — Implements intent-based routing to direct queries to specialized agents based on domain expertise and language.
- [Parallel Persona Coordinators](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-task-orchestrators/parallel-persona-coordinators.md) — Manages groups of specialized agents in parallel to distribute subtasks and synthesize a single comprehensive response. ([source](https://cdn.jsdelivr.net/gh/awslabs/agent-squad@main/README.md))
- [AI Workflow Automation](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-workflow-automation.md) — Acts as an automation engine that coordinates sequential or parallel AI tasks with intent-based routing.
- [LLM Tooling Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-tooling/language-model-integrations/llm-tooling-integrations.md) — Provides connectors and interfaces that allow language models to access external APIs and serverless functions.
- [Conversation History Management](https://awesome-repositories.com/f/artificial-intelligence-ml/conversation-history-management.md) — Provides tools for storing and retrieving interaction logs to maintain coherence across multi-turn AI sessions. ([source](https://2fastlabs.github.io/agent-squad/))
- [Conversation State Management](https://awesome-repositories.com/f/artificial-intelligence-ml/conversation-state-management.md) — Implements systems for tracking context and history to ensure follow-up inputs remain coherent across diverse topics. ([source](https://2fastlabs.github.io/agent-squad/cookbook/examples/chat-demo-app/))
- [Conversational AI Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/conversational-ai-frameworks.md) — Provides a framework for building multi-turn chat systems that maintain session state and history across models.
- [Conversational State Managers](https://awesome-repositories.com/f/artificial-intelligence-ml/conversational-state-managers.md) — Tracks multi-turn interaction history across storage backends to maintain coherence between users and agent teams.
- [External Tool Integration](https://awesome-repositories.com/f/artificial-intelligence-ml/external-tool-integration.md) — Links agents to external APIs and data sources to perform real-time tasks such as order lookups. ([source](https://2fastlabs.github.io/agent-squad/cookbook/examples/ecommerce-support-simulator/))
- [Retrieval Augmented Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/language-model-orchestration/retrieval-augmented-generation.md) — Grounds agent responses in external data sources to provide specific information for accurate answers. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/openai-agent))
- [LLM Integration Layers](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-integration-layers.md) — Implements a standardized middleware layer connecting language models to external APIs and retrieval systems.
- [Multi-Agent Orchestration Layers](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-orchestration-layers.md) — Provides a coordination layer for managing collaborative workflows and task distribution between specialized agents.
- [Multi-Agent Orchestration Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-orchestration-systems.md) — Manages teams of AI agents by distributing subtasks and synthesizing responses from multiple providers.
- [Multi-Agent System Composition](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-system-composition.md) — Generates purpose-specific agents on-demand by associating tasks with specific action groups and knowledge bases.
- [Sequential Agent Execution](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures/orchestration-engines/ai-agent/multi-agent-coordination-systems/sequential-agent-execution.md) — Passes the output of one agent as the input to the next to create linear processing pipelines. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/chain-agent))
- [Agent Development](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-development.md) — Provides platforms to build and customize AI agents with specialized logic for model interactions and API calls. ([source](https://2fastlabs.github.io/agent-squad/agents/custom-agents))
- [Language Model Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-tooling/language-model-integrations.md) — Provides adapters and interfaces to connect the system to various hosted or local language model providers. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/openai-agent))
- [Human Approval](https://awesome-repositories.com/f/artificial-intelligence-ml/human-approval.md) — Provides mechanisms to pause workflows for human review and transfer complex cases to supervisors for resolution. ([source](https://2fastlabs.github.io/agent-squad/cookbook/examples/ecommerce-support-simulator/))
- [Language Detection Tools](https://awesome-repositories.com/f/artificial-intelligence-ml/language-detection-tools.md) — Includes utilities for automatically identifying the language of incoming text to ensure accurate content analysis. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/comprehend-filter-agent))
- [LLM Response Streaming](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-response-streaming.md) — Implements incremental token-by-token delivery of AI model responses to reduce perceived latency.
- [Text Translation Services](https://awesome-repositories.com/f/artificial-intelligence-ml/text-translation-services.md) — Converts text between source and target languages using models with dynamic selection and custom parameters. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/bedrock-translator-agent))

### Data & Databases

- [Agent-Specific Query Routing](https://awesome-repositories.com/f/data-databases/semantic-query-routing/agent-specific-query-routing.md) — Analyzes requests and conversation history to direct each query to the most appropriate specialized agent. ([source](https://2fastlabs.github.io/agent-squad/general/how-it-works))
- [Multi-Tier Memory Systems](https://awesome-repositories.com/f/data-databases/tiered-caching-systems/multi-tier-memory-systems.md) — Uses a multi-tier memory system to record communications between users, supervisors, and agent teams. ([source](https://cdn.jsdelivr.net/gh/awslabs/agent-squad@main/README.md))

### DevOps & Infrastructure

- [Serverless Function Orchestration](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/serverless-execution-environments/serverless-function-orchestration.md) — Executes custom backend orchestration logic automatically in response to specific system events or API requests in serverless environments. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/lambda-agent))
- [Hybrid Local-Cloud Deployments](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/development-deployment-environments/cloud-deployment/hybrid-local-cloud-deployments.md) — Supports running orchestration logic across diverse environments, including local machines and cloud platforms. ([source](https://2fastlabs.github.io/agent-squad/))
- [Serverless Deployment](https://awesome-repositories.com/f/devops-infrastructure/serverless-deployment.md) — Deploys orchestration logic into event-driven cloud environments to execute workflows based on triggers. ([source](https://2fastlabs.github.io/agent-squad/cookbook/lambda/aws-lambda-nodejs))

### Networking & Communication

- [Hierarchical Agent Routing](https://awesome-repositories.com/f/networking-communication/hierarchical-agent-routing.md) — Directs queries through a classifier to specific teams or individual agents based on the nature of the request. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/supervisor-agent))

### Software Engineering & Architecture

- [Unified Model Interfaces](https://awesome-repositories.com/f/software-engineering-architecture/unified-model-interfaces.md) — Standardizes execution across different language model providers through a common API for processing and streaming.

### Web Development

- [Intent-Based Routing](https://awesome-repositories.com/f/web-development/request-routing/intent-based-routing.md) — Uses classification and semantic similarity to direct user requests to the most suitable agent based on intent. ([source](https://cdn.jsdelivr.net/gh/awslabs/agent-squad@main/README.md))

### Development Tools & Productivity

- [Concurrent Agent Messaging](https://awesome-repositories.com/f/development-tools-productivity/parallel-execution/custom-parallel-task-execution/parallel-task-orchestrators/concurrent-agent-messaging.md) — Executes communications to multiple agents simultaneously to accelerate task completion and data gathering. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/supervisor-agent))

### Security & Cryptography

- [Content Moderation](https://awesome-repositories.com/f/security-cryptography/content-moderation.md) — Analyzes text for toxicity and private information to block processing based on safety and compliance rules. ([source](https://2fastlabs.github.io/agent-squad/agents/built-in/comprehend-filter-agent))

### Part of an Awesome List

- [AI Agent Frameworks](https://awesome-repositories.com/f/awesome-lists/ai/ai-agent-frameworks.md) — Flexible framework for multi-agent management.
