[tool.poetry] name = "openhands-ai" version = "0.36.0" description = "OpenHands: Code Less, Make More" authors = ["OpenHands"] license = "MIT" readme = "README.md" repository = "https://github.com/All-Hands-AI/OpenHands" packages = [ { include = "openhands/**/*" }, { include = "pyproject.toml", to = "openhands" }, { include = "poetry.lock", to = "openhands" } ] [tool.poetry.dependencies] python = "^3.12" litellm = "^1.60.0, !=1.64.4" # avoid 1.64.4 (known bug) aiohttp = ">=3.9.0,!=3.11.13" # Pin to avoid yanked version 3.11.13 google-generativeai = "*" # To use litellm with Gemini Pro API google-api-python-client = "^2.164.0" # For Google Sheets API google-auth-httplib2 = "*" # For Google Sheets authentication google-auth-oauthlib = "*" # For Google Sheets OAuth termcolor = "*" docker = "*" fastapi = "*" toml = "*" uvicorn = "*" types-toml = "*" numpy = "*" json-repair = "*" browsergym-core = "0.13.3" # integrate browsergym-core as the browsing interface html2text = "*" e2b = ">=1.0.5,<1.4.0" pexpect = "*" jinja2 = "^3.1.3" python-multipart = "*" boto3 = "*" minio = "^7.2.8" tenacity = ">=8.5,<10.0" zope-interface = "7.2" pathspec = "^0.12.1" google-cloud-aiplatform = "*" anthropic = {extras = ["vertex"], version = "*"} tree-sitter = "^0.24.0" bashlex = "^0.18" pyjwt = "^2.9.0" dirhash = "*" python-frontmatter = "^1.1.0" python-docx = "*" PyPDF2 = "*" python-pptx = "*" pylatexenc = "*" tornado = "*" python-dotenv = "*" pylcs = "^0.1.1" whatthepatch = "^1.0.6" protobuf = "^4.21.6,<5.0.0" # chromadb currently fails on 5.0+ opentelemetry-api = "1.25.0" opentelemetry-exporter-otlp-proto-grpc = "1.25.0" modal = ">=0.66.26,<0.75.0" runloop-api-client = "0.32.0" libtmux = ">=0.37,<0.40" pygithub = "^2.5.0" joblib = "*" openhands-aci = "0.2.12" python-socketio = "^5.11.4" redis = "^5.2.0" sse-starlette = "^2.1.3" psutil = "*" stripe = ">=11.5,<13.0" ipywidgets = "^8.1.5" qtconsole = "^5.6.1" memory-profiler = "^0.61.0" daytona-sdk = "0.15.0" mcp = "1.7.1" python-json-logger = "^3.2.1" playwright = "^1.51.0" prompt-toolkit = "^3.0.50" mcpm = "1.8.0" poetry = "^2.1.2" anyio = "4.9.0" [tool.poetry.group.dev.dependencies] ruff = "0.11.8" mypy = "1.15.0" pre-commit = "4.2.0" build = "*" [tool.poetry.group.test.dependencies] pytest = "*" pytest-cov = "*" pytest-asyncio = "*" pytest-forked = "*" pytest-xdist = "*" openai = "*" pandas = "*" reportlab = "*" gevent = ">=24.2.1,<26.0.0" [tool.coverage.run] concurrency = ["gevent"] [tool.poetry.group.runtime.dependencies] jupyterlab = "*" notebook = "*" jupyter_kernel_gateway = "*" flake8 = "*" [build-system] build-backend = "poetry.core.masonry.api" requires = [ "poetry-core", ] [tool.autopep8] # autopep8 fights with mypy on line length issue ignore = [ "E501" ] [tool.black] # prevent black (if installed) from changing single quotes to double quotes skip-string-normalization = true [tool.ruff.lint] select = ["D"] # ignore warnings for missing docstrings ignore = ["D1"] [tool.ruff.lint.pydocstyle] convention = "google" [tool.poetry.group.evaluation.dependencies] streamlit = "*" whatthepatch = "*" retry = "*" evaluate = "*" swebench = "^3.0.8" swegym = { git = "https://github.com/SWE-Gym/SWE-Bench-Package.git" } commit0 = "*" func_timeout = "*" sympy = "*" gdown = "*" matplotlib = "*" seaborn = "*" tabulate = "*" browsergym = "0.13.3" browsergym-webarena = "0.13.3" browsergym-miniwob = "0.13.3" browsergym-visualwebarena = "0.13.3" boto3-stubs = {extras = ["s3"], version = "^1.37.19"} pyarrow = "20.0.0" # transitive dependency, pinned here to avoid conflicts datasets = "*" [tool.poetry-dynamic-versioning] enable = true style = "semver" [tool.poetry.scripts] openhands = "openhands.core.cli:main" [tool.poetry.group.testgeneval.dependencies] fuzzywuzzy = "^0.18.0" rouge = "^1.0.1" python-levenshtein = ">=0.26.1,<0.28.0" tree-sitter-python = "^0.23.6"