agents-get-started
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseget-started
快速入门
Walk a developer from zero to a running agent on AWS.
引导开发者从零开始在AWS上搭建并运行一个agent。
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 and wants to know what to do next
agentcore create
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 or
agents-buildagents-connect - Migrating an existing Bedrock Agent → use (loads
agents-build)references/migrate.md
- 开发者想要在AWS上构建agent,但不知从何入手
- 开发者想要创建新的AgentCore项目
- 开发者正在选择框架(Strands、LangGraph、GoogleADK、OpenAI Agents)
- 开发者刚执行完,想了解后续操作
agentcore create
请勿用于以下场景:
- 环境/前置条件问题(CLI未找到、凭证失效)→ 使用
agents-debug - 为现有项目添加功能(内存、工具、策略)→ 使用或
agents-buildagents-connect - 迁移现有Bedrock Agent → 使用(加载
agents-build)references/migrate.md
Input
输入
$ARGUMENTS- 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
$ARGUMENTS- 框架偏好:"using LangGraph"、"with Strands"
- 协议:"MCP server"、"A2A"
- agent功能描述:"a customer support agent"
- 空值——本技能会引导开发者选择框架
Process
流程
Step 0: Verify CLI version
步骤0:验证CLI版本
bash
agentcore --versionThis 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: . 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.
agentcore updateIf is not found:
agentcoreThe AgentCore CLI isn't installed. Run(requires Node.js 20+). If you're having trouble with installation, I can run thenpm install -g @aws/agentcoreskill (which loadsagents-debug) to diagnose your environment.references/doctor.md
bash
agentcore --version本技能需要v0.9.0或更高版本。
如果版本较旧:
你的AgentCore CLI版本已过期(当前版本vX.Y.Z,需要v0.9.0+)。
提供更新命令:。更新完成后,重新检查版本确认≥0.9.0再继续。保留开发者已提供的所有上下文信息(框架偏好、项目名称、想要构建的功能),避免让他们重复输入。
agentcore update如果未找到:
agentcore未安装AgentCore CLI。请执行(需要Node.js 20+)。 如果安装遇到问题,我可以运行npm install -g @aws/agentcore技能(加载agents-debug)来诊断你的环境。references/doctor.md
Step 1: Determine intent — exploring or ready to create?
步骤1:确定意图——是探索还是准备创建?
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 command until they signal they're ready.
create - 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 in the current directory. If found, read it and skip to Step 5 (what to do next). Don't re-scaffold.
agentcore/agentcore.json
If the developer's intent is clear from (e.g., "create a Strands agent called MyBot"), skip straight to Step 3.
$ARGUMENTS在进入框架选择之前,先明确开发者所处的阶段:
询问开发者:“你是在探索选项(对比框架、了解AgentCore功能)还是准备创建项目?”
- 探索 → 进入步骤2(框架对比)。展示选项、解答问题并等待。直到开发者表示准备就绪,再构建命令。
create - 准备创建 → 跳过步骤2,直接进入步骤3(创建项目)。如果开发者已指定框架,则完全跳过步骤2。
- 已有项目 → 检查当前目录是否存在。如果找到,读取该文件并跳至步骤5(后续操作)。请勿重新搭建脚手架。
agentcore/agentcore.json
如果从中可明确开发者的意图(例如:“create a Strands agent called MyBot”),则直接跳至步骤3。
$ARGUMENTSStep 2: Framework selection
步骤2:框架选择
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):
| Framework | CLI value | Best for |
|---|---|---|
| Strands | | AWS-native, simplest path, best AgentCore integration |
| LangGraph | | Complex graph-based workflows, existing LangChain investment |
| Google ADK | | Teams already using Google's agent toolkit |
| OpenAI Agents | | Teams 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. In prose use the shorter names.--framework
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
优先检查对话上下文。如果开发者在本次对话中已讨论过框架(例如之前调用过其他技能),无需重复展示完整表格。总结之前的讨论内容,询问开发者是否已做出决定,或是否有变化。
如果是首次讨论框架,展示以下选项:
支持的框架(CLI脚手架,Python):
| 框架 | CLI参数值 | 适用场景 |
|---|---|---|
| Strands | | AWS原生、最简路径、与AgentCore集成度最高 |
| LangGraph | | 复杂的基于图的工作流、已有LangChain投入 |
| Google ADK | | 团队已在使用Google的agent工具包 |
| OpenAI Agents | | 团队已在使用OpenAI的agent SDK |
请开发者选择。展示选项并等待开发者选择。除非开发者明确表示无偏好,否则不要默认选择某一框架。
命名说明: CLI标志值是传递给的精确字符串。在描述性文本中使用简称即可。--framework
默认推荐(仅当开发者表示“无偏好”或“你来选”时):Strands——AWS原生框架,与AgentCore集成度最高,拥有最丰富的示例和文档。
关键决策要点:
- “你已有LangGraph或OpenAI Agents的agent代码吗?” → 使用对应框架
- “你需要带有条件分支的复杂图工作流吗?” → LangGraph
- “从零开始且无偏好?” → Strands
Framework not listed?
未列出的框架?
If the developer asks about a framework not in the table above, handle it:
| They ask about | What to say |
|---|---|
| CrewAI, AutoGen, Semantic Kernel | Not 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 SDK | This 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 / Copilot | These 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 framework | BYO 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 (, ). The workflow:
POST /invocationsGET /ping- to scaffold the project structure
agentcore create --name <ProjectName> --defaults - to register your code
agentcore add agent --type byo --build Container --language <Language> --code-location <path> - Write a that builds and runs your agent
Dockerfile - handles ECR push, CDK infra, and runtime creation
agentcore deploy
Language-specific notes:
| Language | Recommended path |
|---|---|
| Java (Spring Boot) | Spring AI SDK for AgentCore — handles the Runtime contract, SSE streaming, and health checks. Use |
| JavaScript / TypeScript | Implement the Runtime contract in Express/Fastify/etc. Use |
| Go, Rust, .NET, other | Implement the Runtime HTTP contract. Use |
The rest of this skill (deploy, status, logs, invoke) applies once the container builds correctly.
如果开发者询问表格中未列出的框架,按以下方式处理:
| 开发者询问 | 回复内容 |
|---|---|
| CrewAI、AutoGen、Semantic Kernel | CLI未提供脚手架支持,但你可以通过BYO容器路径(见下文)使用它们。AgentCore Runtime是框架无关的——任何实现HTTP协议的代码均可运行。 |
| Anthropic SDK / Claude Agent SDK | 这是模型SDK,而非agent框架。你可以在任意框架(Strands、LangGraph等)中使用它,或单独使用。单独使用时,将其封装在符合Runtime协议的容器中即可。 |
| Claude Code / Cursor / Copilot | 这些是IDE工具,而非agent框架。它们是你编写agent代码的工具,而非部署的框架。请从表格中选择一个框架来构建agent本身。 |
| LangChain(不含LangGraph) | LangChain是一个库,LangGraph是基于它构建的agent框架。CLI提供LangGraph的脚手架支持。如果你使用纯LangChain链,BYO容器路径适用。 |
| 自定义/自研框架 | 使用BYO容器路径——见下文。 |
BYO容器路径(任意框架、任意语言):
对于CLI未提供脚手架支持的框架或语言,AgentCore Runtime接受任何实现HTTP协议(、)的容器。工作流程如下:
POST /invocationsGET /ping- 执行搭建项目结构
agentcore create --name <ProjectName> --defaults - 执行注册你的代码
agentcore add agent --type byo --build Container --language <Language> --code-location <path> - 编写来构建并运行你的agent
Dockerfile - 负责ECR推送、CDK基础设施部署和Runtime创建
agentcore deploy
语言特定说明:
| 语言 | 推荐路径 |
|---|---|
| Java(Spring Boot) | Spring AI SDK for AgentCore——处理Runtime协议、SSE流和健康检查。使用 |
| JavaScript / TypeScript | 在Express/Fastify等框架中实现Runtime协议。使用 |
| Go、Rust、.NET及其他 | 实现Runtime HTTP协议。使用 |
容器构建完成后,本技能的其余部分(部署、状态、日志、调用)均适用。
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.
框架是agent的编排方式(Strands、LangGraph等)。模型提供商是agent调用的LLM(Bedrock、Anthropic、OpenAI、Gemini)。二者是独立选择:
- Strands + Bedrock(默认)——全AWS原生
- Strands + Anthropic——Strands编排,直接调用Anthropic API获取模型
- LangGraph + Bedrock——LangGraph编排,使用Bedrock模型
- OpenAI Agents + OpenAI——全OpenAI栈
如果开发者说“我想使用Claude”,他们指的是模型提供商(Bedrock或Anthropic),而非框架。如果他们说“我想使用LangGraph”,他们指的是框架。
Step 3: Create the project
步骤3:创建项目
Build the command based on the developer's choices.
agentcore createBefore 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 — is 22 chars and fits;
MyCustomerSupportAgentis 22 and fits;CustomerSupportChatbotis 23 and just fits;MyCustomerSupportBotAppis 24 and fails)MyCustomerSupportChatBot - 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 ?" 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.
<suggestion>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:bashagentcore create --name MyAgent --framework Strands --model-provider Bedrock --build CodeZip --memory noneThis 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> --defaultsWith specific options:
bash
agentcore create \
--name <ProjectName> \
--framework <Framework> \
--model-provider Bedrock \
--build CodeZip \
--memory noneFlag reference:
| Flag | Values | Default |
|---|---|---|
| alphanumeric, max 23 chars | prompted |
| | prompted |
| | |
| | |
| | prompted |
| | prompted |
| | |
| — | preview without creating |
Guidance on choices:
- Protocol: Use unless the developer specifically needs MCP tool serving or A2A agent-to-agent communication
HTTP - Build: Use unless the developer needs custom system dependencies (CodeZip is faster to deploy and doesn't require Docker locally)
CodeZip - Model provider: Use unless the developer has a specific reason for another provider (Bedrock doesn't require managing API keys)
Bedrock - Memory: Start with — memory can be added later via
none(loadsagents-build) when the developer needs itreferences/memory.md
根据开发者的选择构建命令。
agentcore create构建命令前——验证项目名称。CLI的错误反馈较晚:如果名称无效,你会在完成提示或构建完整命令后才看到错误。提前检查以下规则,避免来回沟通。如果名称违反任何规则,拒绝该名称并要求开发者提供新名称:
- 长度≤23个字符(比大多数开发者预期的短——是22个字符,符合要求;
MyCustomerSupportAgent是22个字符,符合要求;CustomerSupportChatbot是23个字符,刚好符合;MyCustomerSupportBotApp是24个字符,不符合)MyCustomerSupportChatBot - 仅包含字母数字——无连字符、下划线、点或空格
- 必须以字母开头
当名称接近限制时,告知字符数:“该名称有24个字符——CLI限制项目名称最多23个字符。是否缩短为?” 不要假设CLI的错误提示足够清晰而使用无效名称执行命令——实际情况并非总是如此,且会导致开发者后续命令的认知偏差。
<建议名称>构建命令后,在开发者执行前先展示并确认。显示完整命令及所有标志,并解释每个选择的含义。等待开发者确认或调整后再继续。
示例展示:
根据你告知的信息,我推荐以下命令:bashagentcore create --name MyAgent --framework Strands --model-provider Bedrock --build CodeZip --memory none该命令会创建一个使用Bedrock模型的Strands agent,以代码包形式部署(无需Docker)。内存可后续添加。要执行这个命令,还是需要调整参数?
请勿自动执行命令——展示命令并等待。
最简版本(默认值——Strands、Bedrock、CodeZip、无内存):
bash
agentcore create --name <ProjectName> --defaults带特定选项的版本:
bash
agentcore create \
--name <ProjectName> \
--framework <Framework> \
--model-provider Bedrock \
--build CodeZip \
--memory none标志参考:
| 标志 | 可选值 | 默认值 |
|---|---|---|
| 字母数字,最多23个字符 | 提示输入 |
| | 提示选择 |
| | |
| | |
| | 提示选择 |
| | 提示选择 |
| | |
| —— | 预览创建过程但不实际创建 |
选择指导:
- 协议: 除非开发者明确需要MCP工具服务或A2A agent间通信,否则使用
HTTP - 构建方式: 除非开发者需要自定义系统依赖,否则使用(部署更快,无需本地Docker)
CodeZip - 模型提供商: 除非开发者有特定理由选择其他提供商,否则使用(无需管理API密钥)
Bedrock - 内存: 从开始——当开发者需要时,可通过
none(加载agents-build)添加内存references/memory.md
Step 4: Explain what was created
步骤4:解释创建内容
After the project exists, read and the generated code to explain the project structure.
agentcore/agentcore.jsonThe layout below reflects CLI v0.9.x. If the CLI version is different, run to see the actual generated structure and explain from there.
tree <ProjectName>/ -L 3<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 dependenciesKey files to highlight:
- — the agent's entry point. This is where the developer adds tools, system prompts, and logic.
app/<AgentName>/main.py - — the project config. Resources are added here via
agentcore/agentcore.jsoncommands.agentcore add - — local environment variables. After deploy, resource IDs are written here for local dev.
agentcore/.env.local
Heads-up on the scaffolded MCP client. imports from and appends it to . In a fresh project, this client points at a public example MCP endpoint — so works immediately. Two things to flag:
main.pyget_streamable_http_mcp_client()mcp_client/client.pytoolsagentcore dev- 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 . That env var is only populated after
os.getenv("AGENTCORE_GATEWAY_<NAME>_URL"). If the developer repoints and runsagentcore deploybefore deploying,agentcore devreturns a client with aget_streamable_http_mcp_client()URL and the agent starts with zero MCP tools — no error, no warning. See the "Local dev gap" section inNonefor the guard pattern:agents-connect.if not GATEWAY_URL: tools = [] - If the developer doesn't need MCP tools at all, remove the list and the loop that appends it to
mcp_clients. The scaffold includes it as a convenience, not a requirement.tools
The reference client code in (Path A) shows the correct pattern for gateway-backed MCP clients once deploy has run.
agents-connect项目创建完成后,读取和生成的代码,解释项目结构。
agentcore/agentcore.json以下布局对应CLI v0.9.x版本。如果CLI版本不同,执行查看实际生成的结构并据此解释。
tree <ProjectName>/ -L 3<ProjectName>/
├── agentcore/
│ ├── agentcore.json ← 项目配置文件(agents、资源)
│ ├── aws-targets.json ← AWS账户+区域配置
│ ├── .env.local ← 本地环境变量(已加入git忽略)
│ └── cdk/ ← CDK基础设施(自动管理,请勿编辑)
└── app/
└── <AgentName>/
├── main.py ← agent代码入口——你将在此处构建功能
├── mcp_client/ ← 预配置的MCP客户端示例(见下文说明)
└── pyproject.toml ← Python依赖配置重点文件说明:
- ——agent的入口文件。开发者在此添加工具、系统提示和逻辑。
app/<AgentName>/main.py - ——项目配置文件。通过
agentcore/agentcore.json命令添加的资源会在此处记录。agentcore add - ——本地环境变量文件。部署完成后,资源ID会写入此处用于本地开发。
agentcore/.env.local
关于脚手架生成的MCP客户端的提示。从导入并将其添加到列表中。在新项目中,该客户端指向一个公开的示例MCP端点——因此可立即运行。需要注意两点:
main.pymcp_client/client.pyget_streamable_http_mcp_client()toolsagentcore dev- 如果将其指向尚未部署的网关,它会静默失效。常见做法是将示例端点替换为。该环境变量仅在
os.getenv("AGENTCORE_GATEWAY_<NAME>_URL")后才会生成。如果开发者在部署前修改并运行agentcore deploy,agentcore dev会返回一个URL为get_streamable_http_mcp_client()的客户端,agent启动时将没有MCP工具——无错误、无警告。请查看None中的“本地开发缺口”部分获取防护模式:agents-connect。if not GATEWAY_URL: tools = [] - 如果开发者完全不需要MCP工具,请移除列表及其添加到
mcp_clients的循环。脚手架包含此内容是为了方便,而非强制要求。tools
agents-connectStep 5: Local development
步骤5:本地开发
bash
agentcore devThis starts a local dev server. The developer can interact with their agent immediately.
Port the dev server binds to (important if you're scripting calls or testing from another process):
curl| Protocol | Default port |
|---|---|
| HTTP | |
| MCP | |
| A2A | |
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 to pin it, or grep / check the CLI banner if invocations start failing with connection-refused or exit-code-7 errors.
agentcore dev --port <N>psImportant limitations to mention:
- Memory is not available in — it requires a deploy
agentcore dev - Gateway URLs are not available locally — they require a deploy
- The local server uses the model provider configured in the project
bash
agentcore dev该命令启动本地开发服务器。开发者可立即与他们的agent交互。
开发服务器绑定的端口(如果编写脚本或从其他进程测试,这一点很重要):
curl| 协议 | 默认端口 |
|---|---|
| HTTP | |
| MCP | |
| A2A | |
CLI启动时会打印绑定的端口和URL——请始终从CLI输出中读取实际值,而非硬编码。如果默认端口已被占用,CLI会自动递增(例如:8080 → 8081 → 8082),因此第二个开发会话或之前运行的残留进程可能会导致端口变化而无提示。如果调用开始出现连接拒绝或退出码7错误,请使用固定端口,或通过命令/查看CLI banner检查端口。
agentcore dev --port <N>ps需要提及的重要限制:
- 不支持内存功能——需要部署后才能使用
agentcore dev - 网关URL在本地不可用——需要部署后才能使用
- 本地服务器使用项目中配置的模型提供商
Step 6: First deploy
步骤6:首次部署
When the developer is ready to deploy:
bash
agentcore deployThis will:
- Show a preview of AWS resources to be created
- Ask for confirmation
- 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当开发者准备部署时:
bash
agentcore deploy该命令会:
- 展示即将创建的AWS资源预览
- 请求确认
- 通过CDK构建并部署
首次部署需要3-5分钟。后续部署会更快。
部署完成后,展示如何调用:
bash
agentcore invoke "Hello, what can you do?"以及如何检查状态:
bash
agentcore statusStep 7: What's next
步骤7:下一步操作
Based on what the developer said they want to build, suggest the logical next skill:
| Developer intent | Next skill | Command hint |
|---|---|---|
| "How do I call it from my app?" | | |
| "I want it to remember things" | | |
| "I want it to call external APIs" | | |
| "I want to restrict what it can do" | | |
| "I want to measure quality" | | |
| "I want to go to production" | | production readiness checklist |
| "I want multiple agents working together" | | |
| "I need it in a VPC" | | |
Don't overwhelm — suggest one or two next steps based on what the developer actually asked for.
根据开发者表示的构建目标,推荐合理的后续技能:
| 开发者意图 | 后续技能 | 命令提示 |
|---|---|---|
| “如何从我的应用中调用它?” | | |
| “我想让它记住信息” | | |
| “我想让它调用外部API” | | |
| “我想限制它的操作范围” | | |
| “我想衡量它的质量” | | |
| “我想将它投入生产” | | 生产就绪检查清单 |
| “我想让多个agent协同工作” | | |
| “我需要将它部署在VPC中” | | |
不要提供过多选项——根据开发者实际需求推荐1-2个下一步操作。
Example walkthroughs
示例演练
For task-framed prompts (e.g., "build a customer support agent"), load the matching example reference:
| Developer task | Reference |
|---|---|
| Customer support, chatbot, answer policy questions | |
More examples can be added to this skill's references directory as common patterns emerge.
对于任务类提示(例如:“build a customer support agent”),加载对应的示例参考文档:
| 开发者任务 | 参考文档 |
|---|---|
| 客户支持、聊天机器人、回答政策问题 | |
随着常见模式的出现,可在本技能的参考目录中添加更多示例。
Output
输出
- A clear path from "I want to build an agent" to a running deployed agent
- The command tailored to their choices
agentcore create - An explanation of the generated project structure
- Concrete next steps based on their intent
- 从“我想构建一个agent”到agent部署运行的清晰路径
- 根据开发者选择定制的命令
agentcore create - 生成项目结构的解释
- 根据开发者意图提供的具体下一步操作
Quality criteria
质量标准
- The command uses only valid flags from CLI v0.9.1
agentcore create - 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
- 命令仅使用CLI v0.9.1中的有效标志
agentcore create - 框架推荐基于开发者的上下文,而非通用默认值
- 开发者理解每个生成文件的作用
- 下一步操作是针对开发者的构建目标,而非所有功能的通用列表