agentcore
यह क्या करती है
यह स्किल agent-browser को उसके ब्राउज़र सेशन Amazon की AgentCore क्लाउड सेवा पर चलाने देती है। यह उन लोगों के लिए है जो पहले से AWS इस्तेमाल करते हैं और मैनेज्ड क्लाउड ब्राउज़र चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप ब्राउज़र ऑटोमेशन अपने कंप्यूटर के बजाय AWS इन्फ़्रास्ट्रक्चर पर चलाना चाहें।
- ✓जब आपके पास पहले से AWS क्रेडेंशियल हों और आपको मैनेज्ड ब्राउज़र सेशन चाहिए।
- ✓जब आप चाहें कि ब्राउज़र प्रोफ़ाइल सेशन के बीच कुकीज़ और लॉगिन स्थिति रखे।
Skill का लिंक
https://github.com/vercel-labs/agent-browser/blob/main/skill-data/agentcore/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी ब्राउज़र जाँच AWS पर चलाइए, ताकि मेरे कंप्यूटर पर Chrome खुला न रखना पड़े।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह आपके AWS क्रेडेंशियल अपने-आप ढूँढता है, एक क्लाउड ब्राउज़र खोलता है, और फिर लोकल ब्राउज़र जैसे ही snapshot और click कमांड इस्तेमाल करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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:
- Environment variables (
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY, optionallyAWS_SESSION_TOKEN) - 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
# 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:
# 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#
Region Selection
# Default: us-east-1
agent-browser -p agentcore open https://example.com
# Explicit region
AGENTCORE_REGION=eu-west-1 agent-browser -p agentcore open https://example.com
Credential Patterns
# Explicit credentials (CI/CD, scripts)
export AWS_ACCESS_KEY_ID=AKIA...
export AWS_SECRET_ACCESS_KEY=...
agent-browser -p agentcore open https://example.com
# SSO (interactive)
aws sso login --profile my-profile
AWS_PROFILE=my-profile agent-browser -p agentcore open https://example.com
# IAM role / default credential chain
agent-browser -p agentcore open https://example.com
Using with AGENT_BROWSER_PROVIDER
Set the provider via environment variable to avoid passing -p agentcore on every command:
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
Common Issues
"Failed to run aws CLI" means AWS CLI is not installed or not in PATH. Either install it or set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY directly.
"AWS CLI failed: ... Run 'aws sso login'" means SSO credentials have expired. Run aws sso login to refresh them.
Session timeout: The default is 3600 seconds (1 hour). For longer tasks, increase with AGENTCORE_SESSION_TIMEOUT=7200.
अक्सर पूछे जाने वाले सवाल
क्या कुछ सेट करना पड़ता है?
अगर आपके AWS क्रेडेंशियल पहले से काम कर रहे हैं, तो स्किल के अनुसार अतिरिक्त सेटअप की ज़रूरत नहीं है।
कौन-सा AWS क्षेत्र इस्तेमाल होता है?
डिफ़ॉल्ट us-east-1 है, पर आप AGENTCORE_REGION सेटिंग से इसे बदल सकते हैं।
क्या सेशन लॉगिन याद रख सकते हैं?
हाँ। एक स्थायी प्रोफ़ाइल ID सेशन के बीच कुकीज़ और localStorage बनाए रख सकती है।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 45k
- रैंकिंग में स्थान
- #6355
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
technical-writer
45kआपके एजेंट को डेवलपर डॉक्स लिखना और सुधारना सिखाती है, जैसे गाइड, API रेफ़रेंस और समस्या-निवारण पेज, साफ़ ढाँचे और सही उदाहरणों के साथ।
core
45kआपके एजेंट को snapshot और एलिमेंट रेफ़रेंस से वेब ब्राउज़र चलाना सिखाती है, ताकि वह पेज खोल सके, क्लिक कर सके, फ़ॉर्म भर सके और सामग्री पढ़ सके।
derive-client
45kआपके एजेंट को एक बार वेबसाइट का नेटवर्क ट्रैफ़िक रिकॉर्ड करना सिखाती है, फिर एक स्वतंत्र क्लाइंट बनाती है जो बिना ब्राउज़र के उसकी इंटरनल API कॉल करता है।
dogfood
45kआपके एजेंट को वेब ऐप की खोजबीन करके उसे टेस्ट करना सिखाती है, और हर समस्या के लिए स्क्रीनशॉट और चरण-दर-चरण रिप्रो नोट्स वाली बग रिपोर्ट लिखती है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।