-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
152 lines (138 loc) · 4.42 KB
/
Copy pathpyproject.toml
File metadata and controls
152 lines (138 loc) · 4.42 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# ---------------------------------------------------------------------------
# Forge (AgentForge) — packaging & tooling configuration
# ---------------------------------------------------------------------------
[build-system]
requires = ["hatchling>=1.21"]
build-backend = "hatchling.build"
[project]
name = "agentforge-oss"
dynamic = ["version"]
description = "Forge — an open-source, enterprise-ready multi-agent orchestration platform with cost awareness, governance, and security built in."
readme = "README.md"
requires-python = ">=3.11,<3.14"
license = "Apache-2.0"
authors = [{ name = "sekacorn" }]
maintainers = [{ name = "sekacorn" }]
keywords = [
"agents",
"multi-agent",
"orchestration",
"llm",
"ai",
"anthropic",
"claude",
"openai",
"rag",
"observability",
"governance",
"enterprise",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
# Core dependencies are intentionally minimal to keep the supply-chain surface
# small. Provider SDKs (anthropic, openai) are optional extras and are imported
# lazily so the core remains usable with the built-in providers alone.
dependencies = [
"pydantic>=2.6",
"httpx>=0.27",
"typing-extensions>=4.10",
"rich>=13.7",
"typer>=0.12",
]
[project.optional-dependencies]
anthropic = ["anthropic>=0.20"]
openai = ["openai>=1.0"]
sqlite = ["aiosqlite>=0.19"]
otel = [
"opentelemetry-api>=1.20",
"opentelemetry-sdk>=1.20",
"opentelemetry-exporter-otlp-proto-grpc>=1.20",
]
pgvector = ["asyncpg>=0.29", "pgvector>=0.3"]
bedrock = ["boto3>=1.34"]
all = [
"anthropic>=0.20",
"openai>=1.0",
"aiosqlite>=0.19",
"opentelemetry-api>=1.20",
"opentelemetry-sdk>=1.20",
"opentelemetry-exporter-otlp-proto-grpc>=1.20",
"boto3>=1.34",
"asyncpg>=0.29",
"pgvector>=0.3",
]
docs = [
"mkdocs>=1.6",
"mkdocs-material>=9.5",
"mkdocs-minify-plugin>=0.8",
]
dev = [
"bandit>=1.7",
"build>=1.2",
"pip-audit>=2.7",
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"mypy>=1.10",
"ruff>=0.6",
"twine>=5.0",
]
[project.scripts]
forge = "forge.cli.main:app"
[project.urls]
Homepage = "https://github.com/sekacorn/AgentForge"
Documentation = "https://github.com/sekacorn/AgentForge#readme"
Repository = "https://github.com/sekacorn/AgentForge"
Issues = "https://github.com/sekacorn/AgentForge/issues"
Changelog = "https://github.com/sekacorn/AgentForge/blob/main/CHANGELOG.md"
[tool.hatch.version]
path = "forge/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["forge"]
[tool.hatch.build.targets.sdist]
include = ["forge", "README.md", "CHANGELOG.md", "LICENSE", "examples", "tests"]
# ---------------------------------------------------------------------------
# Ruff — linting & formatting
# ---------------------------------------------------------------------------
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["forge", "tests", "examples"]
[tool.ruff.lint]
select = ["E", "F", "I", "W", "B", "UP", "SIM", "C4", "ASYNC"]
ignore = ["E501"] # line length is handled by the formatter
[tool.ruff.lint.isort]
known-first-party = ["forge"]
# ---------------------------------------------------------------------------
# mypy — static typing
# ---------------------------------------------------------------------------
[tool.mypy]
python_version = "3.11"
strict = true
warn_unused_ignores = true
warn_redundant_casts = true
disallow_untyped_defs = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = ["anthropic.*", "openai.*", "aiosqlite.*", "opentelemetry.*", "boto3.*", "botocore.*", "asyncpg.*", "pgvector.*"]
ignore_missing_imports = true
# ---------------------------------------------------------------------------
# pytest
# ---------------------------------------------------------------------------
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-ra -q"
testpaths = ["tests"]
asyncio_mode = "auto"