Agents Get Started 标志

Agents Get Started

组织热门
aws
agents-get-started

当开发者想创建新的智能体项目或开始使用 AgentCore 时使用。涵盖框架选择、项目脚手架、首次部署和首次调用。适用于以下情况:“构建智能体”“创建智能体”“开始使用”“新项目”“agentcore create”“选择哪个框架”“Strands 还是 LangGraph”“Hello World 智能体”“第一个智能体”“创建 MCP 服务器”“托管 MCP 服务器”“agentcore dev”“开发服务器”“使用什么端口”“本地开发”。不适用于为现有项目添加功能——请使用 agents-build 或 agents-connect。在迁移场景中询问 Strands 还是 LangGraph,应转到 agents-build,而不是这里。连接现有 MCP 服务器应转到 agents-connect,而不是这里。

Add to TypingMind

概览

发布者aws
代码仓库agent-toolkit-for-aws
技能名称agents-get-started
星标数
2.7K
复刻数
311
附带文件
1
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 aws 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Agents Get Started AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/aws/agent-toolkit-for-aws/tree/main/plugins/aws-agents/skills/agents-get-started
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws.git /tmp/agent-toolkit-for-aws
mkdir -p .claude/skills
cp -r /tmp/agent-toolkit-for-aws/plugins/aws-agents/skills/agents-get-started .claude/skills/agents-get-started
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Agents Get Started,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Agents Get Started。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Agents Get Started 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

get-started

Walk a developer from zero to a running agent on AWS.

When to use

  • Developer wants to build an agent on AWS and doesn't know where to start
  • Developer wants to create a new AgentCore project
  • Developer is choosing between frameworks (Strands, LangGraph, GoogleADK, OpenAI Agents)
  • Developer just ran agentcore create and wants to know what to do next

Do NOT use for:

  • Environment/prerequisite issues (CLI not found, credentials broken) → use agents-debug
  • Adding capabilities to an existing project (memory, tools, policies) → use agents-build or agents-connect
  • Migrating an existing Bedrock Agent → use agents-build (loads references/migrate.md)

Input

$ARGUMENTS can be:

  • A framework preference: "using LangGraph", "with Strands"
  • A protocol: "MCP server", "A2A"
  • A description of what the agent should do: "a customer support agent"
  • Empty — the skill will guide framework selection

Process

Step 0: Verify CLI version

bash
agentcore --version

This skill requires v0.9.0 or later.

If the version is older:

Your AgentCore CLI is out of date (found vX.Y.Z, need v0.9.0+).

Offer to run the update: agentcore update. After the update completes, re-check the version to confirm it's ≥0.9.0 before continuing. Preserve any context the developer already provided (framework preference, project name, what they want to build) so they don't have to repeat themselves.

If agentcore is not found:

The AgentCore CLI isn't installed. Run npm install -g @aws/agentcore (requires Node.js 20+). If you're having trouble with installation, I can run the agents-debug skill (which loads references/doctor.md) to diagnose your environment.

Step 1: Determine intent — exploring or ready to create?

Before jumping into framework selection, figure out where the developer is:

Ask the developer: "Are you exploring options (comparing frameworks, understanding what AgentCore does) or ready to create a project?"

  • Exploring → Go to Step 2 (framework comparison). Present the options, answer questions, and wait. Do not construct a create command until they signal they're ready.
  • Ready to create → Skip to Step 3 (create the project). If they already specified a framework, skip Step 2 entirely.
  • Already has a project → Look for agentcore/agentcore.json in the current directory. If found, read it and skip to Step 5 (what to do next). Don't re-scaffold.

If the developer's intent is clear from $ARGUMENTS (e.g., "create a Strands agent called MyBot"), skip straight to Step 3.

Step 2: Framework selection

Check conversation context first. If the developer already discussed frameworks earlier in this conversation (e.g., from a previous skill invocation), don't re-present the full table. Summarize what was discussed and ask if they've decided, or if anything changed.

If this is the first time discussing frameworks, present the options:

Supported frameworks (CLI-scaffolded, Python):

