[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "agent-mcts" dynamic = ["version"] description = "Turn any coding agent into a tree-searching agent — an MCTS test-time search harness for Claude Code, Codex CLI, Kimi CLI, and more." readme = "README.md" license = "MIT" license-files = ["LICENSE"] authors = [{ name = "natsu0529" }] requires-python = ">=3.11" dependencies = [ "pydantic>=2.7", "rich>=13.7", "typer>=0.12", ] keywords = [ "mcts", "monte-carlo-tree-search", "llm", "agents", "coding-agent", "test-time-search", "claude-code", ] classifiers = [ "Development Status :: 2 - Pre-Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development", "Typing :: Typed", ] [project.urls] Homepage = "https://github.com/natsu0529/agent-mcts" Repository = "https://github.com/natsu0529/agent-mcts" Issues = "https://github.com/natsu0529/agent-mcts/issues" [project.scripts] agent-mcts = "agent_mcts.cli:app" [tool.hatch.version] path = "src/agent_mcts/__init__.py" [dependency-groups] dev = [ "pyright>=1.1.390", "pytest>=8.3", "ruff>=0.8", ] [tool.ruff] target-version = "py311" line-length = 100 [tool.ruff.lint] select = [ "E", # pycodestyle "F", # pyflakes "I", # isort "UP", # pyupgrade "B", # bugbear "SIM", # simplify "RUF", # ruff-specific ] [tool.pyright] include = ["src", "tests"] typeCheckingMode = "strict" [tool.pytest.ini_options] testpaths = ["tests"] addopts = "-q" # Leaked subprocess pipes surface as "Event loop is closed" from a finalizer, which # pytest reports as an unraisable-exception warning. That is a real bug in how we tear # down killed process trees, so it must fail the suite rather than scroll past. filterwarnings = ["error::pytest.PytestUnraisableExceptionWarning"]