aws-strands-agents-agentcore
БесплатноБез исполняемых скриптовНе проверенUse when working with AWS Strands Agents SDK or Amazon Bedrock AgentCore platform for building AI agents. Provides architecture guidance, implementation…
от sammcj★ 175 звёзд на GitHubОб этом скилле
AWS Strands Agents & AgentCore
Overview
AWS Strands Agents SDK: Open-source Python framework for building AI agents with model-driven orchestration (minimal code, model decides tool usage)
Amazon Bedrock AgentCore: Enterprise platform for deploying, operating, and scaling agents in production
Relationship: Strands SDK runs standalone OR with AgentCore platform services. AgentCore is optional but provides enterprise features (8hr runtime, streaming, memory, identity, observability).
Quick Start Decision Tree
What are you building?
Single-purpose agent:
- Event-driven (S3, SQS, scheduled) → Lambda deployment
- Interactive with streaming → AgentCore Runtime
- API endpoint (stateless) → Lambda
Multi-agent system:
- Deterministic workflow → Graph Pattern
- Autonomous collaboration → Swarm Pattern
- Simple delegation → Agent-as-Tool Pattern
Tool/Integration Server (MCP):
- ALWAYS deploy to ECS/Fargate or AgentCore Runtime
- NEVER Lambda (stateful, needs persistent connections)
See architecture.md for deployment examples.
Critical Constraints
MCP Server Requirements
- Transport: MUST use
streamable-http(NOTstdio) - Endpoint: MUST be at
0.0.0.0:8000/mcp - Deployment: MUST be ECS/Fargate or AgentCore Runtime (NEVER Lambda)
- Headers: Must accept
application/jsonandtext/event-stream
Why: MCP servers are stateful and need persistent connections. Lambda is ephemeral and unsuitable.
See limitations.md for details.
Tool Count Limits
- Models struggle with > 50-100 tools
- Solution: Implement semantic search for dynamic tool loading
See patterns.md for implementation.
Token Management
- Claude 4.5: 200K context (use ~180K max)
- Long conversations REQUIRE conversation managers
- Multi-agent costs multiply 5-10x
See limitations.md for strategies.
Deployment Decision Matrix
| Component | Lambda | ECS/Fargate | AgentCore Runtime |
|---|---|---|---|
| Stateless Agents | ✅ Perfect | ❌ Overkill | ❌ Overkill |
| Interactive Agents | ❌ No streaming | ⚠️ Possible | ✅ Ideal |
| MCP Servers | ❌ NEVER | ✅ Standard | ✅ With features |
| Duration | < 15 minutes | Unlimited | Up to 8 hours |
| Cold Starts | Yes (30-60s) | No | No |
Multi-Agent Pattern Selection
| Pattern | Complexity | Predictability | Cost | Use Case |
|---|---|---|---|---|
| Single Agent | Low | High | 1x | Most tasks |
| Agent as Tool | Low | High | 2-3x | Simple delegation |
| Graph | High | Very High | 3-5x | Deterministic workflows |
| Swarm | Medium | Low | 5-8x | Autonomous collaboration |
Recommendation: Start with single agents, evolve as needed.
See architecture.md for examples.
When to Read Reference Files
patterns.md
- Base agent factory patterns (reusable components)
- MCP server registry patterns (tool catalogues)
- Semantic tool search (> 50 tools)
- Tool design best practices
- Security patterns
- Testing patterns
observability.md
- AWS AgentCore Observability Platform setup
- Runtime-hosted vs self-hosted configuration
- Session tracking for multi-turn conversations
- OpenTelemetry setup
- Cost tracking hooks
- Production observability patterns
evaluations.md
- AWS AgentCore Evaluations - Quality assessment with LLM-as-a-Judge
- 13 built-in evaluators (Helpfulness, Correctness, GoalSuccessRate, etc.)
- Custom evaluators with your own prompts and models
- Online (continuous) and on-demand evaluation modes
- CloudWatch integration and alerting
limitations.md
- MCP server deployment issues
- Tool selection problems (> 50 tools)
- Token overflow
- Lambda limitations
- Multi-agent cost concerns
- Throttling errors
- Cold start latency
#-Driven Philosophy
Key Concept: Strands Agents delegates orchestration to the model rather than requiring explicit control flow code.
# Traditional: Manual orchestration (avoid)
while not done:
if needs_research:
result = research_tool()
elif needs_analysis:
result = analysis_tool()
# Strands: Model decides (prefer)
agent = Agent(
system_prompt="You are a research analyst. Use tools to answer questions.",
tools=[research_tool, analysis_tool]
)
result = agent("What are the top tech trends?")
automatically orchest
Установить aws-strands-agents-agentcore в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл aws-strands-agents-agentcore?
Use when working with AWS Strands Agents SDK or Amazon Bedrock AgentCore platform for building AI agents. Provides architecture guidance, implementation patterns, deployment strategies, observability, quality evaluations, multi-agent orchestration, and MCP server integration.
Как установить скилл aws-strands-agents-agentcore?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aws-strands-agents-agentcore запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic