This repository was archived by the owner on Feb 6, 2026. It is now read-only.
forked from evalstate/fast-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (121 loc) · 3.11 KB
/
pyproject.toml
File metadata and controls
132 lines (121 loc) · 3.11 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
[project]
name = "fast-agent-mcp"
version = "0.2.14"
description = "Define, Prompt and Test MCP enabled Agents and Workflows"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Shaun Smith", email = "fastagent@llmindset.co.uk"},
{ name = "Sarmad Qadri", email = "sarmad@lastmileai.dev" }
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent"
]
requires-python = ">=3.10"
dependencies = [
"fastapi>=0.115.6",
"mcp==1.6.0",
"opentelemetry-distro>=0.50b0",
"opentelemetry-exporter-otlp-proto-http>=1.29.0",
"pydantic-settings>=2.7.0",
"pydantic>=2.10.4",
"pyyaml>=6.0.2",
"rich>=13.9.4",
"typer>=0.15.1",
"numpy>=2.2.1",
"scikit-learn>=1.6.0",
"anthropic>=0.49.0",
"openai>=1.63.2",
"prompt-toolkit>=3.0.50",
"aiohttp>=3.11.13",
"a2a-types>=0.1.0",
]
[project.optional-dependencies]
temporal = [
"temporalio>=1.8.0",
]
openai = [
"openai>=1.58.1",
]
dev = [
"anthropic>=0.42.0",
"pre-commit>=4.0.1",
"pydantic>=2.10.4",
"pyyaml>=6.0.2",
"ruff>=0.8.4",
"tomli>=2.2.1",
"pytest>=7.4.0",
"pytest-asyncio>=0.21.1",
"pytest-cov",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/mcp_agent"]
[tool.hatch.build]
include = [
"src/mcp_agent/**/*.py",
"src/mcp_agent/**/*.yaml",
"src/mcp_agent/**/*.yml",
"src/mcp_agent/**/*.csv",
"src/mcp_agent/**/*.txt",
"src/mcp_agent/**/*.example",
"examples/**/*.py",
"examples/**/*.yaml",
"examples/**/*.yml",
"examples/**/*.txt",
"examples/**/*.csv",
"examples/**/*.md",
"examples/**/*.css",
"examples/**/mount-point/*.csv",
"examples/workflows/short_story.txt",
"examples/mcp/**/*.py",
"examples/mcp/**/*.yaml",
"examples/mcp/**/*.example",
]
[tool.pytest.ini_options]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
markers = [
"e2e: tests that connect to external resources (llms)",
"integration: marks tests as integration tests",
"simulated_endpoints: marks tests that use simulated external endpoints"
]
# Other pytest options can go here too
testpaths = ["test", "integration_tests"]
[dependency-groups]
dev = [
"anthropic>=0.49.0",
"pre-commit>=4.0.1",
"pydantic>=2.10.4",
"pyyaml>=6.0.2",
"ruff>=0.8.4",
"tomli>=2.2.1",
"pytest>=7.4.0",
"pytest-asyncio>=0.21.1",
"pytest-cov>=6.1.1",
]
[project.scripts]
fast-agent = "mcp_agent.cli.__main__:app"
fastagent = "mcp_agent.cli.__main__:app"
silsila = "mcp_agent.cli.__main__:app"
prompt-server = "mcp_agent.mcp.prompts.__main__:main"
[tool.setuptools.package-data]
mcp_agent = []
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"TCH" # type checking
]
ignore=["E501"]
# More lenient settings for existing code
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN"] # Don't require type annotations in tests