FrameworkCLI valueBest for
StrandsStrandsAWS-native, simplest path, best AgentCore integration
LangGraphLangChain_LangGraphComplex graph-based workflows, existing LangChain investment
Google ADKGoogleADKTeams already using Google's agent toolkit
OpenAI AgentsOpenAIAgentsTeams already using OpenAI's agent SDK

Ask the developer to choose. Present the options and wait for their selection. Don't assume a default unless they explicitly say they have no preference.

Note on naming: The CLI flag value is the exact string to pass to --framework. In prose use the shorter names.

Default recommendation (only when the developer says "no preference" or "you pick"): Strands — AWS-native framework with the tightest AgentCore integration and the most samples/docs.

Key decision points to surface:

  • "Do you have existing agent code in LangGraph or OpenAI Agents?" → use that framework
  • "Do you need complex graph-based workflows with conditional branching?" → LangGraph
  • "Starting fresh with no preference?" → Strands
Framework not listed?

If the developer asks about a framework not in the table above, handle it:

They ask aboutWhat to say
CrewAI, AutoGen, Semantic KernelNot scaffolded by the CLI, but you can use them via the BYO Container path (below). AgentCore Runtime is framework-agnostic — any code that implements the HTTP contract works.
Anthropic SDK / Claude Agent SDKThis is a model SDK, not an agent framework. You can use it inside any framework (Strands, LangGraph, etc.) or standalone. For standalone use, wrap it in a container with the Runtime contract.
Claude Code / Cursor / CopilotThese are IDE tools, not agent frameworks. They're where you write agent code, not what you deploy. Pick a framework from the table above for the agent itself.
LangChain (without LangGraph)LangChain is a library, LangGraph is the agent framework built on it. The CLI scaffolds LangGraph. If you're using plain LangChain chains, the BYO Container path works.
Custom / homegrown frameworkBYO Container path — see below.

BYO Container path (any framework, any language):

For frameworks or languages not scaffolded by the CLI, AgentCore Runtime accepts any container that implements the HTTP contract (POST /invocations, GET /ping). The workflow:

  1. agentcore create --name <ProjectName> --defaults to scaffold the project structure
  2. agentcore add agent --type byo --build Container --language <Language> --code-location <path> to register your code
  3. Write a Dockerfile that builds and runs your agent
  4. agentcore deploy handles ECR push, CDK infra, and runtime creation

Language-specific notes:

LanguageRecommended path
Java (Spring Boot)Spring AI SDK for AgentCore — handles the Runtime contract, SSE streaming, and health checks. Use --language Other --build Container.
JavaScript / TypeScriptImplement the Runtime contract in Express/Fastify/etc. Use --language TypeScript --build Container.
Go, Rust, .NET, otherImplement the Runtime HTTP contract. Use --language Other --build Container.

The rest of this skill (deploy, status, logs, invoke) applies once the container builds correctly.

Framework vs. model provider — a common confusion

The framework is how your agent orchestrates (Strands, LangGraph, etc.). The model provider is which LLM it calls (Bedrock, Anthropic, OpenAI, Gemini). These are independent choices:

  • Strands + Bedrock (default) — AWS-native everything
  • Strands + Anthropic — Strands orchestration, direct Anthropic API for the model
  • LangGraph + Bedrock — LangGraph orchestration, Bedrock for the model
  • OpenAI Agents + OpenAI — OpenAI everything

If the developer says "I want to use Claude" they mean the model provider (Bedrock or Anthropic), not the framework. If they say "I want to use LangGraph" they mean the framework.

Step 3: Create the project

Build the agentcore create command based on the developer's choices.

Before constructing the command — validate the project name. The CLI fails late: if the name is invalid, you'll see the error after walking through prompts or building the full command. Save the round-trip and check these rules up front. Reject the name and ask for a new one if any rule fails:

  • Length ≤ 23 characters (this is shorter than most developers assume — MyCustomerSupportAgent is 22 chars and fits; CustomerSupportChatbot is 22 and fits; MyCustomerSupportBotApp is 23 and just fits; MyCustomerSupportChatBot is 24 and fails)
  • Alphanumeric only — no hyphens, underscores, dots, or spaces
  • Must start with a letter

