agentcore 是什么?
agentcore 让 agent-browser 使用 AWS Bedrock AgentCore 托管浏览器会话。网页操作命令与本地 Chrome 相同,区别在浏览器托管位置、AWS 身份解析、区域和可选持久配置;启动后可通过 AWS Console 的 Live View 观察。
中文说明由本站依据来源整理;英文原文保留在页面下方。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
agentcore,然后按本页使用示例提供材料。
展开并复制给 Codex 的安装指令
安装并检查 agentcore
请在 Codex 的当前工作环境中安装并检查 agentcore 这个 Skill。
项目身份:vercel-labs/agent-browser / agentcore
来源:https://github.com/vercel-labs/agent-browser/blob/53384771fbafc261ba67608ac806dd5aa70b84f0/skill-data/agentcore/SKILL.md
已定位的源文件:skill-data/agentcore/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 agentcore
请在 Claude Code 的当前工作环境中安装并检查 agentcore 这个 Skill。
项目身份:vercel-labs/agent-browser / agentcore
来源:https://github.com/vercel-labs/agent-browser/blob/53384771fbafc261ba67608ac806dd5aa70b84f0/skill-data/agentcore/SKILL.md
已定位的源文件:skill-data/agentcore/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 agentcore
请在 Cursor Agent 的当前工作环境中安装并检查 agentcore 这个 Skill。
项目身份:vercel-labs/agent-browser / agentcore
来源:https://github.com/vercel-labs/agent-browser/blob/53384771fbafc261ba67608ac806dd5aa70b84f0/skill-data/agentcore/SKILL.md
已定位的源文件:skill-data/agentcore/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 agentcore
请在 当前 Agent 的当前工作环境中安装并检查 agentcore 这个 Skill。
项目身份:vercel-labs/agent-browser / agentcore
来源:https://github.com/vercel-labs/agent-browser/blob/53384771fbafc261ba67608ac806dd5aa70b84f0/skill-data/agentcore/SKILL.md
已定位的源文件:skill-data/agentcore/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。装好以后,具体怎么用?
准备哪些材料
- 需要可用 AWS 凭证:环境变量身份,或支持 SSO/IAM/profile 的 AWS CLI。默认区域为 us-east-1;账号权限与云资源费用需按实际环境确认。
会得到什么
- AWS 托管的浏览器会话及该任务实际截图或交互结果。
实际使用顺序
- 确认 AWS 身份能被解析;使用具名账户时指定 AWS_PROFILE,SSO 过期则先按对应 profile 登录。
- 运行
agent-browser -p agentcore open https://example.com创建云会话,随后 snapshot、click、screenshot 等沿用 core 流程。 - 需要保留 cookies/localStorage 时使用 AGENTCORE_PROFILE_ID;区域由 AGENTCORE_REGION 设置。会话结束运行 close,并查看实际输出的 Live View 或会话记录。
从一个具体任务开始
本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。
复制一个具体任务
教学示例:请使用我已配置的 AWS profile,在 AgentCore 云浏览器打开 example.com 并截图。先确认身份可用,不输出凭证;完成后关闭会话,汇报实际区域与文件路径。预期在 AWS 侧建立并关闭会话;身份失败时应报告 aws CLI、SSO 或环境凭证的具体问题。本站未执行。
使用条件与边界
- 持久 profile 保存登录状态,不能把其标识或访问链接当成可任意公开的测试材料。
- 默认会话超时为3600秒,可用 AGENTCORE_SESSION_TIMEOUT 调整;它不是永久运行服务。
常见问题
提示需要 aws sso login 怎么办?
源文件将它归为 SSO 凭证过期;对实际使用的 profile 刷新登录,再重试,而不是改网页脚本。
来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
- 中文使用说明
- 已针对下方源文件版本整理用途、用法和常见问题
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料
skill-data/agentcore/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Run agent-browser on AWS Bedrock AgentCore cloud browsers. Use when the user wants to use AgentCore, run browser automation on AWS, use a cloud browser with AWS credentials, or needs a managed browser session backed by AWS infrastructure. Triggers include "use agentcore", "run on AWS", "cloud browser with AWS", "bedrock browser", "agentcore session", or any task requiring AWS-hosted browser automation.
查看源文件章节 / Source sections
- 原文:AWS Bedrock AgentCore
- 设置 / Setup
- 原文:Core Workflow
- 原文:Environment Variables
- 原文:Persistent Profiles
- 原文:Live View
- 原文:Region Selection
- 原文:Credential Patterns
- 原文:Using with AGENT_BROWSER_PROVIDER
- 原文:Common Issues
原文:AWS Bedrock AgentCore
Run agent-browser on cloud browser sessions hosted by AWS Bedrock AgentCore. All standard agent-browser commands work identically; the only difference is where the browser runs.
设置 / Setup
Credentials are resolved automatically: 1. Environment variables (`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, optionally `AWS_SESSION_TOKEN`) 2. AWS CLI fallback (`aws configure export-credentials`), which supports SSO, IAM roles, and named profiles No additional setup is needed if the user already has working AWS credentials.
原文:Core Workflow
```bash # Open a page on an AgentCore cloud browser agent-browser -p agentcore open https://example.com # Everything else is the same as local Chrome agent-browser snapshot -i agent-browser click @e1 agent-browser screenshot page.png agent-browser close ```
原文:Environment Variables
| Variable | Description | Default | |----------|-------------|---------| | `AGENTCORE_REGION` | AWS region | `us-east-1` | | `AGENTCORE_BROWSER_ID` | Browser identifier | `aws.browser.v1` | | `AGENTCORE_PROFILE_ID` | Persistent browser profile (cookies, localStorage) | (none) | | `AGENTCORE_SESSION_TIMEOUT` | Session timeout in seconds | `3600` | | `AWS_PROFILE` | AWS CLI profile for credential resolution | `default` |
原文:Persistent Profiles
Use `AGENTCORE_PROFILE_ID` to persist browser state across sessions. This is useful for maintaining login sessions: ```bash # First run: log in AGENTCORE_PROFILE_ID=my-app agent-browser -p agentcore open https://app.example.com/login agent-browser snapshot -i agent-browser fill @e1 "user@example.com" agent-browser fill @e2 "password" agent-browser click @e3 agent-browser close # Future runs: already authenticated AGENTCORE_PROFILE_ID=my-app agent-browser -p agentcore open https://app.example.com/dashboard ```
原文:Live View
When a session starts, AgentCore prints a Live View URL to stderr. Open it in a browser to watch the session in real time from the AWS Console: ``` Session: abc123-def456 Live View: https://us-east-1.console.aws.amazon.com/bedrock-agentcore/browser/aws.browser.v1/session/abc123-def456# ```
文件 SHA256:f616b6dbce7cce388eb62701f254d87a78a3650a9c365db653fee1da3d7388a0
仓库许可证记录:Apache-2.0;repository-license-recorded-scope-unverified,查看来源。
Run agent-browser on AWS Bedrock AgentCore cloud browsers. Use when the user wants to use AgentCore, run browser automation on AWS, use a cloud browser with AWS credentials, or needs a managed browser session backed by AWS infrastructure. Triggers include "use agentcore", "run on AWS", "cloud browser with AWS", "bedrock browser", "agentcore session", or any task requiring AWS-hosted browser automation.
历史收录数据
| 来源仓库 | vercel-labs/agent-browser |
|---|---|
| Skill源路径 | skill-data/agentcore/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
