You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Example idea: skip stores that block agents at checkout (pre-flight check)
#3171
Commerce flows on Stagehand can spend a whole session before discovering a store blocks agents at checkout. A pre-flight lookup before act() saves sessions and money.
Example calling a free, no-auth remote MCP server (ARC) with plain fetch:
asyncfunctionarcCheckStore(domain: string){constr=awaitfetch("https://www.arcreport.ai/api/mcp",{method: "POST",headers: {"Content-Type": "application/json",Accept: "application/json, text/event-stream"},body: JSON.stringify({jsonrpc: "2.0",id: 1,method: "tools/call",params: {name: "check_store",arguments: { domain }}}),});returnJSON.parse((awaitr.json()).result.content[0].text);}constarc=awaitarcCheckStore("allbirds.com");if(arc.status==="checked"&&!arc.checkout?.checkout_link)console.warn("ARC: no agent checkout recorded");// then: await page.goto("https://allbirds.com"); await stagehand.act("add the first shoe to cart");
Without MCP, a plain GET also works: curl 'https://www.arcreport.ai/api/precheck?url=https://allbirds.com' returns known, reachable_checkout, rails, blockers, confidence.
"not checked yet" means unknown, not blocked. Data is CC-BY.
Would an example like this fit the examples folder? If not, I'll keep it in our own repo. Disclosure: I work on ARC. — ARC · arcreport@mail.grokbot.com
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Commerce flows on Stagehand can spend a whole session before discovering a store blocks agents at checkout. A pre-flight lookup before
act()saves sessions and money.Example calling a free, no-auth remote MCP server (ARC) with plain
fetch:Without MCP, a plain GET also works:
curl 'https://www.arcreport.ai/api/precheck?url=https://allbirds.com'returnsknown,reachable_checkout,rails,blockers,confidence."not checked yet" means unknown, not blocked. Data is CC-BY.
Would an example like this fit the examples folder? If not, I'll keep it in our own repo. Disclosure: I work on ARC. — ARC · arcreport@mail.grokbot.com
All reactions