Say the count back out loud when close to the limit: "That name is 24 characters — the CLI caps project names at 23. Want to shorten it to <suggestion>?" Do not run the command with an invalid name on the assumption that the CLI error message will be clear — it isn't always, and the developer's mental model will be wrong for subsequent commands.

Construct the command, then present it for confirmation before the developer runs it. Show the full command with all flags and explain what each choice means. Wait for the developer to confirm or adjust before proceeding.

Example presentation:

Here's the command I'd recommend based on what you've told me:

bash
agentcore create --name MyAgent --framework Strands --model-provider Bedrock --build CodeZip --memory none

This creates a Strands agent using Bedrock models, deployed as a code zip (no Docker needed). Memory can be added later.

Want to run this, or change anything?

Do NOT execute the command automatically — present it and wait.

Minimal (defaults — Strands, Bedrock, CodeZip, no memory):

bash
agentcore create --name <ProjectName> --defaults

With specific options:

bash
agentcore create \
  --name <ProjectName> \
  --framework <Framework> \
  --model-provider Bedrock \
  --build CodeZip \
  --memory none

Flag reference:

FlagValuesDefault
--namealphanumeric, max 23 charsprompted
--frameworkStrands, LangChain_LangGraph, GoogleADK, OpenAIAgentsprompted
--protocolHTTP, MCP, A2AHTTP
--buildCodeZip, ContainerCodeZip
--model-providerBedrock, Anthropic, OpenAI, Geminiprompted
--memorynone, shortTerm, longAndShortTermprompted
--network-modePUBLIC, VPCPUBLIC
--dry-run—preview without creating

