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
118 lines (106 loc) · 3.38 KB
/
pyproject.toml
File metadata and controls
118 lines (106 loc) · 3.38 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
111
112
113
114
115
116
117
118
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "agent-hypervisor"
version = "2.2.0"
description = "Community Edition — Agent Hypervisor: Runtime supervisor for multi-agent Shared Sessions with Execution Rings, Joint Liability, Saga Orchestration, and hash-chained audit trails"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{name = "Microsoft Corporation", email = "agt@microsoft.com"},
]
maintainers = [
{name = "Agent Governance Toolkit Team", email = "agt@microsoft.com"},
]
keywords = [
"ai", "agents", "hypervisor", "trust", "multi-agent",
"shared-sessions", "liability", "execution-rings", "saga",
"governance", "safety", "audit", "hash-chain",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
# Core: only pydantic required. Integration adapters use Protocol-based
# interfaces (duck typing), so external backends are optional.
dependencies = [
"pydantic>=2.4.0",
]
[project.optional-dependencies]
# Integration adapters (optional — hypervisor works standalone)
nexus = [
"structlog>=24.1.0",
]
api = [
"fastapi>=0.115.0",
"uvicorn>=0.27.0",
]
full = [
"agent-hypervisor[nexus]",
]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.0.0",
"hypothesis>=6.0.0",
"ruff>=0.4.0",
"mypy>=1.8.0",
"jsonschema>=4.0.0",
]
blockchain = [
"web3>=6.0.0", # Reserved for future blockchain anchoring — not yet used
]
observability = [
"agent-sre>=1.1.0", # PrometheusExporter bridge for RingMetricsCollector
]
otel = [
"opentelemetry-api>=1.20", # OTel span creation for SagaSpanExporter
]
[project.urls]
Homepage = "https://github.com/microsoft/agent-governance-toolkit"
Repository = "https://github.com/microsoft/agent-governance-toolkit"
Documentation = "https://github.com/microsoft/agent-governance-toolkit#readme"
"Bug Tracker" = "https://github.com/microsoft/agent-governance-toolkit/issues"
"Agent OS" = "https://github.com/microsoft/agent-governance-toolkit"
"Agent Mesh" = "https://github.com/microsoft/agent-governance-toolkit"
"Agent SRE" = "https://github.com/microsoft/agent-governance-toolkit"
[project.scripts]
hypervisor = "hypervisor.cli.session_commands:main"
[tool.hatch.build.targets.wheel]
packages = ["src/hypervisor"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-v --tb=short"
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "W", "B", "C4", "UP"]
ignore = [
"E501", # line too long (handled by formatter)
"E741", # ambiguous variable name
"B904", # raise-without-from-inside-except
"B017", # assert-raises-exception
"UP042", # str+Enum → StrEnum (needs py311+)
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/*" = ["F401"]
[tool.mypy]
python_version = "3.11"
strict = true
[tool.coverage.run]
source = ["src/hypervisor"]
branch = true