[project]
name = "agentic-workbench"
version = "0.1.0"
description = "MCP-based tool orchestrator with hierarchical navigation"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "Philipp Briese" }]
dependencies = [
"mcp[cli]>=1.0.0",
"httpx>=0.27.0",
"pyyaml>=6.0",
"typer>=0.12.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"rich>=13.0.0",
]
[project.optional-dependencies]
dev = [
# Testing
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
# Linting & Formatting
"ruff>=0.8.0",
# Type Checking
"mypy>=1.13.0",
# Git Hooks
"pre-commit>=4.0.0",
# Documentation
"mkdocs>=1.6.0",
"mkdocs-material>=9.5.0",
"mkdocstrings[python]>=0.26.0",
]
[project.scripts]
awb = "agentic_workbench.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# ============================================
# Ruff - Linting & Formatting (all-in-one)
# ============================================
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort (import sorting)
"N", # pep8-naming
"UP", # pyupgrade (Python version upgrades)
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"PTH", # flake8-use-pathlib
"RUF", # Ruff-specific rules
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["agentic_workbench"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
# ============================================
# Pytest
# ============================================
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = [
"-v",
"--tb=short",
"--strict-markers",
]
# ============================================
# Coverage
# ============================================
[tool.coverage.run]
source = ["src/agentic_workbench"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
# ============================================
# Mypy - Static Type Checking
# ============================================
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
[[tool.mypy.overrides]]
module = [
"mcp.*",
"yaml",
]
ignore_missing_imports = true