Guidance on choices:

  • Protocol: Use HTTP unless the developer specifically needs MCP tool serving or A2A agent-to-agent communication
  • Build: Use CodeZip unless the developer needs custom system dependencies (CodeZip is faster to deploy and doesn't require Docker locally)
  • Model provider: Use Bedrock unless the developer has a specific reason for another provider (Bedrock doesn't require managing API keys)
  • Memory: Start with none — memory can be added later via agents-build (loads references/memory.md) when the developer needs it

Step 4: Explain what was created

After the project exists, read agentcore/agentcore.json and the generated code to explain the project structure.

The layout below reflects CLI v0.9.x. If the CLI version is different, run tree <ProjectName>/ -L 3 to see the actual generated structure and explain from there.

<ProjectName>/
├── agentcore/
│   ├── agentcore.json      ← Project config (agents, resources)
│   ├── aws-targets.json    ← AWS account + region
│   ├── .env.local          ← Local environment variables (gitignored)
│   └── cdk/                ← CDK infrastructure (auto-managed, don't edit)
└── app/
    └── <AgentName>/
        ├── main.py          ← Your agent code — this is where you build
        ├── mcp_client/      ← Pre-wired example MCP client (see note below)
        └── pyproject.toml   ← Python dependencies

Key files to highlight:

  • app/<AgentName>/main.py — the agent's entry point. This is where the developer adds tools, system prompts, and logic.
  • agentcore/agentcore.json — the project config. Resources are added here via agentcore add commands.
  • agentcore/.env.local — local environment variables. After deploy, resource IDs are written here for local dev.

Heads-up on the scaffolded MCP client. main.py imports get_streamable_http_mcp_client() from mcp_client/client.py and appends it to tools. In a fresh project, this client points at a public example MCP endpoint — so agentcore dev works immediately. Two things to flag:

  1. It will become a silent no-op if you repoint it at a gateway that isn't deployed yet. The common path is to swap the example endpoint for os.getenv("AGENTCORE_GATEWAY_<NAME>_URL"). That env var is only populated after agentcore deploy. If the developer repoints and runs agentcore dev before deploying, get_streamable_http_mcp_client() returns a client with a None URL and the agent starts with zero MCP tools — no error, no warning. See the "Local dev gap" section in agents-connect for the guard pattern: if not GATEWAY_URL: tools = [].
  2. If the developer doesn't need MCP tools at all, remove the mcp_clients list and the loop that appends it to tools. The scaffold includes it as a convenience, not a requirement.

The reference client code in agents-connect (Path A) shows the correct pattern for gateway-backed MCP clients once deploy has run.

Step 5: Local development

bash
agentcore dev

This starts a local dev server. The developer can interact with their agent immediately.

Port the dev server binds to (important if you're scripting curl calls or testing from another process):

ProtocolDefault port
HTTP8080
MCP8000
A2A9000

The CLI prints the bound port and URL on startup — always read the actual value from the CLI output rather than hardcoding. If the default port is already in use, the CLI auto-increments (e.g., 8080 → 8081 → 8082), so a second dev session or a lingering process from a previous run can shift your port without warning. Use agentcore dev --port <N> to pin it, or grep ps / check the CLI banner if invocations start failing with connection-refused or exit-code-7 errors.

Important limitations to mention:

  • Memory is not available in agentcore dev — it requires a deploy
  • Gateway URLs are not available locally — they require a deploy
  • The local server uses the model provider configured in the project

Step 6: First deploy

When the developer is ready to deploy:

bash
agentcore deploy

This will:

  1. Show a preview of AWS resources to be created
  2. Ask for confirmation
  3. Build and deploy via CDK

First deploy takes 3-5 minutes. Subsequent deploys are faster.

After deploy, show them how to invoke:

bash
agentcore invoke "Hello, what can you do?"

And how to check status:

bash
agentcore status

Step 7: What's next

Based on what the developer said they want to build, suggest the logical next skill:

Developer intentNext skillCommand hint
"How do I call it from my app?"agents-buildagentcore fetch access
"I want it to remember things"agents-buildagentcore add memory
"I want it to call external APIs"agents-connectagentcore add gateway
"I want to restrict what it can do"agents-connectagentcore add policy-engine
"I want to measure quality"agents-optimizeagentcore add evaluator
"I want to go to production"agents-hardenproduction readiness checklist
"I want multiple agents working together"agents-buildagentcore create --protocol A2A
"I need it in a VPC"agents-buildagentcore create --network-mode VPC

Don't overwhelm — suggest one or two next steps based on what the developer actually asked for.

Example walkthroughs

For task-framed prompts (e.g., "build a customer support agent"), load the matching example reference:

Developer taskReference
Customer support, chatbot, answer policy questionsreferences/example-support-agent.md

More examples can be added to this skill's references directory as common patterns emerge.

Output

  • A clear path from "I want to build an agent" to a running deployed agent
  • The agentcore create command tailored to their choices
  • An explanation of the generated project structure
  • Concrete next steps based on their intent

Quality criteria

  • The agentcore create command uses only valid flags from CLI v0.9.1
  • Framework recommendation is based on the developer's context, not a generic default
  • The developer understands what each generated file does
  • Next steps are specific to what the developer wants to build, not a generic list of all features

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Agents Get Started AI 技能有什么作用?

当开发者想创建新的智能体项目或开始使用 AgentCore 时使用。涵盖框架选择、项目脚手架、首次部署和首次调用。适用于以下情况:“构建智能体”“创建智能体”“开始使用”“新项目”“agentcore create”“选择哪个框架”“Strands 还是 LangGraph”“Hello World 智能体”“第一个智能体”“创建 MCP 服务器”“托管 MCP 服务器”“agentcore dev”“开发服务器”“使用什么端口”“本地开发”。不适用于为现有项目添加功能——请使用 agents-build 或 agents-connect。在迁移场景中询问 Strands 还是 LangGraph,应转到 agents-build,而不是这里。连接现有 MCP 服务器应转到 agents-connect,而不是这里。

为什么在 TypingMind 中使用 Agents Get Started?

因为您只需安装一次,就能搭配任何模型使用。Agents Get Started 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Agents Get Started?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/aws/agent-toolkit-for-aws/tree/main/plugins/aws-agents/skills/agents-get-started。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Agents Get Started?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Agents Get Started 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Agents Get Started 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Agents Get Started AI 技能免费吗?

是的。aws 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