What problem does it solve?
Building a Node.js/TypeScript application that routes user queries across multiple specialized AI agents requires knowing the correct agent classes, classifiers, storage backends, and tool integrations in the agent-squad package, plus avoiding common pitfalls like unstable agent IDs and un-awaited MCP connections.
Core Features & Use Cases
- Orchestration guidance: Covers the AgentSquad orchestrator, routeRequest flow, streaming vs non-streaming responses, and classifier routing with Bedrock, Anthropic, or OpenAI classifiers.
- Agent and tool recipes: Documents all built-in agent types (BedrockLLMAgent, AnthropicAgent, OpenAIAgent, LexBotAgent, LambdaAgent, ChainAgent, SupervisorAgent, GroundedAgent), AgentTools, and the MCPToolProvider async factory pattern.
- Storage and retrieval: Explains InMemory, DynamoDB, SQL, and Summarizing chat storage plus Amazon Knowledge Bases and Dakera retrievers for RAG.
- Use Case: You are adding a pricing agent that must never hallucinate figures; the Skill directs you to GroundedAgent with a gatherer LLM calling tools and an isolated presenter LLM speaking only from curated results.
Quick Start
Read the agent-squad TypeScript skill guide, then scaffold an AgentSquad orchestrator with a BedrockLLMAgent and route a sample user request through it.