Commit 7b3abb4
feat(deps)!: split ADK/server deps into optional [adk] extra
Bare `pip install agentex-sdk` now installs only the 6 deps the
Stainless-generated REST client actually needs (`httpx`, `pydantic`,
`typing-extensions`, `anyio`, `distro`, `sniffio`). Everything used by the
`agentex.lib.*` surface — CLI, ACP server, Temporal workflows, LLM provider
integrations, observability — moves to a single `[adk]` optional extra.
The current install behavior is recoverable with `pip install agentex-sdk[adk]`.
BREAKING CHANGE: consumers who rely on `agentex.lib.*` (CLI, ADK, fastacp,
temporal, providers) must switch from `agentex-sdk` to `agentex-sdk[adk]`.
The REST client surface (`from agentex import Agentex, AsyncAgentex`) is
unchanged and still works with a bare install.
Verified by building the wheel locally:
- `Requires-Dist` (base): 6
- `Requires-Dist; extra == 'adk'`: 31
- Bare install pulls ~6 packages instead of ~hundreds.
Stacked on AGX1-292 / #367 (drop unused deps).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b100da2 commit 7b3abb4
1 file changed
Lines changed: 50 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
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 | 21 | | |
50 | 22 | | |
51 | 23 | | |
| |||
70 | 42 | | |
71 | 43 | | |
72 | 44 | | |
73 | | - | |
| 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 | + | |
74 | 92 | | |
75 | 93 | | |
76 | 94 | | |
| |||
0 commit comments