Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

AgentCore provides no information on AWS account or profile being used

未关闭
#2,009 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
aws, typescript

调研方向

从 AgentCore CLI 的 status/dev 入口点以及 issue 中链接的 getting-started CLI 文档开始;查看 #1727 以了解 profile 支持的背景。完成标准是文档说明本地 AWS 访问方式,并且 status 能识别解析出的 account 或 profile,同时根据报告的 Windows 流程检查行为。

由索引模型根据 Issue 内容生成。

描述

bug
Description

The AgentCore "getting started" instructions are not clear that "local" development actually accesses AWS, and critically apparently provides no indication of which AWS account is being used.

Steps to Reproduce

Follow the instructions for Get started with the AgentCore CLI:

agentcore create --name MyAgent --framework Strands --protocol HTTP --model-provider Bedrock --memory none
cd MyAgent
agentcore status

Status says:

AgentCore Status (target: )

Agents
MyAgent: Local only

Then run:

agentcore dev

Enter a question, e.g.:

What are the benefits of uv over pip?

Expected Behavior
  1. "Local only" means no server access.
  2. If an AWS account is accessed, agentcore status should indicate which account is being accessed.
Actual Behavior
  1. An error occurred, which apparently means that "local only" is not "local only".

    Error: An error occurred (AccessDeniedException) when calling the ConverseStream operation: Your account is currently being verified. Verification normally takes less than 2 hours. Until your account is verified, you may not have access to this operation. If you are still receiving this message after more than 2 hours, please let us know by writing to [email protected]. We appreciate your patience.

  2. There is no information about which AWS account is being accessed, and no obvious way to find out.
CLI Version

0.27.0

Operating System

Windows

Additional Context

AWS best practices requires setting up multiple accounts. Users need to be able to know which account is being accessed. This issue is a compounding of the critical oversight of #1727: the --profile switch is not implemented, and it's not even clear if AWS_PROFILE is supported. Therefore, when the "local" setup tries to access something that isn't local, users need to know what it's trying to access.

  1. Improve the documentation to explain that "local" (apparently) only refers to the agent harness; an AWS account is still being accessed.
  2. Implement --profile and AWS_PROFILE from #1727.
  3. Provide visibility in agentcore status to indicate which profile is being resolved.
主要语言
TypeScript
星标
291
派生
96
平均合并
20 小时 50 分钟
30 天内合并 PR
214

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aws/agentcore-cli 的其他 Issue

查看 aws/agentcore-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。