Skip to content

A programming framework for agentic AI

1.9 KB
Raw Blame
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "autogenstudio"
authors = [
  { name="AutoGen Team", email="[email protected]" },
]
description = "AutoGen Studio"
readme = "README.md"
license = {file = "LICENSE-CODE"}
requires-python = ">=3.9"
classifiers = [
    "Programming Language :: Python :: 3",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
]

dependencies = [
    "pydantic",
    "pydantic-settings",
    "fastapi[standard]",
    "typer", 
    "aiofiles",
    "python-dotenv",
    "websockets", 
    "sqlmodel",
    "psycopg",
    "alembic",
    "loguru",
    "pyyaml",
    "html2text",
    "autogen-core>=0.4.9.2,<0.7",
    "autogen-agentchat>=0.4.9.2,<0.7",
    "autogen-ext[magentic-one, openai, azure, mcp]>=0.4.2,<0.7",
    "anthropic",
    "mcp>=1.11.0"
]
optional-dependencies = {web = ["fastapi", "uvicorn"], database = ["psycopg"]}

dynamic = ["version"]

[tool.hatch.version]
path = "autogenstudio/version.py"

[tool.hatch.build.targets.wheel]
packages = ["autogenstudio"]

[tool.hatch.build.targets.sdist]
include = [
    "autogenstudio/**",
]
exclude = [
    "*.tests*",
]

[tool.pytest.ini_options]
filterwarnings = [
    "ignore:Deprecated call to `pkg_resources\\.declare_namespace\\('.*'\\):DeprecationWarning",
    "ignore::DeprecationWarning:google.rpc",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"


[project.urls]
"Homepage" = "https://github.com/microsoft/autogen"
"Bug Tracker" = "https://github.com/microsoft/autogen/issues"

[project.scripts]
autogenstudio = "autogenstudio.cli:run"


[tool.ruff]
extend = "../../pyproject.toml"
exclude = ["build", "dist"]
include = [
    "autogenstudio/**"
]

[tool.ruff.lint]
ignore = ["B008"]


[tool.poe.tasks]
fmt = "ruff format"
format.ref = "fmt"
lint = "ruff check"
test = "pytest -n 0 --cov=autogenstudio --cov-report=term-missing"