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
deepcogito/cogito-v2.1-671b
Magnus Müllerf5f307f5c100
diff --git a/examples/models/openrouter.py b/examples/models/openrouter.pyindex e60139b04..e761fc2f2 100644--- a/examples/models/openrouter.py+++ b/examples/models/openrouter.py@@ -15,19 +15,20 @@ load_dotenv()# All the models are type safe from OpenAI in case you need a list of supported modelsllm = ChatOpenAI(- model='x-ai/grok-4',+ # model='x-ai/grok-4',+ model='deepcogito/cogito-v2.1-671b',base_url='https://openrouter.ai/api/v1',api_key=os.getenv('OPENROUTER_API_KEY'),)agent = Agent(- task='Go to example.com, click on the first link, and give me the title of the page',+ task='Find the number of stars of the browser-use repo',llm=llm,+ use_vision=False,)async def main():await agent.run(max_steps=10)- input('Press Enter to continue...')asyncio.run(main())