-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) · 2.59 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (83 loc) · 2.59 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hai-agents"
version = "1.2.0"
description = "Python SDK for H Company's Agents API: autonomous agents powered by Holo."
requires-python = ">=3.10"
readme = "README.md"
authors = [{name = "H Company", email = "contact@hcompany.ai"}]
license = {text = "MIT"}
license-files = ["LICENSE"]
keywords = ["agent", "agents", "computer-use", "browser-use", "llm", "sdk", "h-company"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.23.0,<0.29.0",
"pydantic>=2.0,<3",
"typing_extensions>=4.6",
]
[project.optional-dependencies]
cli = [
"python-dotenv>=1.2.3,<2",
"rich>=15.0.0,<16",
"typer>=0.27.2,<1",
]
desktop = [
"hai-drivers[desktop]>=0.1.3",
]
browser = [
"hai-drivers[web]>=0.1.3",
]
workstation = [
"hai-drivers[browser-cli,cua-cli,desktop-cli]>=0.1.9",
]
all = [
"hai-agents[browser,cli,desktop,workstation]",
]
[project.scripts]
hai = "hai_agents_cli:main"
[project.urls]
Homepage = "https://hcompany.ai"
Repository = "https://github.com/hcompai/hai-agents-python"
Issues = "https://github.com/hcompai/hai-agents-python/issues"
Documentation = "https://hub.hcompany.ai/agents-api/introduction"
[tool.hatch.build.targets.wheel]
packages = ["src/hai_agents", "src/hai_agents_cli", "src/hai_agents_common", "src/hai_agents_local", "src/hai_agents_tools"]
[dependency-groups]
dev = [
"pytest>=9.1.1,<10",
"pytest-asyncio>=1.4.0,<2",
# Used only by tests/integration/ — read HAI_API_KEY_TEST when running locally.
"python-dotenv>=1.2.3,<2",
"rich>=15.0.0,<16",
"ruff==0.16.9",
"typer>=0.27.2,<1",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
# Generated code triggers many lints (missing docstrings, complex types). Apply only
# import sorting and formatting — strict lint is out of scope for generated code.
select = ["I"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra -q -m 'not integration'"
asyncio_mode = "auto"
markers = [
"integration: tests that hit a live Agents API backend (requires HAI_API_KEY_TEST)",
"slow: integration tests that consume significant tokens or wall-clock time"
]