aip-agents-binary 0.5.25__py3-none-any.whl → 0.5.25b1__py3-none-any.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.

Potentially problematic release.


This version of aip-agents-binary might be problematic. Click here for more details.

@@ -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.25b1
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=BaCgeyoWNEYGH9_i436chTH-NZ-6RrU8QAB
67
67
  aip_agents/credentials/manager.py,sha256=IFJBiF-3LFkzLWz9xcNI1c5IxUriQjt5J_xATA9WMQU,4840
68
68
  aip_agents/examples/__init__.py,sha256=KDL2do9_iDjXNbrLPOzxegQPEQLm0tTMVNo5Uq2BpRA,188
69
69
  aip_agents/examples/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
- aip_agents/examples/compare_streaming_client.py,sha256=kzF_xdsxCvCe27N18ec0-oJ0zhdJZQOiwFnuDzF0X4M,34339
70
+ aip_agents/examples/compare_streaming_client.py,sha256=562iaPEKOq4rIjkWaejWZ4_gi6SnQG5TSPkEC7c8qg0,34331
71
71
  aip_agents/examples/compare_streaming_client.pyi,sha256=5nArTm9Wv9KvABk-ALO5Fs1N58qV8ttl57kUuggSmxA,3056
72
- aip_agents/examples/compare_streaming_server.py,sha256=49YlFviQhhSGUFbCmlqn4-LijAlPKyEu5NNNTEzQt50,5776
72
+ aip_agents/examples/compare_streaming_server.py,sha256=tN1D4n0tMtyPM0n3f_U0hPE4PWRt0qfIt-fFWxEJKiY,5772
73
73
  aip_agents/examples/compare_streaming_server.pyi,sha256=khxXVb93GzTKrBCwQG_SDS_7jrlOCqrfJtcUFEhi2jM,860
74
74
  aip_agents/examples/demo_memory_recall.py,sha256=ZTQGgYeSRL0XXA50426Xqh6J7zhJULfVsZ7vobH3smg,15914
75
75
  aip_agents/examples/demo_memory_recall.pyi,sha256=BscHLiINZkZCD0EO3vzy6j2I0esb8abRHsvluoFkPXY,2628
@@ -229,9 +229,9 @@ aip_agents/examples/pii_demo_multi_agent_client.py,sha256=la7LyDoCNYi4dipBRlo0oS
229
229
  aip_agents/examples/pii_demo_multi_agent_client.pyi,sha256=Udp6pOPNpS5mNSyORALua4ap0dcnRhVbCodwxLoCraY,236
230
230
  aip_agents/examples/pii_demo_multi_agent_server.py,sha256=2-dbylX8T4Raten84myUGc5uFkyKDTiXSgM05bTLIbo,9606
231
231
  aip_agents/examples/pii_demo_multi_agent_server.pyi,sha256=dUDUjt-oS5yMRjBKZ_18pv2EWs3k7QYfxRAaRknqEfg,1611
232
- aip_agents/examples/todolist_planning_a2a_langchain_client.py,sha256=zze0K8OhXrl-9oupd9Qk5r6h7uu_zrEsN85dW1G__oM,2641
232
+ aip_agents/examples/todolist_planning_a2a_langchain_client.py,sha256=PFO0owjw9_BQ498ia7Z7T0wtw2uafTIrAiSItdqKaD0,2633
233
233
  aip_agents/examples/todolist_planning_a2a_langchain_client.pyi,sha256=da6jTPvRHkT1BIaEqW_pBgJPPRM6v5YmhGehQFPLDLA,239
234
- aip_agents/examples/todolist_planning_a2a_langgraph_server.py,sha256=9urX1m5f7gFH_5mUzr58Twl-LHshefjbY9OWeZHbync,3103
234
+ aip_agents/examples/todolist_planning_a2a_langgraph_server.py,sha256=9JG148NgfX5Sa9DEhdYuGczCEKsGoG504zMJqSpQNrQ,3099
235
235
  aip_agents/examples/todolist_planning_a2a_langgraph_server.pyi,sha256=FIV8kDQWe94Hm9gEwz8j3YEYgMVstkwzcPwAdyIglDQ,775
236
236
  aip_agents/examples/mcp_configs/configs.py,sha256=7ZhCRiHLCyolhmUxnwfqHihLc2-r0Paa-qr_LpZ7saY,1678
237
237
  aip_agents/examples/mcp_servers/common.py,sha256=G_f75ahqIDKLEnWltpH-jTkMbTTYcVeW_hIMY3dfDiM,2608
@@ -560,7 +560,7 @@ aip_agents/utils/pii/pii_helper.py,sha256=8QGVC9lb7dic_vSfLDUaDvqm45BUbYyPeQTVva
560
560
  aip_agents/utils/pii/pii_helper.pyi,sha256=wEgOasJxwKObtQ9Cb1UsiyIaqq2JUYmdRwOZR9PnIjA,3017
561
561
  aip_agents/utils/pii/uuid_deanonymizer_mapping.py,sha256=X9zeX1bhb3rlCc8P5QnbHCILx2AIhGmZwjsjh_2G4ZQ,7543
562
562
  aip_agents/utils/pii/uuid_deanonymizer_mapping.pyi,sha256=6H1xRV2Nr0LpP5K6fbz2uCobehTpM2626v8kiOd9W9Y,3157
563
- aip_agents_binary-0.5.25.dist-info/METADATA,sha256=lSp9fH3seSvB9hXwjbf_zOMe44-tc3KkZsuZ2W9Jx3E,22998
564
- aip_agents_binary-0.5.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
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.25b1.dist-info/METADATA,sha256=Jb0KFMzSdTpc_MaXJFxrsUWmuWvk9gGc_uw2Z8qAfVk,22610
564
+ aip_agents_binary-0.5.25b1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
565
+ aip_agents_binary-0.5.25b1.dist-info/top_level.txt,sha256=PEz8vcwC1bH4UrkhF0LkIYCNfXGWZUHdSklbvkBe25E,11
566
+ aip_agents_binary-0.5.25b1.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-any
5
5