Skip to content

The platform for continuously improving AI agents.

4.9 KB
Raw Blame
[project]
authors = [{ name = "Overmindlab.ai" }]
classifiers = [
    "License :: OSI Approved :: GNU Affero General Public License v3",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.13",
]
dependencies = [
    "openai>=1.0.0",
    "django>=6.0.8",
    "django-cors-headers>=4.9.0",
    "django-filter>=25.2",
    "cryptography>=50.0.0",
    "pyjwt>=2.15.0,<3",
    "djangorestframework>=3.18.2",
    "djangorestframework-simplejwt>=5.5.1",
    "drf-spectacular>=0.29.0",
    "httpx>=0.28.0",
    "uvicorn[standard]>=0.42.0",
    "protobuf>=6.33.5,<7",
    "opentelemetry-proto",
    "requests>=2.31.0",
    "tenacity>=9.0.0",
    "json-repair>=0.56.0",
    "celery[redis]>=5.6.0",
    "django-celery-beat>=2.7.0",
    "boto3>=1.38.0",
    "psycopg2-binary>=2.9.10",
    "clerk-backend-api>=5.0.6",
    # Overmind OTel SDK — internal pipeline observability (code analysis agent tracing)
    "overmind[tracing]>=0.1.120",
    "pandas>=2.2.0",
    "scikit-learn>=1.5.0",
    "scipy>=1.14.0",
    "python-json-logger>=3.3.0",
    "redis>=5.0.0",
    "django-storages>=1.14.6",
    "watchdog>=7.1.1",
    "modal>=1.6.4",
    # Only migration 0001 imports it, to replay the extension 0142 drops.
    "pgvector>=0.4.2",
    "genai-prices>=0.1.9",
    "django-debug-toolbar>=7.0.0",
    "stripe>=15.3.1",
    "newrelic>=13.4.0",
    "pyarrow>=17",
    "duckdb>=1.1",
    "pytz>=2026.2",
    "mcp>=1.26.0,<2",
    "gunicorn>=26.2.0",
    "uvicorn-worker>=0.4.0",
    "jsonschema>=4.26.0",
    "posthog>=7.84.2",
    "rapidfuzz>=3.14.6",
    "langdetect>=1.0.9",
    "datasketch>=2.0.0",
    "starlette>=1.6.0",
    "numpy>=2.0",
    "regex>=2026.7.19",
    "tiktoken>=0.14.0",
    "python-dateutil>=2.9.0",
    "pyyaml>=6.0.3",
    "unidecode>=1.4.0",
    "ftfy>=6.3.1",
    "simhash>=2.1.2",
    "emoji>=2.16.0",
    "langcodes>=3.5.1",
    "jellyfish>=1.2.1",
    "levenshtein>=0.27.5",
    "markdownify>=1.2.3",
    "beautifulsoup4>=4.15.0",
    "lxml>=6.1.3",
    "wordfreq>=3.1.1",
    "docling-slim[convert-core,format-docx,format-markdown,format-pdf-docling]>=2.131.0,<3",
    "pypdfium2>=5.0,<6",
    "matplotlib>=3.11.2",
    "orjson>=3.13.0",
    "openpyxl>=3.1.5",
    "temporalio==1.35.0",
    "langgraph>=1.2.22",
    "langgraph-checkpoint-postgres>=3.2.1",
    "psycopg[binary]>=3.3.9",
]
description = "Overbae — unified Django API for the Overclaw / Overmind platform"
license = { text = "AGPL-3.0" }
name = "bae"
readme = "README.md"
requires-python = ">=3.13"
version = "0.2.0"

[build-system]
build-backend = "hatchling.build"
requires      = ["hatchling"]

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.build.targets.wheel]
packages = ["overbae", "modal_shared", "sandbox", "agent_runtime", "workflows", "workshop_runtime"]

[dependency-groups]
dev = [
    "ruff>=0.12.0",
    "pre-commit>=4.5.1",
    "python-dotenv>=1.2.1",
    "modal>=1.6.4",
]
test = [
    "overmind[tracing]>=0.1.120",
    "jinja2>=3.1.0",
    "playwright>=1.63.0",
    "pytest>=7.4.0",
    "pytest-asyncio>=0.21.0",
    "pytest-cov>=4.1.0",
    "pytest-django>=4.11.0",
    "pytest-xdist>=3.8.0,<4",
    "responses>=0.26.3",
    "respx>=0.23.1",
    "time-machine>=3.5.1",
    "ipykernel>=7.4.0",
    "jupyter-client>=8.10.0",
]
test-e2e = [
    "pytest>=7.4.0",
    "pytest-asyncio>=0.21.0",
    "pytest-cov>=4.1.0",
    "pytest-html>=4.0",
]

[tool.ruff]
line-length = 100
target-version = "py313"
extend-exclude = [
    "overbae/migrations/*",
    "__pycache__/*",
    "merps",
    "experiments/*",
    # SDK has its own pyproject / ruff / CI job under overmind/
    "overmind",
]
# Enable autofix for lint and format.
fix = true

[tool.ruff.lint]
select = [
    "E",    # pycodestyle errors
    "F",    # Pyflakes
    "W",    # pycodestyle warnings
    "B",    # flake8-bugbear
    "I",    # isort
    "UP",   # pyupgrade
    "C4",   # flake8-comprehensions
    "N",    # pep8-naming
    "SIM",  # flake8-simplify
]
ignore = [
    "E501",    # Line too long (handled by formatter)
    "B008",    # Do not perform function calls in argument defaults
    "W191",    # Indentation contains tabs
    "C408"
]

[tool.ruff.lint.per-file-ignores]
# Sandbox sources: the runner injects json and re instead of allowing imports.
"overbae/innermind/checks/scripts/*.py" = ["F821"]

[tool.ruff.format]
quote-style = "double"

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
testpaths = ["tests"]
# Model-state tables instead of replaying the squashed migration (~4s/worker).
# Migration-specific tests opt into the migration executor explicitly.
addopts = "--nomigrations -p tests.journey_xdist -p tests.coverage_guard"
markers = ["load: capacity checks with wall-clock bounds; `make test-load` runs them"]

[tool.uv]
# aiohttp is transitive (litellm, modal); floor it for the CVE fix in 3.14.3.
constraint-dependencies = ["aiohttp>=3.14.3"]
override-dependencies = ["cryptography>=50.0.0"]


[tool.uv.workspace]
members = []