Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Rewriting AgentHookFunc definition as AgentHookFunc = Callable[['Agent'], None]
Carlos Andrés Planchón Prestes5f20a1c994cf
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex 779008c59..5aa8e943d 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -80,7 +80,7 @@ def log_response(response: AgentOutput) -> None:Context = TypeVar('Context')-AgentHookFunc = Callable+AgentHookFunc = Callable[['Agent'], None]class Agent(Generic[Context]):