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

[project]
name = "agentforms"
version = "2.0.0"
description = "Python SDK for AgentForms — programmatic form lifecycle for AI agents"
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
dependencies = [
    "requests>=2.31.0",
    "pydantic>=2.0.0",
]

[project.optional-dependencies]
agent = [
    "crewai>=0.30.0",
    "langchain>=0.2.0",
]

[tool.hatch.build.targets.wheel]
packages = ["src/agentforms"]