protected-vercel-deployments
Skill44k starsChanged 2 months agoApache-2.0View on GitHub
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.
- Reads credentials
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about vercel-labs/agent-browser
- @skorfmann.com“agent-browser from Vercel Labs: A Rust-powered CLI that gives AI agents browser superpowers. The snapshot …”Bluesky · Jan 17, 2026 · 27 likes
- @psoheil.bsky.social“Instead of relying on traditional browser automation scripts, Agent Browser gives AI agents a structured …”Bluesky · Nov 8, 2026 · 14 likes
- NixOS/nixpkgs“agent-browser: init at 0.23.3”GitHub · Mar 9, 2026 · 6 reactions
- anomalyco/opencode“How to serve and display images in web UI?”GitHub · Mar 5, 2026 · 5 reactions
- @jmcodes.bsky.social“As someone building AI-native products, Exa + agent-browser has become a core part of my agent's stack. Exa …”Bluesky · Feb 28, 2026 · 5 likes
The biggest 5 of 103 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 103
Talked about on GitHub, Bluesky and Hacker News (103 times).
On GitHub · 50
- Mar 9, 2026agent-browser: init at 0.23.3 — NixOS/nixpkgs6 reactions · 11 comments
- Mar 5, 2026How to serve and display images in web UI? — anomalyco/opencode5 reactions · 3 comments
- Jan 27, 2026Add agent-browser to default trusted dependencies — oven-sh/bun5 reactions · 2 comments
- Jun 28, 2026agent-browser: 0.27.0 -> 0.31.1 — NixOS/nixpkgs2 reactions · 5 comments
- May 18, 2026chore(deps): bump the npm_and_yarn group across 4 directories with 21 updates — HarleyCoops/hermes-agent2 reactions · 3 comments
45 more on GitHub
- Apr 30, 2026Agent fails with `Failed to start CDP` on Linux — `/json/version` returns 404 on default user-data-dir (Chromium 146 regression) — browseros-ai/BrowserOS2 reactions · 4 comments
- Feb 17, 2026Refactor mise skills report task alias — jey3dayo/dotfiles2 reactions · 2 comments
- Nov 21, 2026docs(skills): vendor complete Agent Browser skills and align QA — carterdea/dots1 reaction · 2 comments
- Nov 18, 2026feat: 浏览器基础技能适配与持续优先更新机制 — seaworld008/Commonly-used-high-value-skills1 reaction · 1 comment
- Oct 26, 2026[Feature]: Attach ego-browser to external Electron apps via CDP — citrolabs/ego-lite1 reaction
- Oct 21, 2026feature: better support for headless browser — demigodmode/pi-web-agent1 reaction · 1 comment
- Sep 21, 2026chore(deps): bump the development-minor-patch group across 1 directory with 8 updates — MarcosCamara01/ecommerce-template1 reaction · 2 comments
- Sep 14, 2026chore(deps): bump the development-minor-patch group with 7 updates — MarcosCamara01/ecommerce-template1 reaction · 2 comments
- Sep 8, 2026chore(deps): bump the development-minor-patch group with 9 updates — MarcosCamara01/ecommerce-template1 reaction · 3 comments
- Sep 3, 2026chore(deps): bump the minor-and-patch group with 14 updates — mcowger/plexus1 reaction
- Aug 20, 2026chore(deps): bump the minor-and-patch group across 1 directory with 9 updates — mcowger/plexus1 reaction · 1 comment
- Jul 20, 2026Support CloakBrowser as stealth Chromium backend for agent-browser skill — ahmadrosid/nakama1 reaction
- Jun 25, 2026[next-dev-loop] Fix some papercuts — vercel/next.js1 reaction · 2 comments
- May 11, 2026[BUG] Wrong .metadata.json after `skillshare update --all` — runkids/skillshare1 reaction · 2 comments
- May 6, 2026Split skill installs from hiring with new canManageSkills permission — paperclipai/paperclip1 reaction · 1 comment
- Mar 25, 2026Create a CLI for it check https://github.com/vercel-labs/agent-browser — appclawhq/AppClaw1 reaction · 1 comment
- Mar 23, 2026fix: prevent state commands from starting daemon without session_name (#677) — hyunjinee/agent-browser1 reaction · 1 comment
- Mar 9, 2026✨ feat(agent-browser): add browser automation skill and tool detection — lobehub/lobehub1 reaction · 4 comments
- Mar 9, 2026[security](deps-dev): bump agent-browser from 0.9.0 to 0.17.0 — jscraik/Design-System1 reaction · 2 comments
- Mar 4, 2026Compare with agent-browser — pinchtab/pinchtab1 reaction · 2 comments
- Feb 13, 2026chore(deps)(deps-dev): Bump the development-dependencies group with 18 updates — jscraik/Design-System1 reaction · 4 comments
- Jan 28, 2026chore(deps)(deps-dev): Bump the development-dependencies group across 1 directory with 21 updates — jscraik/Design-System1 reaction · 4 comments
- Jan 28, 2026Add Recommended Skills section with agent-browser — jellydn/my-ai-tools1 reaction · 2 comments
- Jan 28, 2026Add new sections for recommend skill, start with https://github.com/vercel-labs/agent-browser — jellydn/my-ai-tools1 reaction
- Nov 22, 2026Bump agent-browser from 0.27.0 to 0.43.0 in /business-desk — foralishalolz/hrmotorsedit0 reactions · 1 comment
- Nov 22, 2026Bump agent-browser from 0.42.0 to 0.43.0 in the npm group — HatimZafr/screen-relay0 reactions
- Nov 20, 2026chore(deps): bump agent-browser from 0.41.1 to 0.43.0 in /npm/agent-qa — rasmusjosefsson/agent-qa0 reactions · 1 comment
- Nov 19, 2026chore(deps): bump agent-browser from 0.39.2 to 0.43.0 — jaysteel-bit/Exo-AI0 reactions
- Nov 14, 2026agent-browser as a managed tier: not adopted, re-evaluation tracker — openabdev/openab-computer0 reactions · 6 comments
- Nov 12, 2026【总控】T-017 直控 node-3 浏览器自动化 PoC:P0 只读可行性核验(node-1) — xy3293/muse-hub0 reactions
- Nov 12, 2026Github trending [vercel-labs/agent-browser] 4.98万⭐ 给 Agent 的脚本化浏览器:页面读成无障碍树、元素挂 @e1 ref,一步一动作一验证 — web1992/github-trending0 reactions
- Nov 11, 2026Github trending [vercel-labs/agent-browser] 4.92万⭐ Vercel Agent 浏览器 CLI:snapshot + @e1 一步一验证,v0.42.0 出平台原生二进制 — web1992/github-trending0 reactions
- Nov 9, 2026chore(deps): bump agent-browser from 0.27.0 to 0.41.2 in /v3/@claude-flow/browser — clange78/Agents0 reactions · 1 comment
- Nov 8, 2026Github trending [vercel-labs/agent-browser] Vercel 出的 Agent 专用浏览器 CLI:Rust 原生,页面读成紧凑文本+@e1 元素引用,一条命令走一步,4.68万⭐ — web1992/github-trending0 reactions
- Nov 4, 2026nov 2026 — kimtth/azure-openai-llm-notes0 reactions
- Oct 17, 2026Context-aware plugin suggestions: frontend-design, Strix, agent-browser and AAS catalog — ErenTahiroglu/AI-Toolchain-Manager0 reactions
- Oct 10, 2026Research and select DID framework/blockchain platform — p2arthur/team-agent-bond0 reactions
- Oct 5, 2026Can't find Chrome installed in ~/Applications on macOS — 265866/agent-browser0 reactions
- Oct 5, 2026[bug] Windows ARM64 release asset missing — postinstall creates 0-byte placeholder causing "cannot run on this PC" dialog — 265866/agent-browser0 reactions · 1 comment
- Oct 5, 2026Window install failed from source — 265866/agent-browser0 reactions · 1 comment
- Oct 2, 2026Prevent unattended agent-browser sessions from exhausting host RAM and swap — alex-mextner/ha-configs-rs-bg-spomenik0 reactions · 1 comment
- Jul 29, 2026[Feature] 内置工具开关 — OpenMinis/OpenMinis0 reactions
- Jul 12, 2026Known issue: agent-browser clicks can miss wrapped inline links — lklyne/specular0 reactions
- Jul 11, 2026Explore using Vercel-Labs agent-browser to test a web GUI — jtigger/ai-zk0 reactions
- Jun 10, 2026Add 'browse' — jason-riddle/tools0 reactions
On Bluesky · 50
- Jan 17, 2026agent-browser from Vercel Labs: A Rust-powered CLI that gives AI agents browser superpowers. The snapshot command returns an accessibility… — @skorfmann.com27 likes and reposts · 3 replies
- Nov 8, 2026Instead of relying on traditional browser automation scripts, Agent Browser gives AI agents a structured way to navigate websites,… — @psoheil.bsky.social14 likes and reposts · 4 replies
- Feb 28, 2026As someone building AI-native products, Exa + agent-browser has become a core part of my agent's stack. Exa gets them the right docs fast,… — @jmcodes.bsky.social5 likes and reposts
- Jun 20, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 36,529 (+103) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social4 likes and reposts
- Nov 21, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★53194 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social3 likes and reposts
45 more on Bluesky
- Nov 7, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★46623 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social3 likes and reposts
- Aug 19, 2026📦 vercel-labs / agent-browser ⭐ 40,943 (+78) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social3 likes and reposts
- Jul 16, 2026📦 vercel-labs / agent-browser ⭐ 38,578 (+83) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social3 likes and reposts
- Jul 7, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★38008 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social3 likes and reposts
- May 9, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★32340 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social3 likes and reposts
- Nov 11, 2026今日のGitHubトレンド vercel-labs/agent-browser AIエージェント向けのブラウザ自動化ツールです。 Rust製のCLIを通じて、ページの閲覧や要素の操作をコマンド単位で実行できます。… — @dailygithubtrends.bsky.social2 likes and reposts
- Nov 7, 2026agent-browser — Browser automation CLI for AI agents Link: https://github.com/vercel-labs/agent-browser #OpenSource #GitHub #DevTools — @thestackradar.bsky.social2 likes and reposts
- Sep 5, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★41985 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social2 likes and reposts
- Aug 22, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★41098 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social2 likes and reposts
- Jul 22, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★38905 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social2 likes and reposts · 1 reply
- Jul 21, 2026📦 vercel-labs / agent-browser ⭐ 38,893 (+77) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social2 likes and reposts
- Jun 24, 2026📦 vercel-labs / agent-browser ⭐ 37,015 (+96) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social2 likes and reposts
- Jun 4, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 35,194 (+105) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social2 likes and reposts · 1 reply
- Mar 16, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★0 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social2 likes and reposts
- Feb 20, 2026Meet agent-browser, a CLI for automating web tasks for AI agents with a fast Rust binary and various commands for navigation and data… — @ai-linkstream.bsky.social2 likes and reposts
- Feb 2, 2026Today I learned - The agent-browser headless browser automation CLI for AI agents as a replacement for Playwright MCP. Developed by Vercel.… — @dimitristrechas.bsky.social2 likes and reposts
- Jan 14, 2026📢 vercel-labs/agent-browser: Browser automation CLI for AI agents #veille — @camilleroux.com2 likes and reposts
- Nov 10, 2026vercel-labs' agent-browser CLI lets AI agents interact with browsers via commands like open, click, and snapshot, using a background daemon… — @beyond-the-prompt.bsky.social1 likes and repost
- Nov 9, 2026今日のGitHubトレンド vercel-labs/agent-browser AIエージェントがブラウザを操作するためのRust製CLIツールです。 ページをアクセシビリティツリー形式のテキストで取得し、要素ごとの参照番号を用いてシェルから操作できます。… — @dailygithubtrends.bsky.social1 likes and repost · 1 reply
- Nov 1, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 45,093 (+112) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Oct 28, 2026📦 vercel-labs / agent-browser ⭐ 44,746 (+66) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Oct 24, 2026📦 vercel-labs / agent-browser ⭐ 44,513 (+49) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Oct 8, 2026📦 vercel-labs / agent-browser ⭐ 43,665 (+69) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Sep 23, 2026📦 vercel-labs / agent-browser ⭐ 43,104 (+70) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Sep 17, 2026📦 vercel-labs / agent-browser ⭐ 42,762 (+88) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Sep 9, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 42,286 (+134) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Sep 2, 2026📦 vercel-labs / agent-browser ⭐ 41,769 (+88) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Aug 11, 2026📦 vercel-labs / agent-browser ⭐ 40,403 (+73) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Aug 7, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★40134 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social1 likes and repost · 1 reply
- Aug 2, 2026📦 vercel-labs / agent-browser ⭐ 39,748 (+74) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Jul 29, 2026📦 vercel-labs / agent-browser ⭐ 39,472 (+89) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Jul 18, 2026🚀 GitHub Intelligence Drop agent-browser (Rust • 🟢) ⭐ 38.7K → https://github.com/vercel-labs/agent-browser lapce (Rust • 🟢) ⭐ 38.7K →… — @githubfeed.bsky.social1 likes and repost
- Jul 7, 2026📦 vercel-labs / agent-browser ⭐ 38,003 (+71) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Jun 1, 2026https://github.com/vercel-labs/agent-browser — @sigmanor.net1 likes and repost
- May 23, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 34,050 (+151) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- May 19, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 33,446 (+121) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- May 9, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / agent-browser ⭐ 32,360 (+196) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost
- Apr 5, 2026これ使ってみよう github.com/vercel-labs/... — @tomoyuki-mikami.bsky.social1 likes and repost
- Apr 4, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 vercel-labs / agent-browser ⭐ 26,826 (+421) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost · 1 reply
- Mar 31, 2026vercel-labs / agent-browser: Browser automation CLI for AI agents ★25774 https://github.com/vercel-labs/agent-browser — @rusttrending.bsky.social1 likes and repost
- Mar 24, 2026github.com/vercel-labs/... — @srcaballero.bsky.social1 likes and repost · 1 reply
- Mar 15, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 vercel-labs / agent-browser ⭐ 22,179 (+335) 🗒 Rust Browser automation CLI for AI agents — @github-trending-rs.bsky.social1 likes and repost · 1 reply
- Mar 3, 2026github.com/vercel-labs/... is brilliant — @yejun.dev1 likes and repost
- Feb 22, 2026https://github.com/vercel-labs/agent-browser — @tom-doerr.bsky.social1 likes and repost
- Jan 14, 2026AIエージェント向けのヘッドレスブラウザ自動化CLI。 RustのCLIとNode.jsデーモン(Playwrightを利用)で構成され、クライアント・デーモン構造で動作する。 アクセシビリティツリーからAI向けに最適… ""… — @azu.bsky.social1 likes and repost · 1 reply
On Hacker News · 3
- Jan 25, 2026Agent-Browser by Vercel Labs2 points
- Jan 13, 2026Agent-browser by Vercel: Browser automation CLI for AI agents2 points
- Jan 12, 2026Headless browser automation CLI for AI agents from Vercel2 points
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- examples/eve/AGENTS.mdAGENTS.md
- examples/eve/CLAUDE.mdCLAUDE.md
- agentcoreSkill
- coreSkill
- derive-clientSkill
- dogfoodSkill
- electronSkill
- slackSkill
- vercel-sandboxSkill
- webmcp-genSkill
- agent-browserSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use the caller's existing Vercel identity and a short-lived OIDC token.
- Distinctive: line 26
Create a named browser session, mint a development OIDC token with the Vercel CLI, then inject it without printing or persisting it:
- Distinctive: line 46
Never print the token, paste it into source, or save it in an environment file.
- Very specific: line 59
Stop and hand off the exact rule to the human.
- Very specific: line 82
Do not substitute x-vercel-oidc-token.
- Distinctive: line 110
Do not expose OIDC tokens, bypass secrets, authenticated URLs, or saved state in logs, screenshots, source files, or user-facing output.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Protected Vercel deployments
Use the caller's existing Vercel identity and a short-lived OIDC token. Do not disable Deployment Protection, make the deployment public, or ask for a static bypass secret first.
Same-project preview
A local development token for the target project can access that project's protected Preview deployments through the default Trusted Sources self-access rule. No Trusted Sources configuration is normally required.
Confirm the local identity and Vercel CLI version:
vc whoami
vc --versionRequire Vercel CLI 53.3.0 or newer before running vc project token. Versions 50.25.0 through 53.2.x write the token to stderr, so command substitution captures nothing and the credential can appear in logs. If the installed version is older, stop and ask the user to upgrade it. Do not attempt to capture or recover the token from stderr.
Set the target project and scope explicitly. If they cannot be inferred safely, ask the user. In a directory whose existing .vercel/project.json link has been verified against the target, vc project token without a project name is also valid. Do not run vc link merely to get an OIDC token: current Vercel CLI versions also pull development variables into .env.local when linking.
Create a named browser session, mint a development OIDC token with the Vercel CLI, then inject it without printing or persisting it:
export AGENT_BROWSER_SESSION="$(agent-browser session id --scope worktree --prefix vercel-preview)"
export VERCEL_PREVIEW_URL="https://my-app.vercel.app"
export VERCEL_PROJECT="my-app"
export VERCEL_SCOPE="my-team"
(
TOKEN="$(vc project token "$VERCEL_PROJECT" --scope "$VERCEL_SCOPE")"
test -n "$TOKEN"
agent-browser open "$VERCEL_PREVIEW_URL" --headers \
"{\"x-vercel-trusted-oidc-idp-token\":\"$TOKEN\"}"
)
agent-browser snapshot -iContinue the normal workflow in that same session. The header is scoped to the target origin and applies to the document, scripts, styles, fonts, and in-page requests. If the browser session is closed or restarted, repeat the authenticated open command.
Never print the token, paste it into source, or save it in an environment file.
Other environments and callers
Trusted Sources configuration is needed when:
- a local development token must reach a protected Production deployment;
- the caller belongs to another Vercel project or team;
- the target project's self-access rules were customized; or
- Vercel returns
TRUSTED_SOURCES_ENVIRONMENT_MISMATCH.
There is no supported Vercel CLI or public REST API for editing Trusted Sources rules. An authorized human must open the target project's Settings → Deployment Protection → Trusted Sources and add only the required caller and environment mapping. A local token has the development environment, so protected Production access requires development to production.
Stop and hand off the exact rule to the human. Do not use browser automation to change access control, and do not broaden unrelated environment mappings. Retry the authenticated open after the human confirms the rule is saved.
Human intervention boundaries
The same-project development to Preview path should run without human intervention when the Vercel CLI is already authenticated and the target project and scope are known. A human is needed only when:
- the Vercel CLI has no authenticated identity and no existing
VERCEL_TOKEN; interactivevc loginrequires the user; - the installed Vercel CLI is older than
53.3.0and must be upgraded before token minting; - the correct target project or scope cannot be inferred safely for token minting;
- a Trusted Sources rule must be added or changed; the dashboard is the only supported management surface, and this changes access control;
- Secure Backend Access with OIDC Federation was disabled on the calling project and must be re-enabled in Settings → Security; or
- the static-secret fallback must be enabled or rotated and the agent needs explicit authorization for that access-control change. After approval, the agent can use
vc project protectioninstead of requiring dashboard interaction.
The agent can diagnose each case and state the exact action required, then continue after the user confirms completion.
Use the correct header
Send the Vercel-issued token as:
x-vercel-trusted-oidc-idp-token: <VERCEL_OIDC_TOKEN>Do not substitute x-vercel-oidc-token. That header carries workload identity into a Vercel Function; it does not authenticate an inbound request through Deployment Protection.
Diagnose failures
- Redirect to
vercel.com/login: Deployment Protection did not accept the request. TRUSTED_SOURCES_ENVIRONMENT_MISMATCH: the token is valid, but its caller environment cannot reach the target environment.- Application
401or403after protection passes: debug the application's own authentication separately. - Application
404on a deliberately missing route: the request passed Deployment Protection and reached the application.
Static-secret fallback
Use Protection Bypass for Automation only when OIDC is not viable or the tool cannot send the Trusted Sources header. Enabling or rotating it changes access control, so obtain explicit authorization first. Create a dedicated secret so it can be rotated independently, keep it in an environment variable, and pass it as a header:
vc project protection enable <project> --protection-bypass \
--protection-bypass-secret "$VERCEL_AUTOMATION_BYPASS_SECRET"
agent-browser open "$VERCEL_PREVIEW_URL" --headers \
"{\"x-vercel-protection-bypass\":\"$VERCEL_AUTOMATION_BYPASS_SECRET\",\"x-vercel-set-bypass-cookie\":\"true\"}"The cookie directive creates a reusable _vercel_jwt cookie. Treat saved browser state containing that cookie as a credential.
Avoid dead ends
- There is no
vercel shareCLI command. Shareable Links are intended for people and are not the automation path. vercel curlis useful for HTTP requests, but it cannot render and interact with a page.- Deployment Protection Exceptions make the domain public. Do not use them merely to unblock an agent.
- Do not expose OIDC tokens, bypass secrets, authenticated URLs, or saved state in logs, screenshots, source files, or user-facing output.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

