aip-agents-binary 0.5.25__py3-none-macosx_13_0_arm64.whl → 0.5.25b8__py3-none-macosx_13_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,10 +8,10 @@ This script demonstrates:
8
8
 
9
9
  Prerequisites:
10
10
  Start the server first:
11
- poetry run python -m aip_agents.examples.compare_streaming_server
11
+ uv run python -m aip_agents.examples.compare_streaming_server
12
12
 
13
13
  Then run this client:
14
- poetry run python -m aip_agents.examples.compare_streaming_client
14
+ uv run python -m aip_agents.examples.compare_streaming_client
15
15
 
16
16
  Authors:
17
17
  AI Agent Platform Team
@@ -6,7 +6,7 @@ This server provides an agent with:
6
6
 
7
7
  To run this server:
8
8
  cd libs/aip_agents
9
- poetry run python -m aip_agents.examples.compare_streaming_server
9
+ uv run python -m aip_agents.examples.compare_streaming_server
10
10
 
11
11
  It will listen on http://localhost:18999 by default.
12
12
 
@@ -1,10 +1,10 @@
1
1
  """A2A client for the planning LangGraphReactAgent.
2
2
 
3
3
  Run the planning server first:
4
- poetry run python -m aip_agents.examples.todolist_planning_a2a_langgraph_server
4
+ uv run python -m aip_agents.examples.todolist_planning_a2a_langgraph_server
5
5
 
6
6
  Then run this client:
7
- poetry run python -m aip_agents.examples.todolist_planning_a2a_langchain_client
7
+ uv run python -m aip_agents.examples.todolist_planning_a2a_langchain_client
8
8
 
9
9
  You should see streaming output, including when write_todos_tool is called.
10
10
  """
