bedrock
БесплатноБез исполняемых скриптовНе проверенAWS Bedrock foundation models for generative AI. Use when invoking foundation models, building AI applications, creating embeddings, configuring model access…
Об этом скилле
AWS Bedrock
Amazon Bedrock provides access to foundation models (FMs) from AI companies through a unified API. Build generative AI applications with text generation, embeddings, and image generation capabilities.
Table of Contents
Core Concepts
Foundation Models
Pre-trained models available through Bedrock:
- Claude (Anthropic): Text generation, analysis, coding
- Nova / Titan (Amazon): Text, multimodal, embeddings
- GPT / gpt-oss (OpenAI): Text generation, reasoning
- Llama (Meta): Open-weight text generation
- Mistral: Efficient text generation
- Stable Image (Stability AI): Image generation and editing
Model Access
In commercial Regions, access to all serverless models is enabled by default (no console opt-in). In GovCloud (US), models are still enabled manually on the Model access page (third-party models also in the linked commercial account):
- First invocation of a third-party model auto-subscribes via AWS Marketplace (up to 15 min); caller needs
aws-marketplace:Subscribe,Unsubscribe,ViewSubscriptions - Anthropic models on
bedrock-runtimeneed a one-time use case form per account/org (put-use-case-for-model-access) - Invoking implies EULA acceptance; to block a model, deny both
bedrock:InvokeModelandbedrock:InvokeModelWithResponseStreamon it (SCP/IAM); streaming APIs such asConverseStreamuse the latter. Denyingaws-marketplace:Subscribealone does not block first use
Endpoints
| Endpoint | APIs | Use for |
|---|---|---|
bedrock-runtime.{region}.amazonaws.com (recommended) |
InvokeModel, Converse, Anthropic Messages (/anthropic), OpenAI Responses/Chat Completions (/openai/v1) |
Guardrails, cross-Region inference, prompt routing, application inference profiles |
bedrock-mantle.{region}.api.aws |
OpenAI Responses/Chat Completions (/openai/v1), Anthropic Messages |
Server-side tools (Web Search), background=true async, Projects/Workspaces, single-Region access to CRIS-only models |
- Same per-token price on both; auth via SigV4 or Bedrock API key (
AWS_BEARER_TOKEN_BEDROCK) - IAM:
bedrock:InvokeModel(runtime) vsbedrock-mantle:CreateInference(mantle) - Responses API on
bedrock-runtimeis synchronous only and has no server-side tools
Inference Profiles and Model Lifecycle
- Newer models (e.g. Claude Sonnet 5) have no in-Region on-demand ID on
bedrock-runtime: use a geo (us.,eu.,au.) orglobal.inference profile ID asmodelId - Lifecycle is
Active->Legacy->EOL(seemodelLifecycleinget-foundation-model). Legacy: no new Provisioned Throughput, fine-tuning, or quota increases; EOL: requests fail - Model cards list an "EOL no sooner than" date; check before pinning a model ID
Knowledge Bases and Agents
- Managed knowledge bases (
type: MANAGED): Bedrock runs storage, indexing, and retrieval. Only type that supportsAgenticRetrieveStream(query decomposition, iterative retrieval, optional AgentCore Memory viamemoryConfiguration) - Native multimodal managed KBs embed video/audio/image directly with TwelveLabs Marengo Embed 3.0 (
twelvelabs.marengo-embed-3-0-v1:0); query with text viaRetrieveonly (noRetrieveAndGenerate) - Bedrock Agents Classic is in maintenance mode: closed to new accounts since July 30, 2026 (
CreateAgent/InvokeInlineAgentreturn 403 without prior 12-month usage), model catalog frozen. Build new agents on Amazon Bedrock AgentCore
Inference Types
| Type | Use Case | Pricing |
|---|---|---|
| On-Demand | Variable workloads | Per token |
| Provisioned Throughput | Consistent high-volume | Hourly commitment |
| Batch Inference | Async large-scale | Discounted per token |
Common Patterns
Invoke Model (Text Generation)
AWS CLI:
# Invoke Claude
aws bedrock-runtime invoke-model \
--model-id us.anthropic.claude-sonnet-5 \
--content-type application/json \
--accept application/json \
--cli-binary-format raw-in-base64-out \
--body '{
"anthropic_version": "bedrock-2023-05-31",
"max_tokens": 4096,
"messages": [
{"role": "user", "content": "Explain AWS Lambda in 3 sentences."}
]
}' \
response.json
# Claude Sonnet 5/Opus 5 think by default: content may start with a thinking block
cat response.json | jq -r '.content[] | select(.type=="text") | .text'
boto3:
import boto3
import json
bedrock = boto3.client('bedrock-runtime')
def invoke_claude(prompt, max_tokens=4096):
response = bedrock.invoke_model(
modelId='us.anthropic.claude-sonnet-5',
contentType='application/json',
accept='application/json',
body=json.dumps({
'anthropic_version': 'bedrock-2023-05-31',
Установить bedrock в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл bedrock?
AWS Bedrock foundation models for generative AI. Use when invoking foundation models, building AI applications, creating embeddings, configuring model access, or implementing RAG patterns.
Как установить скилл bedrock?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bedrock запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic