analytics-metrics
Build data visualization and analytics dashboards. Use when creating charts, KPI displays, metrics dashboards, or data visualization components. Triggers on…
Build a new AI agent on AWS and deploy it easily, OR wrap and deploy an agent you already have, using the Amazon Bedrock AgentCore harness. Explains what an "agent harness" is (the runtime scaffolding around a model - agent loop, tool execution, memory, identity, observability),
$ npx -y skills add hoodini/ai-agents-skills --skill aws-harness --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/aws-harnessContext preview
The summary Claude sees to decide when to auto-load this skill.
Build a new AI agent on AWS and deploy it easily, OR wrap and deploy an agent you already have, using the Amazon Bedrock AgentCore harness. Explains what an "agent harness" is (the runtime scaffolding around a model - agent loop, tool execution, memory, identity, observability),
name: aws-harness description: Build a new AI agent on AWS and deploy it easily, OR wrap and deploy an agent you already have, using the Amazon Bedrock AgentCore harness. Explains what an "agent harness" is (the runtime scaffolding around a model - agent loop, tool execution, memory, identity, observability), then gives two fully-working, verified paths - (A) scaffold + ship a new agent with the AgentCore CLI (create/dev/deploy/invoke), and (B) deploy a prepared agent (Strands, LangGraph, or custom) via the SDK wrapper or a FastAPI + Docker + ECR container. Every import and command is verified against official AWS/Strands docs. Use when the goal is to create, wrap, or deploy an agent on AWS AgentCore. Triggers on agent harness, AWS harness, AgentCore, AgentCore CLI, agentcore create, agentcore deploy, deploy agent on AWS, bring your own agent, Bedrock AgentCore runtime, serverless agent.
Take an AI agent from an empty folder - or from code you already have - to a live, serverless endpoint on AWS. Every command and import below is verified against official docs (sources at the bottom).
> Companion skill: [aws-strands](../aws-strands/SKILL.md) is the agent framework (the "brain" - how to write the agent). **This** skill is the harness: how to run and deploy that agent on AWS. Write with Strands, ship with AgentCore.
A language model, alone, only turns text into text. It cannot call an API, remember yesterday, run code, or browse the web. The **harness** is the scaffolding around the model that makes it act:
**Amazon Bedrock AgentCore** is AWS's managed set of these harness pieces. You bring the agent (built with [Strands](../aws-strands/SKILL.md), LangGraph, or anything); AgentCore hosts, secures, and scales it. The components, composable and framework-agnostic:
| Component | What it gives you | |---|---| | **Runtime** | Serverless, isolated agent execution (any framework, any model) | | **Memory** | Short-term (session) + long-term (cross-session) memory | | **Identity** | Let the agent act on behalf of a user (Cognito, Okta, Google, EntraID, OAuth) | | **Gateway** | Turn APIs / Lambda functions into agent tools (MCP) | | **Code Interpreter** | Sandboxed code execution | | **Browser** | Managed headless browser for web tasks | | **Observability** | Tracing, logs, metrics (CloudWatch / OpenTelemetry) |
You adopt these one at a time via `agentcore add` (Path A) or the SDK/API (Path B) - not all-or-nothing.
| | You want to... | Go to | |---|---|---| | **Path A** | Build a NEW agent from scratch, easiest possible | [Path A](#path-a---build-and-deploy-a-new-agent-cli) - the AgentCore CLI | | **Path B** | Deploy an agent you ALREADY have (Strands / LangGraph / anything) | [Path B](#path-b---deploy-an-agent-you-already-have) - wrap + ship |
**Both paths need:**
| Requirement | Why | |---|---| | AWS account + `aws configure` credentials | Everything below provisions real, billable infrastructure in *your* account. | | Bedrock model access | Enable a Claude model (for example Claude Sonnet 4) in the Bedrock console, in your target region, before the agent can call it. | | Python 3.10+ | The agent code is Python. |
**Path A also needs:** Node.js 20+ (the CLI is an npm package) and AWS CDK (`npm i -g aws-cdk`, then `cdk bootstrap` once per account/region - the CLI deploys via CDK).
**Path B (container option) also needs:** Docker with `buildx` (for ARM64 images).
---
The AgentCore CLI scaffolds a working agent, runs it locally, and deploys it.
> Two CLIs exist. Use the **new** one: `@aws/agentcore` (npm), commands `create`/`dev`/`deploy`/`invoke`. The older `bedrock-agentcore-starter-toolkit` (pip) uses `configure`/`launch` and is marked legacy - it is handy for Path B (wrapping an existing file), shown later.
npm install -g @aws/agentcore agentcore --help
# interactive wizard: agentcore create # or non-interactive: agentcore create --name MyAgent --framework Strands --model-provider Bedrock --memory none # or accept all defaults (Python, Strands, Bedrock, no memory): agentcore create --name MyAgent --defaults
Each flag shapes the agent:
| Flag | Verified options | Meaning | |---|---|---| | `--framework` | `Strands`, `LangChain_LangGraph`, `GoogleADK`, `OpenAIAgents` | The brain. Strands is AWS-native and simplest. | | `--model-provider` | `Bedrock`, `Anthropic`, `OpenAI`, `Gemini` | Bedrock = Claude inside AWS (no external key). Others call out with an API key. | | `--memory` | `none`, `shortTerm`, `longAndShortTerm` | none = amnesiac; shortTerm = within a session; longAndShortTerm = across sessions. | | `--protocol` | `HTTP`, `MCP`, `A2A` | HTTP for normal request/response; MCP to expose the agent as tools; A2A for agent-to-agent. | | `--build` | `CodeZip`, `Container` | CodeZip = zip to S3, no Docker. Container = Docker image, for custom system deps. |
It generates:
MyAgent/
agentcore/
agentcore.json # project + agent config
aws-targets.json # AWS account / region
.env.local # local secrets (gitignored)
app/
MyAgent/
main.py # your starter agent, in the chosen framework
pyproject.toml
README.mdThe scaffolded `main.py` follows this verified minimal shape - a framework agent wrapped by the harness:
from bedrock_agentcore import BedrockAgentCoreApp # the harness wrapper from strands import Ag
🧠 AI Agent Skills Repository - A curated collection of specialized skills for AI coding agents (Claude Code, GitHub Copilot, Cursor, Windsurf). Created by Yuval Avidani using GitHub Copilot via VS Code Insiders.
Repo: hoodini/ai-agents-skills
Build data visualization and analytics dashboards. Use when creating charts, KPI displays, metrics dashboards, or data visualization components. Triggers on…
Manage AWS accounts, organizations, IAM, and billing. Use when setting up AWS Organizations, managing IAM policies, controlling costs, or implementing…
Build AI agents with the Strands Agents SDK - the open-source framework (the agent "brain") for writing agent logic, tools, and multi-agent systems in Python.…
Build fast applications with Bun JavaScript runtime. Use when creating Bun projects, using Bun APIs, bundling, testing, or optimizing Node.js alternatives.…
Build a premium cinematic landing page with mouse-scrub video hero and brand-driven narrative-arc sections. Use whenever the user provides a hero video plus a…
Build and deploy on Cloudflare's edge platform. Use when creating Workers, Pages, D1 databases, R2 storage, AI inference, or KV storage. Triggers on…