File size: 1,365 Bytes
ef5d585
 
 
 
 
 
 
 
 
 
 
 
 
a152b95
ef5d585
 
 
 
 
 
47c5b20
3542b5b
 
 
ef5d585
 
 
 
 
 
 
 
 
9d976db
ef5d585
a9d4375
 
 
6b9ce8b
 
 
ef5d585
9d976db
 
 
ef5d585
 
 
 
 
 
 
 
 
 
 
d15fbd3
ef5d585
 
 
 
 
 
 
 
d15fbd3
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
[project]
name = "agent-bench"
version = "0.1.0"
description = "Evaluation-first agentic RAG system built from API primitives"
requires-python = ">=3.11"
dependencies = [
    "anthropic>=0.40.0",
    "openai>=1.50.0",
    "fastapi>=0.115.0",
    "uvicorn[standard]>=0.30.0",
    "pydantic>=2.9.0",
    "pydantic-settings>=2.5.0",
    "pyyaml>=6.0",
    "sentence-transformers>=3.0.0,<5.0.0",
    "faiss-cpu>=1.8.0",
    "rank-bm25>=0.2.2",
    "structlog>=24.0.0",
    "httpx>=0.27.0",
    "simpleeval>=1.0.0",
    "numpy>=1.26.0",
    "psutil>=5.9.0",
    "langchain>=0.2.0,<1.0.0",
    "langchain-openai>=0.1.0",
    "langchain-anthropic>=0.1.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=8.0.0",
    "pytest-asyncio>=0.24.0",
    "ruff>=0.6.0",
    "mypy>=1.11.0",
    "respx>=0.21.0",
    "types-PyYAML",
]
modal = [
    "modal>=0.66.0",
]
ner = [
    "spacy>=3.7.0",
]

[tool.setuptools.packages.find]
include = ["agent_bench*"]

[build-system]
requires = ["setuptools>=69.0"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]

[tool.ruff]
target-version = "py311"
line-length = 100
extend-exclude = ["scripts/_dev"]

[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]

[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
exclude = ["scripts/_dev/"]