@@ -1,7 +1,7 @@
1
1
  """A2A server exposing a LangGraphReactAgent with planning (TodoListMiddleware).
2
2
 
3
3
  Run:
4
- poetry run python -m aip_agents.examples.todolist_planning_a2a_langgraph_server \
4
+ uv run python -m aip_agents.examples.todolist_planning_a2a_langgraph_server \
5
5
  --host localhost --port 8002
6
6
 
7
7
  Then connect with the matching A2A client to observe write_todos_tool calls.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aip-agents-binary
3
- Version: 0.5.25
3
+ Version: 0.5.25b8
4
4
  Summary: A library for managing agents in Gen AI applications.
5
5
  Author-email: Raymond Christopher <raymond.christopher@gdplabs.id>
6
6
  Requires-Python: <3.13,>=3.11
@@ -27,6 +27,16 @@ Requires-Dist: pydantic<3.0.0,>=2.11.7
27
27
  Requires-Dist: python-dotenv<2.0.0,>=1.1.0
28
28
  Requires-Dist: requests<3.0.0,>=2.32.4
29
29
  Requires-Dist: uvicorn<0.35.0,>=0.34.3
30
+ Provides-Extra: dev
31
+ Requires-Dist: coverage<8.0.0,>=7.4.4; extra == "dev"
32
+ Requires-Dist: mypy<2.0.0,>=1.15.0; extra == "dev"
33
+ Requires-Dist: pre-commit<4.0.0,>=3.7.0; extra == "dev"
34
+ Requires-Dist: pytest<9.0.0,>=8.1.1; extra == "dev"
35
+ Requires-Dist: pytest-asyncio<0.24.0,>=0.23.6; extra == "dev"
36
+ Requires-Dist: pytest-cov<6.0.0,>=5.0.0; extra == "dev"
37
+ Requires-Dist: pytest-xdist>=3.8.0; extra == "dev"
38
+ Requires-Dist: ruff<0.7.0,>=0.6.7; extra == "dev"
39
+ Requires-Dist: pillow<12.0.0,>=11.3.0; extra == "dev"
30
40
  Provides-Extra: memory
31
41
  Requires-Dist: gllm-memory-binary[mem0ai]<0.2.0,>=0.1.1; extra == "memory"
32
42
  Provides-Extra: privacy
@@ -45,16 +55,6 @@ Requires-Dist: unidecode<2.0.0,>=1.3.0; extra == "local"
45
55
  Requires-Dist: gllm-docproc-binary[docx,pdf,xlsx]<0.8.0,>=0.7.21; extra == "local"
46
56
  Requires-Dist: gllm-multimodal-binary==0.2.0.post1; extra == "local"
47
57
  Requires-Dist: bosa-connectors-binary<0.4.0,>=0.3.1; extra == "local"
48
- Provides-Extra: dev
49
- Requires-Dist: coverage<8.0.0,>=7.4.4; extra == "dev"
50
- Requires-Dist: mypy<2.0.0,>=1.15.0; extra == "dev"
51
- Requires-Dist: pre-commit<4.0.0,>=3.7.0; extra == "dev"
52
- Requires-Dist: pytest<9.0.0,>=8.1.1; extra == "dev"
53
- Requires-Dist: pytest-asyncio<0.24.0,>=0.23.6; extra == "dev"
54
- Requires-Dist: pytest-cov<6.0.0,>=5.0.0; extra == "dev"
55
- Requires-Dist: pytest-xdist>=3.8.0; extra == "dev"
56
- Requires-Dist: ruff<0.7.0,>=0.6.7; extra == "dev"
57
- Requires-Dist: pillow<12.0.0,>=11.3.0; extra == "dev"
58
58
 
59
59
  # AIP Agents
60
60
 
@@ -73,13 +73,13 @@ You can use `aip-agents` directly for local execution, or let `glaip-sdk` manage
73
73
  ### Prerequisites
74
74
  - Python 3.11 - 3.12 - [Install here](https://www.python.org/downloads/)
75
75
  - Pip (if using Pip) - [Install here](https://pip.pypa.io/en/stable/installation/)
76
- - Poetry 1.8.1+ (if using Poetry) - [Install here](https://python-poetry.org/docs/#installation)
76
+ - uv (if using uv) - [Install here](https://docs.astral.sh/uv/)
77
77
  - Git (if using Git) - [Install here](https://git-scm.com/downloads)
78
78
  - For git installation:
79
79
  - Access to the [GDP Labs SDK repository](https://github.com/GDP-ADMIN/glaip-sdk)
80
80
 
81
81
  ### 1. Installation from the GDP Labs registry
82
- This package is published to the internal GDP Labs registry. Ensure your pip/Poetry config includes the registry:
82
+ This package is published to the internal GDP Labs registry. Ensure your uv/pip config includes the registry:
83
83
  `https://glsdk.gdplabs.id/gen-ai-internal/simple/`.
84
84
 
85
85
  #### Using pip
@@ -87,15 +87,15 @@ This package is published to the internal GDP Labs registry. Ensure your pip/Poe
87
87
  pip install aip-agents
88
88
  ```
89
89
 
90
- #### Using Poetry
90
+ #### Using uv
91
91
  ```bash
92
- poetry add aip-agents
92
+ uv pip install aip-agents
93
93
  ```
94
94
 
95
95
  ### 2. Development Installation (Git)
96
96
  For development purposes, you can install directly from the Git repository:
97
97
  ```bash
98
- poetry add "git+ssh://git@github.com/GDP-ADMIN/glaip-sdk.git#subdirectory=python/aip-agents"
98
+ uv pip install "git+ssh://git@github.com/GDP-ADMIN/glaip-sdk.git#subdirectory=python/aip-agents"
99
99
  ```
100
100
 
101
101
  ### 3. Recommended: install via glaip-sdk for local mode
@@ -112,21 +112,19 @@ pip install "aip-agents[privacy]"
112
112
 
113
113
  ## Managing Dependencies
114
114
  1. Go to the `aip-agents` module root, e.g. `cd python/aip-agents`.
115
- 2. Run `poetry shell` to create a virtual environment.
116
- 3. Run `poetry install` to install the `aip-agents` requirements (Poetry will generate a local lock file for you if needed; the repository ignores it).
117
- 4. Run `poetry update` if you change any dependency versions in `pyproject.toml`.
115
+ 2. Run `uv sync --extra dev` to install the `aip-agents` requirements.
116
+ 3. Run `uv lock` if you change any dependency versions in `pyproject.toml`.
118
117
 
119
118
  ## Contributing
120
119
  Please refer to this [Python Style Guide](https://docs.google.com/document/d/1uRggCrHnVfDPBnG641FyQBwUwLoFw0kTzNqRm92vUwM/edit?usp=sharing)
121
120
  to get information about code style, documentation standard, and SCA that you need to use when contributing to this project
122
121
 
123
122
  1. Activate `pre-commit` hooks using `pre-commit install`
124
- 2. Run `poetry shell` to create a virtual environment.
125
- 3. Run `poetry install` to install the `aip-agents` requirements (this will also create a local lock file that stays local).
126
- 4. Run `which python` to get the path to be referenced at Visual Studio Code interpreter path (`Ctrl`+`Shift`+`P` or `Cmd`+`Shift`+`P`)
127
- 5. Try running the unit test to see if it's working:
123
+ 2. Run `uv sync --extra dev` to install the `aip-agents` requirements.
124
+ 3. Run `which python` to get the path to be referenced at Visual Studio Code interpreter path (`Ctrl`+`Shift`+`P` or `Cmd`+`Shift`+`P`)
125
+ 4. Try running the unit test to see if it's working:
128
126
  ```bash
129
- poetry run pytest -s tests/unit_tests/
127
+ uv run pytest -s tests/unit_tests/
130
128
  ```
131
129
 
132
130
  ## Hello World Examples
@@ -227,57 +225,57 @@ For STDIO, SSE, and HTTP transports using local servers, open a terminal in the
227
225
  - For STDIO:
228
226
 
229
227
  ```bash
230
- poetry run python aip_agents/examples/mcp_servers/mcp_server_stdio.py
228
+ uv run python aip_agents/examples/mcp_servers/mcp_server_stdio.py
231
229
  ```
232
230
 
233
231
  - For SSE:
234
232
 
235
233
  ```bash
236
- poetry run python aip_agents/examples/mcp_servers/mcp_server_sse.py
234
+ uv run python aip_agents/examples/mcp_servers/mcp_server_sse.py
237
235
  ```
238
236
 
239
237
  - For HTTP:
240
238
 
241
239
  ```bash
242
- poetry run python aip_agents/examples/mcp_servers/mcp_server_http.py
240
+ uv run python aip_agents/examples/mcp_servers/mcp_server_http.py
243
241
  ```
244
242
 
245
243
  Note: Start the appropriate server before running the client examples for that transport.
246
244
 
247
245
  ### Running Examples
248
246
 
249
- All examples are run from the library root using `poetry run python aip_agents/examples/<file>.py`. Examples support OpenAI for LangGraph/LangChain and Google ADK where specified.
247
+ All examples are run from the library root using `uv run python aip_agents/examples/<file>.py`. Examples support OpenAI for LangGraph/LangChain and Google ADK where specified.
250
248
 
251
249
  #### LangChain Examples
252
250
 
253
251
  ##### STDIO Transport
254
252
  - Non-Streaming:
255
253
  ```bash
256
- poetry run python aip_agents/examples/hello_world_langchain_mcp_stdio.py
254
+ uv run python aip_agents/examples/hello_world_langchain_mcp_stdio.py
257
255
  ```
258
256
  - Streaming:
259
257
  ```bash
260
- poetry run python aip_agents/examples/hello_world_langchain_mcp_stdio_stream.py
258
+ uv run python aip_agents/examples/hello_world_langchain_mcp_stdio_stream.py
261
259
  ```
262
260
 
263
261
  ##### SSE Transport
264
262
  - Non-Streaming:
265
263
  ```bash
266
- poetry run python aip_agents/examples/hello_world_langchain_mcp_sse.py
264
+ uv run python aip_agents/examples/hello_world_langchain_mcp_sse.py
267
265
  ```
268
266
  - Streaming:
269
267
  ```bash
270
- poetry run python aip_agents/examples/hello_world_langchain_mcp_sse_stream.py
268
+ uv run python aip_agents/examples/hello_world_langchain_mcp_sse_stream.py
271
269
  ```
272
270
 
273
271
  ##### HTTP Transport
274
272
  - Non-Streaming:
275
273
  ```bash
276
- poetry run python aip_agents/examples/hello_world_langchain_mcp_http.py
274
+ uv run python aip_agents/examples/hello_world_langchain_mcp_http.py
277
275
  ```
278
276
  - Streaming:
279
277
  ```bash
280
- poetry run python aip_agents/examples/hello_world_langchain_mcp_http_stream.py
278
+ uv run python aip_agents/examples/hello_world_langchain_mcp_http_stream.py
281
279
  ```
282
280
 
283
281
  #### Google ADK Examples
@@ -285,31 +283,31 @@ poetry run python aip_agents/examples/hello_world_langchain_mcp_http_stream.py
285
283
  ##### STDIO Transport
286
284
  - Non-Streaming:
287
285
  ```bash
288
- poetry run python aip_agents/examples/hello_world_google_adk_mcp_stdio.py
286
+ uv run python aip_agents/examples/hello_world_google_adk_mcp_stdio.py
289
287
  ```
290
288
  - Streaming:
291
289
  ```bash
292
- poetry run python aip_agents/examples/hello_world_google_adk_mcp_stdio_stream.py
290
+ uv run python aip_agents/examples/hello_world_google_adk_mcp_stdio_stream.py
293
291
  ```
294
292
 
295
293
  ##### SSE Transport
296
294
  - Non-Streaming:
297
295
  ```bash
298
- poetry run python aip_agents/examples/hello_world_google_adk_mcp_sse.py
296
+ uv run python aip_agents/examples/hello_world_google_adk_mcp_sse.py
299
297
  ```
300
298
  - Streaming:
301
299
  ```bash
302
- poetry run python aip_agents/examples/hello_world_google_adk_mcp_sse_stream.py
300
+ uv run python aip_agents/examples/hello_world_google_adk_mcp_sse_stream.py
303
301
  ```
304
302
 
305
303
  ##### HTTP Transport
306
304
  - Non-Streaming:
307
305
  ```bash
308
- poetry run python aip_agents/examples/hello_world_google_adk_mcp_http.py
306
+ uv run python aip_agents/examples/hello_world_google_adk_mcp_http.py
309
307
  ```
310
308
  - Streaming:
311
309
  ```bash
312
- poetry run python aip_agents/examples/hello_world_google_adk_mcp_http_stream.py
310
+ uv run python aip_agents/examples/hello_world_google_adk_mcp_http_stream.py
313
311
  ```
314
312
 
315
313
  #### LangGraph Examples (OpenAI)
@@ -317,31 +315,31 @@ poetry run python aip_agents/examples/hello_world_google_adk_mcp_http_stream.py
317
315
  ##### STDIO Transport
318
316
  - Non-Streaming:
319
317
  ```bash
320
- poetry run python aip_agents/examples/hello_world_langgraph_mcp_stdio.py
318
+ uv run python aip_agents/examples/hello_world_langgraph_mcp_stdio.py
321
319
  ```
322
320
  - Streaming:
323
321
  ```bash
324
- poetry run python aip_agents/examples/hello_world_langgraph_mcp_stdio_stream.py
322
+ uv run python aip_agents/examples/hello_world_langgraph_mcp_stdio_stream.py
325
323
  ```
326
324
 
327
325
  ##### SSE Transport
328
326
  - Non-Streaming:
329
327
  ```bash
330
- poetry run python aip_agents/examples/hello_world_langgraph_mcp_sse.py
328
+ uv run python aip_agents/examples/hello_world_langgraph_mcp_sse.py
331
329
  ```
332
330
  - Streaming:
333
331
  ```bash
334
- poetry run python aip_agents/examples/hello_world_langgraph_mcp_sse_stream.py
332
+ uv run python aip_agents/examples/hello_world_langgraph_mcp_sse_stream.py
335
333
  ```
336
334
 
337
335
  ##### HTTP Transport
338
336
  - Non-Streaming:
339
337
  ```bash
340
- poetry run python aip_agents/examples/hello_world_langgraph_mcp_http.py
338
+ uv run python aip_agents/examples/hello_world_langgraph_mcp_http.py
341
339
  ```
342
340
  - Streaming:
343
341
  ```bash
344
- poetry run python aip_agents/examples/hello_world_langgraph_mcp_http_stream.py
342
+ uv run python aip_agents/examples/hello_world_langgraph_mcp_http_stream.py
345
343
  ```
346
344
 
347
345
  ### Multi-Server Example
@@ -357,13 +355,13 @@ npx @playwright/mcp@latest --headless --port 8931
357
355
  2. In another terminal, start the Name Generator SSE server:
358
356
 
359
357
  ```bash
360
- poetry run python aip_agents/examples/mcp_servers/mcp_name.py
358
+ uv run python aip_agents/examples/mcp_servers/mcp_name.py
361
359
  ```
362
360
 
363
361
  3. Run the multi-server client example:
364
362
 
365
363
  ```bash
366
- poetry run python aip_agents/examples/hello_world_langchain_mcp_multi_server.py
364
+ uv run python aip_agents/examples/hello_world_langchain_mcp_multi_server.py
367
365
  ```
368
366
  **3. Running Individual A2A Examples:**
369
367
 
@@ -479,7 +477,7 @@ The library supports Mem0 as a memory backend for long-term conversation recall.
479
477
  Use the coordinator example with memory enabled:
480
478
 
481
479
  ```bash
482
- poetry run python aip_agents/examples/hello_world_a2a_mem0_coordinator_server.py
480
+ uv run python aip_agents/examples/hello_world_a2a_mem0_coordinator_server.py
483
481
  ```
484
482
 
485
483
  In client:
@@ -67,9 +67,9 @@ aip_agents/clients/langflow/types.pyi,sha256=GobtmPusKRbBy3QL9o8ci466bosvx6l_vH7
67
67
  aip_agents/credentials/manager.py,sha256=y9Hc6jMuHl-VddQqRIW1VzJ1H6LQ9N_e2xv-yzp-xyU,4708
68
68
  aip_agents/examples/__init__.py,sha256=o8_p5Vdm2gXR4AE_KbPNNrVQBp-0TvFVtYgMu4x9L8k,183
69
69
  aip_agents/examples/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
- aip_agents/examples/compare_streaming_client.py,sha256=cUf2rv4ZfaDEJ-3cUb94qHh-a07PnkDisQ7bC8v7QbQ,33556
70
+ aip_agents/examples/compare_streaming_client.py,sha256=3HG_aFrpdsFqbtTkzLgOs9-vuPzzgFQVM4LXMzIVve0,33548
71
71
  aip_agents/examples/compare_streaming_client.pyi,sha256=caRzRGjAcs7Vdoecll1ud7SKGnbRh1RnYcKrkWpNiQE,3008
72
- aip_agents/examples/compare_streaming_server.py,sha256=PyLGALAL0qWJUo2Ju7YXvh8US9Gp6jf61fjUL1NeY9E,5634
72
+ aip_agents/examples/compare_streaming_server.py,sha256=8xWKTq7W4AaXTuU8PsjuLNARIiSS92UxJOWHWVPTsQ4,5630
73
73
  aip_agents/examples/compare_streaming_server.pyi,sha256=NNu30WWoC6QQt-hiAq4zwCX3qJaSwz-LE5KolEfBp0A,842
74
74
  aip_agents/examples/demo_memory_recall.py,sha256=7_FmFpBRWZmIfvrinwT_WgPmMRew_WEW5khQitESlqg,15513
75
75
  aip_agents/examples/demo_memory_recall.pyi,sha256=eX0GEZ9EVKvvmMBc_d9NKQkHWHsbfi-cDpensKHHqC4,2570
@@ -229,9 +229,9 @@ aip_agents/examples/pii_demo_multi_agent_client.py,sha256=fIn2t7qYHhjMZSjggG9XVo
229
229
  aip_agents/examples/pii_demo_multi_agent_client.pyi,sha256=NjWmXcO_y-dF4WwZVZ09XR9Yl1sZM2eVnVT9pf2YCSQ,231
230
230
  aip_agents/examples/pii_demo_multi_agent_server.py,sha256=lZYOPJdx3lSiLSZzHYobi83mycvXbk4jrj3cyAWpb38,9359
231
231
  aip_agents/examples/pii_demo_multi_agent_server.pyi,sha256=ljccHg9TbEK2-kqFnSEtcFtdSGwJQspCzg3PE5W48dw,1571
232
- aip_agents/examples/todolist_planning_a2a_langchain_client.py,sha256=1A8GVFsZuzgE4UrOsQ_0snh4oD-d78fPVaZh8wXHRPQ,2571
232
+ aip_agents/examples/todolist_planning_a2a_langchain_client.py,sha256=_6LUddgdwnyKekS9oJ9JmcvjDVdoGI0FXxstRH9gJt0,2563
233
233
  aip_agents/examples/todolist_planning_a2a_langchain_client.pyi,sha256=KMMVNoJvOdajKj6lu-4oxTdrW56YRlx5YYa8pwF2u9w,234
234
- aip_agents/examples/todolist_planning_a2a_langgraph_server.py,sha256=VwwQI7Lx5d9AGs6H-4b5uk2plzzbeVbOUOEodNgXd2k,3015
234
+ aip_agents/examples/todolist_planning_a2a_langgraph_server.py,sha256=qeVzOpkXtqteJJOlXsqdHsXE0pf6hdWSKmGBT5ptz9A,3011
235
235
  aip_agents/examples/todolist_planning_a2a_langgraph_server.pyi,sha256=8SGFJNxDTp9ojot5gXlod7FmIys48AnVGy4eXiSZl_I,756
236
236
  aip_agents/examples/mcp_configs/configs.py,sha256=dgKk5V14PrWLqMNOQw9OiJ4fTh1yfgasHUpx8LSHuos,1615
237
237
  aip_agents/examples/mcp_servers/common.py,sha256=o9D7PJ63XMbjsSZJjYuqY8icaKtgm8cpeqCYygIxi8o,2532
@@ -560,7 +560,7 @@ aip_agents/utils/pii/pii_helper.py,sha256=g0yRzakfA2AA6vjUNLWHqFlcxyLql6MXQ90NN3
560
560
  aip_agents/utils/pii/pii_helper.pyi,sha256=dulZs150ikbAL3Bw2YLcz3_g4DsGmL3lciwf8mKxEjI,2939
561
561
  aip_agents/utils/pii/uuid_deanonymizer_mapping.py,sha256=Gks8l8t0cuS9pzoQnrpiK1CaLmWYksjOnTeiHh3_7EE,7348
562
562
  aip_agents/utils/pii/uuid_deanonymizer_mapping.pyi,sha256=gnWfD1rWZh_tloJjgKiZ6f6iNUuBaHpKqCSiP0d-9bs,3084
563
- aip_agents_binary-0.5.25.dist-info/METADATA,sha256=bXI_tv5FTen7NwMXxM314AFSgsETtAxwusRdm8bTYXo,22315
564
- aip_agents_binary-0.5.25.dist-info/WHEEL,sha256=PaP4PvkDyiSc4C6Dhw6ccQmfxsWFrSv-lJQjBshu0hw,105
565
- aip_agents_binary-0.5.25.dist-info/top_level.txt,sha256=PEz8vcwC1bH4UrkhF0LkIYCNfXGWZUHdSklbvkBe25E,11
566
- aip_agents_binary-0.5.25.dist-info/RECORD,,
563
+ aip_agents_binary-0.5.25b8.dist-info/METADATA,sha256=Cvu12iAPUw0tH0Iw0DJWYB7J2o8FSFjPuvRyMAYCM4c,21929
564
+ aip_agents_binary-0.5.25b8.dist-info/WHEEL,sha256=KxCTaSkoYs_EnWvWxmau4HAvN-_rCRYV_bfRc_41A9k,106
565
+ aip_agents_binary-0.5.25b8.dist-info/top_level.txt,sha256=PEz8vcwC1bH4UrkhF0LkIYCNfXGWZUHdSklbvkBe25E,11
566
+ aip_agents_binary-0.5.25b8.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-macosx_13_0_arm64
5
5