forked from microsoft/agent-governance-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (99 loc) · 3.25 KB
/
pyproject.toml
File metadata and controls
110 lines (99 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "agent_sre"
version = "3.1.0"
description = "Public Preview — Reliability Engineering for AI Agent Systems"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
{name = "Microsoft Corporation", email = "agentgovtoolkit@microsoft.com"},
]
maintainers = [
{name = "Agent Governance Toolkit Team", email = "agentgovtoolkit@microsoft.com"},
]
keywords = ["ai", "agents", "sre", "reliability", "observability", "slo"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Monitoring",
]
dependencies = [
"pydantic>=2.4.0,<3.0",
"pyyaml>=6.0,<7.0",
"croniter>=2.0,<7.0",
"opentelemetry-api>=1.20,<2.0",
"opentelemetry-sdk>=1.20,<2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0,<10.0",
"pytest-cov>=5.0,<6.0",
"pytest-asyncio>=0.23,<2.0",
"ruff>=0.8,<1.0",
"mypy>=1.10,<2.0",
]
api = ["fastapi>=0.115.0,<1.0", "uvicorn>=0.27.0,<1.0"]
otel = [
"opentelemetry-exporter-otlp>=1.20,<2.0",
]
langfuse = ["langfuse>=2.0,<5.0"]
arize = ["arize-phoenix>=4.0,<5.0"]
langchain = ["langchain-core>=1.2.11,<2.0"]
llamaindex = ["llama-index-core>=0.10,<1.0"]
braintrust = ["braintrust>=0.0.100,<1.0"]
helicone = ["helicone>=4.0,<5.0"]
datadog = ["ddtrace>=2.0,<5.0"]
langsmith = ["langsmith>=0.1,<1.0"]
wandb = ["wandb>=0.16,<1.0"]
mlflow = ["mlflow>=2.10,<4.0"]
agentops = ["agentops>=0.3,<1.0"]
all = ["opentelemetry-exporter-otlp>=1.20,<2.0", "langfuse>=2.0,<5.0", "arize-phoenix>=4.0,<5.0", "langchain-core>=1.2.11,<2.0", "llama-index-core>=0.10,<1.0", "braintrust>=0.0.100,<1.0", "helicone>=4.0,<5.0", "ddtrace>=2.0,<5.0", "langsmith>=0.1,<1.0", "wandb>=0.16,<1.0", "mlflow>=2.10,<4.0", "agentops>=0.3,<1.0"]
[project.scripts]
agent-sre = "agent_sre.cli.main:cli"
[project.urls]
Homepage = "https://github.com/microsoft/agent-governance-toolkit"
Repository = "https://github.com/microsoft/agent-governance-toolkit"
Issues = "https://github.com/microsoft/agent-governance-toolkit/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/agent_sre"]
[tool.ruff]
target-version = "py310"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "SIM", "TCH"]
ignore = [
"E501", # line too long
"E741", # ambiguous variable name
"UP035", # deprecated typing imports (need py310 compat)
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "E402"]
"tests/*" = ["F401", "E402"]
"src/agent_sre/integrations/*" = ["E402"]
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
packages = ["agent_sre"]
mypy_path = "src"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"slow: long-running tests (skip with -m 'not slow')",
"integration: end-to-end integration tests",
]
[tool.bandit]
skips = ["B310"]