[build-system] requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] # Published as freehand-ai because "freehand" is taken on PyPI; the command, the import package and the harness are # all called freehand. name = "freehand-ai" dynamic = ["version"] description = "An agent harness that leaves the decisions to the model, including what stays in its context." readme = "README.md" license = "MIT" license-files = ["LICENSE", "THIRD_PARTY_NOTICES.md"] authors = [{ name = "Microsoft Corporation" }] keywords = ["agent", "coding-agent", "llm", "cli", "chatgpt", "openai", "anthropic", "claude"] classifiers = [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Operating System :: MacOS", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", "Topic :: Software Development", ] requires-python = ">=3.10" # The runtime (src/freehand/runtime) stays stdlib-only and Python 3.9-compatible so it can run inside task # containers; anthropic is imported only when the Anthropic provider is used. dependencies = ["prompt_toolkit>=3.0.43", "rich>=13.7", "anthropic>=1.13"] [project.urls] Homepage = "https://github.com/microsoft/FreeHand" Issues = "https://github.com/microsoft/FreeHand/issues" [project.scripts] freehand = "freehand.cli:main" [project.optional-dependencies] dev = ["pytest>=8", "pyflakes>=3"] copilot = ["microsoft-copilot-sdk==2.0.6; python_version >= '3.11'"] [tool.setuptools.dynamic] version = { attr = "freehand.__version__" } [tool.setuptools.packages.find] where = ["src"] [tool.setuptools.package-data] freehand = ["prompt.md", "model-icons.json", "model-icons.LICENSE", "model-metadata.json", "runtime/*.sh", "web/*"] [tool.pytest.ini_options] pythonpath = ["src", "tests"] testpaths = ["tests"] markers = ["browser: requires a real Chrome/Chromium process"]