Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

move comments closer to deps

Nick Sweetingbb635d2dabb7
diff --git a/pyproject.toml b/pyproject.toml
index 9de5a2fe5..d09ec02ce 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,14 +36,6 @@ dependencies = [
"psutil>=7.0.0",
"faiss-cpu>=1.10.0",
]
-
-# Optional dependencies for memory functionality
-[project.optional-dependencies]
-memory = [
- "mem0ai==0.1.91",
- "sentence-transformers>=4.0.2",
-]
-
# botocore: only needed for Bedrock Claude boto3 examples/models/bedrock_claude.py
# pydantic: >2.11 introduces many pydantic deprecation warnings until langchain-core upgrades their pydantic support lets keep it on 2.10
# google-api-core: only used for Google LLM APIs
@@ -52,7 +44,14 @@ memory = [
# screeninfo: only used to get screen resolution on Linux/Windows
# markdownify: used for page text content extraction for passing to LLM
# openai: datalib,voice-helpers are actually NOT NEEDED but openai produces noisy errors on exit without them TODO: fix
-# mem0ai and sentence-transformers: only used for memory functionality, moved to optional dependencies
+
+# Optional dependencies for memory functionality
+[project.optional-dependencies]
+memory = [
+ "mem0ai==0.1.91",
+ "sentence-transformers>=4.0.2",
+]
+
[project.urls]
Repository = "https://github.com/browser-use/browser-use"