Agent squad TypeScript
For building or modifying a Node.js / TypeScript app that uses the agent-squad npm package, multi-agent orchestration.
In detail
Use when building or modifying a Node.js / TypeScript app that uses the agent-squad npm package — multi-agent orchestration: orchestrator, agents (all built-in types + GroundedAgent), classifier routing (Bedrock / Anthropic / OpenAI), storage (in-memory / DynamoDB / SQL), retrievers (Amazon KB / Dakera), and tools (AgentTools + MCPToolProvider).
Safety check
- Script calls the network: src/classifiers/jevClassifier.ts line 289
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: agent-squad-typescript
description: >-
Use when building or modifying a Node.js / TypeScript app that uses the agent-squad npm package —
multi-agent orchestration: orchestrator, agents (all built-in types + GroundedAgent), classifier
routing (Bedrock / Anthropic / OpenAI), storage (in-memory / DynamoDB / SQL), retrievers
(Amazon KB / Dakera), and tools (AgentTools + MCPToolProvider).
---
# agent-squad TypeScript — assistant guide
Node.js / TypeScript multi-agent orchestration framework (npm package `agent-squad`). All public
symbols are exported from a single barrel `typescript/src/index.ts`. This file is guidance and a
map — **not an API reference**. Read exact signatures from
`typescript/src/` and worked recipes from `docs/src/content/docs/`; this file tells you *what to
use, when, and what to watch out for*.
## When to use what
- **One assistant** → a single `Agent` subclass + `AgentSquad` with no routing. Or skip the
orchestrator entirely and call `agent.processRequest(...)` directly.
- **Several specialists** → multiple agents registered with `orchestrator.addAgent(agent)`, a
classifier routes each turn.
- **Answers must not drift from data** (prices, balances, live lookups) → `GroundedAgent`: a
gatherer LLM calls tools, an isolated presenter LLM speaks only from the curated results.
- **Fixed pipeline** → `ChainAgent`: each agent's output is the next agent's input.
- **One lead LLM coordinating a team** → `SupervisorAgent`: the lead calls sub-agents as tools.
- **External tools via MCP** → `MCPToolProvider` (async factory pattern, optional peer dep).
- **RAG context** → attach a `Retriever` to any agent that supports `retriever?` in its options.
## How to install
```bash
npm install agent-squad
```
Optional peer dependencies — install only what you use:
| Package | Used by |
|---|---|
...From 2FastLabs's repository, Apache-2.0 licence.
Related skills
-
Checked
Port code to Rust
Ports C, C++, Python, Go or JavaScript code into idiomatic Rust, with tests that prove it behaves the same.
8/101 credit -
Checked
ComfyUI custom node UI
Adds widgets, sidebar tabs, commands and dialogs to ComfyUI custom nodes, so your node feels built in.
7/101 credit -
Checked
Scrolling menu upgrade
Finds outdated react-horizontal-scrolling-menu code and rewrites it for version 8 so the menu works again.
7/101 credit -
Checked
Scroll Menu Testing and SSR
Gets react-horizontal-scrolling-menu working in Next.js and tested in Jest and Playwright without flicker.
7/101 credit -
Checked
Conform React Forms
Builds React forms with Conform and Zod that validate on the server and still work before JavaScript loads.
7/101 credit -
Checked
Next.js 16 App Builder
Builds Next.js 16 apps the current way, with Server Components, Server Actions, caching and the new proxy file.
7/101 credit