Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/2fastlabs/agent-squad/pythonnpx skills add 2FastLabs/agent-squad --skill pythongit clone --depth 1 https://github.com/2FastLabs/agent-squadWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00113 | $0.04697 |
| Opus 5 | $0.00056 | $0.02348 |
| Sonnet 5 | $0.00023 | $0.00939 |
| Haiku 4.5 | $0.00011 | $0.00470 |
Grade A, and why
agent-squad-python scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 410 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agent-squad Python — assistant guide
Async-first, dependency-optional multi-agent orchestration framework (Python 3.11+). This is a
guide and a map — not an API reference. Read exact signatures from the source
(python/src/agent_squad/) and the docs site (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
Agentsubclass; no orchestrator needed, callprocess_requestdirectly. - Several specialists — multiple agents + an
AgentSquadorchestrator; the classifier routes each turn to the right agent automatically. - Answers must not drift from data (prices, balances, live stock) —
GroundedAgent: a gatherer LLM calls tools and sees raw results but never speaks to the user; an isolated presenter LLM writes the reply grounded only on curated facts. - Fixed pipeline —
ChainAgent: routes the output of one agent as the input to the next, sequentially. - Team coordination —
SupervisorAgent: a leadBedrockLLMAgentorAnthropicAgentdelegates to a team of sub-agents via an internal tool loop, maintaining shared context. Can itself be registered in anAgentSquad. - External tool servers —
MCPToolProvider(requiresagent-squad[mcp]) connects any number of MCP servers (stdio or SSE) and makes their tools available to any agent.
How to install
All third-party integrations are optional extras — never forced on users who don't need them.
pip install agent-squad # core only (no LLM runtime)
pip install "agent-squad[aws]" # + boto3 — BedrockLLMAgent, BedrockClassifier, DynamoDbChatStorage, etc.
pip install "agent-squad[anthropic]" # + anthropic SDK — AnthropicAgent, AnthropicClassifier
pip install "agent-squad[openai]" # + openai SDK — OpenAIAgent, OpenAIClassifier
pip install "agent-squad[sql]" # + libsql-client — SqlChatStorage (Turso/libSQL)
pip install "agent-squad[strands-agents]"# + strands-agents — StrandsAgent
pip install "agent-squad[dakera]" # + dakera — DakeraRetriever
pip install "agent-squad[mcp]" # + mcp — MCPToolProvider
pip install "agent-squad[all]" # everything except strands-agents
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .gitignore 3.2 KB
- CONTRIBUTING.md 2.3 KB
- Makefile 237 B
- pyproject.toml 92 B
- README.md 12 KB
- ruff.toml 3.3 KB
- setup.cfg 1022 B
- setup.py 37 B runs code
- src/agent_squad/__init__.py 224 B runs code
- src/agent_squad/agent_overlap_analyzer.py 5.6 KB runs code
- src/agent_squad/agents/__init__.py 2.9 KB runs code
- src/agent_squad/agents/agent.py 11 KB runs code
- src/agent_squad/agents/amazon_bedrock_agent.py 7.3 KB runs code
- src/agent_squad/agents/anthropic_agent.py 20 KB runs code
- src/agent_squad/agents/bedrock_flows_agent.py 4.3 KB runs code
- src/agent_squad/agents/bedrock_inline_agent.py 14 KB runs code
- src/agent_squad/agents/bedrock_llm_agent.py 24 KB runs code
- src/agent_squad/agents/bedrock_translator_agent.py 5.5 KB runs code
- src/agent_squad/agents/chain_agent.py 3.7 KB runs code
- src/agent_squad/agents/comprehend_filter_agent.py 6.5 KB runs code
- src/agent_squad/agents/grounded_agent.py 14 KB runs code
- src/agent_squad/agents/lambda_agent.py 3.6 KB runs code
- src/agent_squad/agents/lex_bot_agent.py 2.5 KB runs code
- src/agent_squad/agents/openai_agent.py 8.1 KB runs code
- src/agent_squad/agents/strands_agent.py 17 KB runs code
- src/agent_squad/agents/supervisor_agent.py 14 KB runs code
- src/agent_squad/classifier_test_tool.py 10 KB runs code
- src/agent_squad/classifiers/__init__.py 1.0 KB runs code
- src/agent_squad/classifiers/anthropic_classifier.py 5.0 KB runs code
- src/agent_squad/classifiers/bedrock_classifier.py 6.5 KB runs code
- src/agent_squad/classifiers/classifier.py 8.2 KB runs code
- src/agent_squad/classifiers/openai_classifier.py 4.1 KB runs code
- src/agent_squad/orchestrator.py 16 KB runs code
- src/agent_squad/retrievers/__init__.py 369 B runs code
- src/agent_squad/retrievers/amazon_kb_retriever.py 2.1 KB runs code
- src/agent_squad/retrievers/dakera_retriever.py 3.7 KB runs code
- src/agent_squad/retrievers/retriever.py 1.9 KB runs code
- src/agent_squad/shared/__init__.py 0 B runs code
- src/agent_squad/shared/user_agent.py 6.8 KB runs code
- src/agent_squad/shared/version.py 50 B runs code
- src/agent_squad/storage/__init__.py 759 B runs code
- src/agent_squad/storage/chat_storage.py 4.5 KB runs code
- src/agent_squad/storage/dynamodb_chat_storage.py 8.1 KB runs code
- src/agent_squad/storage/in_memory_chat_storage.py 4.5 KB runs code
- src/agent_squad/storage/sql_chat_storage.py 11 KB runs code
- src/agent_squad/storage/summarizing_chat_storage.py 6.6 KB runs code
- src/agent_squad/tools/__init__.py 211 B runs code
- src/agent_squad/tools/mcp_tool_provider.py 24 KB runs code
- src/agent_squad/types/__init__.py 928 B runs code
- src/agent_squad/types/types.py 2.7 KB runs code
- src/agent_squad/utils/__init__.py 468 B runs code
- src/agent_squad/utils/helpers.py 1.1 KB runs code
- src/agent_squad/utils/logger.py 3.9 KB runs code
- src/agent_squad/utils/tool.py 11 KB runs code
- src/agent_squad/utils/ui.py 1.9 KB runs code
- src/tests/__init__.py 0 B runs code
- src/tests/agents/__init__.py 0 B runs code
- src/tests/agents/test_agent.py 7.3 KB runs code
- src/tests/agents/test_amazon_bedrock_agent.py 6.6 KB runs code
- src/tests/agents/test_anthropic_agent.py 32 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 410 lines · 113 tokens per session scan A c16cc751be30
agent-squad-python is a skill published in the GitHub repository 2FastLabs/agent-squad (7,751 stars, last pushed 4d ago), licensed Apache-2.0. It adds 113 tokens to every session and 4,697 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
verify-pr
Comprehensive PR readiness check before merge. Run quality checks, tests, CI, documentation, AWS resource cleanup, and code review.
nx-plugin-for-aws
Scaffold and build cloud-native applications on AWS using @aws/nx-plugin generators. Use when the user wants to create workspaces, generate projects, or scaffold infrastructure with the Nx Plugin for AWS.
run-integ
Run integration tests (deploy + destroy) against real AWS. Use when you need to verify cdkd works end-to-end with actual AWS resources.
review-pr
Recommend the right reviewer count for a PR based on size + bias factors. Outputs a concrete plan (inline spot-check / 1 reviewer / 3-axis parallel) plus ready-to-paste Agent dispatch prompts when reviewers are warranted.
cdkd
Install cdkd and use it safely from an AWS CDK project. Use when bootstrapping, synthesizing, diffing, deploying, inspecting, rolling back, migrating, or destroying dev/test stacks with cdkd.
cleanup
Detect and delete leftover AWS resources from cdkd integration tests. Only targets resources matching known cdkd stack name patterns.