Communitygithub.com

vercel-labs/agentcore

AWS Bedrock AgentCore 클라우드 브라우저에서 agent-browser를 실행합니다. 사용자가 AgentCore를 사용하려 하거나, AWS에서 브라우저 자동화를 실행하거나, AWS 자격 증명으로 클라우드 브라우저를 사용해야 할 때, 또는 AWS 인프라가 지원하는 관리형 브라우저 세션이 필요할 때 사용합니다.

agentcore란 무엇인가요?

이 스킬은 agent-browser 도구를 AWS Bedrock AgentCore가 호스팅하는 클라우드 브라우저 세션에서 실행할 수 있게 해줍니다. 기존의 모든 agent-browser 명령어가 동일하게 작동하며, 유일한 차이는 브라우저가 로컬이 아닌 AWS 인프라에서 실행된다는 점입니다. AWS 자격 증명은 환경 변수, AWS CLI, 또는 SSO를 통해 자동으로 확인되므로 추가 설정이 거의 필요하지 않습니다. 영구 프로필(AGENTCORE_PROFILE_ID)을 사용하면 로그인 세션과 같은 브라우저 상태를 여러 세션에 걸쳐 유지할 수 있으며, 실시간 보기 기능을 통해 AWS 콘솔에서 브라우저 세션을 실시간으로 관찰할 수 있습니다. 이 스킬은 지속적인 관리형 브라우저 환경이 필요한 개발자, CI/CD 파이프라인, 또는 대규모 웹 자동화 작업에 특히 유용합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/vercel-labs/agent-browser/tree/main/skill-data/agentcore

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

AWS Bedrock AgentCore

AWS Bedrock AgentCore가 호스팅하는 클라우드 브라우저 세션에서 agent-browser를 실행합니다. 모든 표준 agent-browser 명령어가 동일하게 작동하며, 유일한 차이는 브라우저가 실행되는 위치입니다.

설정

자격 증명은 자동으로 확인됩니다.

  1. 환경 변수 (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, 선택적으로 AWS_SESSION_TOKEN)
  2. AWS CLI 대체 (aws configure export-credentials) - SSO, IAM 역할, 명명된 프로필 지원

사용자에게 이미 유효한 AWS 자격 증명이 있다면 추가 설정이 필요하지 않습니다.

핵심 워크플로

# AgentCore 클라우드 브라우저에서 페이지 열기
agent-browser -p agentcore open https://example.com

# 나머지는 로컬 Chrome과 동일
agent-browser snapshot -i
agent-browser click @e1
agent-browser screenshot page.png
agent-browser close

환경 변수

변수설명기본값
AGENTCORE_REGIONAWS 리전us-east-1
AGENTCORE_BROWSER_ID브라우저 식별자aws.browser.v1
AGENTCORE_PROFILE_ID영구 브라우저 프로필 (쿠키, localStorage)(없음)
AGENTCORE_SESSION_TIMEOUT세션 시간 초과 (초)3600
AWS_PROFILE자격 증명 확인용 AWS CLI 프로필default

영구 프로필

AGENTCORE_PROFILE_ID를 사용하여 여러 세션에 걸쳐 브라우저 상태를 유지할 수 있습니다. 로그인 세션을 유지하는 데 유용합니다.

# 첫 번째 실행: 로그인
AGENTCORE_PROFILE_ID=my-app agent-browser -p agentcore open https://app.example.com/login
agent-browser snapshot -i
agent-browser fill @e1 "[email protected]"
agent-browser fill @e2 "password"
agent-browser click @e3
agent-browser close

# 이후 실행: 이미 인증됨
AGENTCORE_PROFILE_ID=my-app agent-browser -p agentcore open https://app.example.com/dashboard

실시간 보기

세션이 시작되면 AgentCore가 Live View URL을 stderr로 출력합니다. 브라우저에서 이 URL을 열면 AWS 콘솔에서 세션을 실시간으로 볼 수 있습니다.

Session: abc123-def456
Live View: https://us-east-1.console.aws.amazon.com/bedrock-agentcore/browser/aws.browser.v1/session/abc123-def456#

리전 선택

# 기본값: us-east-1
agent-browser -p agentcore open https://example.com

# 명시적 리전
AGENTCORE_REGION=eu-west-1 agent-browser -p agentcore open https://example.com

자격 증명 패턴

# 명시적 자격 증명 (CI/CD, 스크립트)
export AWS_ACCESS_KEY_ID=AKIA...
export AWS_SECRET_ACCESS_KEY=...
agent-browser -p agentcore open https://example.com

# SSO (대화형)
aws sso login --profile my-profile
AWS_PROFILE=my-profile agent-browser -p agentcore open https://example.com

# IAM 역할 / 기본 자격 증명 체인
agent-browser -p agentcore open https://example.com

AGENT_BROWSER_PROVIDER와 함께 사용하기

환경 변수를 통해 제공자를 설정하면 모든 명령에 -p agentcore를 전달하지 않아도 됩니다.

export AGENT_BROWSER_PROVIDER=agentcore
export AGENTCORE_REGION=us-east-2

agent-browser open https://example.com
agent-browser snapshot -i
agent-browser click @e1
agent-browser close

일반적인 문제

**"Failed to run aws CLI"**는 AWS CLI가 설치되지 않았거나 PATH에 없음을 의미합니다. AWS CLI를 설치하거나 AWS_ACCESS_KEY_ID와 AWS_SECRET_ACCESS_KEY를 직접 설정하세요.

**"AWS CLI failed: ... Run 'aws sso login'"**는 SSO 자격 증명이 만료되었음을 의미합니다. aws sso login을 실행하여 갱신하세요.

세션 시간 초과: 기본값은 3600초(1시간)입니다. 더 긴 작업의 경우 AGENTCORE_SESSION_TIMEOUT=7200으로 늘리세요.

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to

vercel-labs/derive-client

Reverse-engineer a website's internal API by recording browser traffic into a HAR file, then generate a standalone client or CLI that calls the endpoints directly, with no browser needed after the first recording. Use when asked to "derive a client", "build a CLI for <site>", "reverse engineer this site's API", "record network requests", "turn this site into an API", or when the same site will be automated repeatedly and direct HTTP calls would beat driving the browser every time.

vercel-labs/dogfood

Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.

vercel-labs/electron

Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.

vercel-labs/protected-vercel-deployments

Access and test Vercel deployments protected by Vercel Authentication, SSO, or Deployment Protection with agent-browser. Use when a preview or production URL redirects to a Vercel login page, returns a protection 401 or 403, or needs short-lived Trusted Sources OIDC authentication instead of a static bypass secret or public exception.

vercel-labs/slack

Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include "check my Slack", "what channels have unreads", "send a message to", "search Slack for", "extract from Slack", "find who said", or any task requiring programmatic Slack interaction.

vercel-labs/vercel-sandbox

Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include "Vercel Sandbox browser", "microVM Chrome", "agent-browser in sandbox", "browser automation on Vercel", or any task requiring Chrome in a Vercel Sandbox.

vercel-labs/webmcp-gen

Build and validate experimental WebMCP tools for an existing web page. Use when an agent needs to expose a site's real workflows as page tools, create webmcp.init.js, define deterministic checks, or compare WebMCP with accessibility-tree automation.

관련 스킬