-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
164 lines (141 loc) · 4.67 KB
/
pyproject.toml
File metadata and controls
164 lines (141 loc) · 4.67 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
153
154
155
156
157
158
159
160
161
162
163
164
[project]
name = "agent-plane"
version = "0.1.5"
description = "MLflow AgentPlane — agent specification, runtime, server"
requires-python = ">=3.10"
dependencies = [
# Client SDK (headless HTTP/SSE) — used by the CLI, REPL, and
# onboarding flows. Lives at sdks/python-client/.
"agent-plane-client",
# UI SDK (terminal formatter + host) — required by the built-in
# REPL. Lives at sdks/frontend/.
"agent-plane-ui-sdk",
"alembic>=1.0,<2",
"anyio>=4.0,<5",
"cachetools>=5.0,<7",
"click>=8.0,<9",
"dbos>=1.0,<3",
"fastapi>=0.100,<1",
"httpx>=0.27,<1",
"mcp>=1.0,<2",
# pexpect: PTY-based subprocess control for the persistent terminal
# tool. Used to spawn bash subprocesses, send commands, and detect
# completion via OSC 633 markers. See
# designs/PERSISTENT_TERMINAL_RESEARCH.md.
"pexpect>=4.9,<5",
# pyte: in-process terminal emulator that consumes the raw PTY
# byte stream and maintains a rendered 2D screen. Used by the
# persistent-terminal tool so interactive programs (vim, less,
# htop) are addressable — agents read ``screen`` alongside the
# streaming ``recent_activity`` in ``check_task`` and
# ``terminal_send_input``. See
# designs/PERSISTENT_TERMINAL_RESEARCH.md §6.2.
"pyte>=0.8,<1",
"prompt_toolkit>=3.0",
"pydantic>=2.0,<3",
"pyyaml>=6.0,<7",
"rich>=13.0",
"sqlalchemy>=2.0,<3",
"tiktoken>=0.7,<1",
"uvicorn[standard]>=0.30,<1",
# Observability. mlflow-tracing is a standalone package (see
# https://github.com/mlflow/mlflow/tree/master/libs/tracing)
# that bundles opentelemetry-api/sdk/proto and provides the
# GenAI semconv translation, attachment API, and distributed
# tracing helpers we use. See designs/OBSERVABILITY.md.
"mlflow-tracing>=3.0",
"opentelemetry-exporter-otlp-proto-grpc>=1.20",
"opentelemetry-exporter-otlp-proto-http>=1.20",
"opentelemetry-instrumentation-fastapi",
"opentelemetry-instrumentation-httpx",
]
[project.optional-dependencies]
# LLM adapters (install the ones you need)
bedrock = ["boto3>=1.30,<2", "botocore>=1.30,<2"]
vertex = ["google-auth>=2.0,<3"]
litellm = ["litellm>=1.0,<2"]
# Executor backends
claude-sdk = ["claude-agent-sdk>=1.0,<2"]
# The OTel instrumentation package pulls the OpenAI Agents SDK
# into its own dep chain, so we gate it behind the same extra as
# the executor itself to avoid installing both on deployments that
# don't use this executor type.
agents-sdk = [
"openai-agents>=0.1,<1",
"opentelemetry-instrumentation-openai-agents-v2>=0.1",
]
# Storage backends
databricks = ["databricks-sdk>=0.40,<1", "psycopg[binary]>=3.1,<4"]
[project.scripts]
ap = "agent_plane.cli:cli"
agent-plane-acp = "integrations.toad.__main__:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["agent_plane*", "integrations*"]
[tool.setuptools.package-data]
# Ship alembic configuration and migration template with the wheel —
# required by db/utils.py:_run_migrations.
"agent_plane.db" = ["alembic.ini"]
"agent_plane.db.migrations" = ["script.py.mako"]
[tool.uv.workspace]
members = ["sdks/python-client", "sdks/frontend"]
[tool.uv.sources]
agent-plane-client = { workspace = true }
agent-plane-ui-sdk = { workspace = true }
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[tool.mypy]
python_version = "3.10"
strict = true
[[tool.mypy.overrides]]
module = "cachetools"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "litellm"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "httpx"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "boto3"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "botocore.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "google.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "claude_agent_sdk.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pexpect"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "mlflow.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "opentelemetry.instrumentation.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "agent_plane.repl.*"
disallow_untyped_defs = false
disallow_untyped_decorators = false
warn_return_any = false
check_untyped_defs = false
[[tool.mypy.overrides]]
module = "agent_plane_ui_sdk.*"
ignore_missing_imports = true
follow_imports = "skip"
[tool.pytest.ini_options]
asyncio_mode = "strict"
addopts = "--ignore=tests/e2e"
markers = [
"live: end-to-end tests requiring real LLM API key (run with --llm-api-key)",
]
[tool.ruff]
line-length = 99
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]