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
console.print("\n▶️ [highlight] Using Agent to perform a task[/]: playing a game of 2048")
82
57
agent=stagehand.agent(
83
-
model=ANTHROPIC_MODEL,
84
-
instructions=(
85
-
"You are controlling a fullscreen local browser with the Anthropic computer-use tools. "
86
-
"Read the current page carefully, decide on your next action, and avoid asking follow-up questions."
87
-
),
88
-
options={"apiKey": anthropic_api_key}
58
+
model="gemini-2.5-computer-use-preview-10-2025",
59
+
instructions="You are a helpful web navigation assistant that helps users find information. You are currently on the following page: google.com. Do not ask follow up questions, the user will trust your judgement.",
0 commit comments