[build-system] requires = ["setuptools>=69"] build-backend = "setuptools.build_meta" [project] name = "cognitive-agent" version = "0.1.0" description = "Configuration-driven cognitive orchestration agent for in-vehicle actuators" requires-python = ">=3.11" dependencies = [ "jsonschema>=4.21", "pydantic>=2.6", "PyYAML>=6.0", "paho-mqtt>=2,<3", ] [project.optional-dependencies] api = ["fastapi>=0.110", "uvicorn>=0.27"] can = ["cantools>=39", "python-can>=4.3"] llm = ["openai>=1.30"] ir = ["pyserial>=3.5,<4"] speech = ["sherpa-onnx==1.13.6", "sherpa-onnx-bin==1.13.6"] test = ["pytest>=8", "pytest-cov>=5"] dev = ["mypy>=1.9", "ruff>=0.4"] [tool.setuptools.packages.find] where = ["src"] [tool.pytest.ini_options] testpaths = ["tests", "domains"] addopts = "--strict-markers" markers = [ "contract: public and domain contract tests", "integration: tests using a simulated CAN gateway", "hardware: tests requiring an approved vehicle or HIL bench", ] [tool.ruff] line-length = 100 target-version = "py311"