grasp_agents 0.1.9__py3-none-any.whl → 0.1.10__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: grasp_agents
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: Grasp Agents Library
5
5
  License-File: LICENSE
6
6
  License-File: LICENSE.md
@@ -14,10 +14,10 @@ Requires-Dist: termcolor<3,>=2.4.0
14
14
  Requires-Dist: tqdm<5,>=4.66.2
15
15
  Description-Content-Type: text/markdown
16
16
 
17
- # grasp_agents
17
+ # Grasp Agents
18
18
 
19
19
  <br/>
20
- <img src="./.assets/grasp.svg" alt="Grasp Agents" width="320" />
20
+ <img src="./.assets/grasp.png" alt="Grasp Agents" width="320" />
21
21
  <br/>
22
22
  <br/>
23
23
 
@@ -27,7 +27,7 @@ Description-Content-Type: text/markdown
27
27
 
28
28
  ## Overview
29
29
 
30
- grasp-agents is a modular Python framework for building agentic AI pipelines and applications. It provides reusable agent classes, message handling, LLM integration, memory, and orchestration utilities. The framework is designed for flexibility, composability, and clarity, enabling rapid prototyping and robust development of multi-agent systems.
30
+ **Grasp Agents** is a modular Python framework for building agentic AI pipelines and applications. It provides reusable agent classes, message handling, LLM integration, memory, and orchestration utilities. The framework is designed for flexibility, composability, and clarity, enabling rapid prototyping and robust development of multi-agent systems.
31
31
 
32
32
  ## Features
33
33
 
@@ -182,15 +182,9 @@ python -m venv .venv
182
182
  source .venv/bin/activate
183
183
  ```
184
184
 
185
- If you see `ModuleNotFoundError: No module named 'yaml'`, run:
186
-
187
- ```bash
188
- pip install pyyaml
189
- ```
190
-
191
185
  #### 4. Install Grasp Agents SDK
192
186
 
193
- If you have a `requirements.txt`:
187
+ If you have a `requirements.txt` file:
194
188
 
195
189
  ```bash
196
190
  pip install -r requirements.txt
@@ -214,6 +208,72 @@ python hello.py
214
208
 
215
209
  ---
216
210
 
211
+ ### Option 3: Poetry-based Project
212
+
213
+ > **Note:** You can check this sample project code in the [src/grasp_agents/examples/demo/poetry](src/grasp_agents/examples/demo/poetry) folder. Feel free to copy and paste the code from there to a separate project.
214
+
215
+ #### 1. Create Project Folder
216
+
217
+ ```bash
218
+ mkdir my-test-poetry-app
219
+ cd my-test-poetry-app
220
+ ```
221
+
222
+ #### 2. Install Python 3.11.9 via pyenv
223
+
224
+ ```bash
225
+ brew install pyenv
226
+ pyenv install 3.11.9
227
+ pyenv local 3.11.9
228
+ ```
229
+
230
+ #### 3. Install Poetry Package Manager
231
+
232
+ If you don't have Poetry, install it:
233
+
234
+ ```bash
235
+ curl -sSL https://install.python-poetry.org | python3 -
236
+ ```
237
+
238
+ Open a new terminal after installing Poetry.
239
+
240
+ #### 4. Create and Activate a Virtual Environment
241
+
242
+ ```bash
243
+ python -m venv .venv
244
+ source .venv/bin/activate
245
+ ```
246
+
247
+ #### 5. Make Poetry Use the Virtual Environment's Python
248
+
249
+ ```bash
250
+ poetry env use $(which python)
251
+ ```
252
+
253
+ #### 6. Install the Grasp Agents SDK
254
+
255
+ ```bash
256
+ poetry install
257
+ ```
258
+
259
+ #### 7. Example Usage
260
+
261
+ Create a file, e.g., `hello.py`, and use the same code as above.
262
+
263
+ #### 8. Environment Variables
264
+
265
+ Ensure you have a `.env` file with your OpenAI API key set:
266
+
267
+ ```
268
+ OPENAI_API_KEY=your_openai_api_key
269
+ ```
270
+
271
+ #### 9. Run the App
272
+
273
+ ```bash
274
+ poetry run python hello.py
275
+ ```
276
+
217
277
  ## Development
218
278
 
219
279
  To develop and test the library locally, follow these steps:
@@ -38,8 +38,8 @@ grasp_agents/workflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
38
38
  grasp_agents/workflow/looped_agent.py,sha256=YBOgOIvy3_NwKvEoGgzQJ2fY9SNG66MQk6obSBGWvCc,3896
39
39
  grasp_agents/workflow/sequential_agent.py,sha256=yDt2nA-b1leVByD8jsKrWD6bHe0o9z33jrOJGOLwbyk,2004
40
40
  grasp_agents/workflow/workflow_agent.py,sha256=9U94IQ39Vb1W_5u8aoqHb65ikdarEhEJkexDz8xwHD4,2294
41
- grasp_agents-0.1.9.dist-info/METADATA,sha256=cp5DK_NyWWcd1xqS8msLAoFcATJV6jEsQSJStb_wSbA,6281
42
- grasp_agents-0.1.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
43
- grasp_agents-0.1.9.dist-info/licenses/LICENSE,sha256=GRDob7--af0SOT8BRgu7Ds1NqhunPyxGjyETcCk-o7s,1062
44
- grasp_agents-0.1.9.dist-info/licenses/LICENSE.md,sha256=DkM2HFdRinBoJ6LVBFHvDzJoTjJDYCG7HVe9KO67xy8,965
45
- grasp_agents-0.1.9.dist-info/RECORD,,
41
+ grasp_agents-0.1.10.dist-info/METADATA,sha256=XOMAmMxZc3EP2fKPSME19AAufaakNKdh0NGmVC8Q-cY,7411
42
+ grasp_agents-0.1.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
43
+ grasp_agents-0.1.10.dist-info/licenses/LICENSE,sha256=GRDob7--af0SOT8BRgu7Ds1NqhunPyxGjyETcCk-o7s,1062
44
+ grasp_agents-0.1.10.dist-info/licenses/LICENSE.md,sha256=Kfeo0gdlLS6tLQiWwO9UWhjp9-f93a5kShSiBp2FG-c,1201
45
+ grasp_agents-0.1.10.dist-info/RECORD,,
@@ -4,6 +4,8 @@ Package production dependencies are licensed under the following terms:
4
4
 
5
5
  | Name | Version | License | URL |
6
6
  | --------- | ------- | ------------------------------------------------- | --------------------------------------- |
7
+ | PyYAML | 6.0.2 | MIT License | https://pyyaml.org/ |
8
+ | dotenv | 0.9.9 | BSD-3-Clause license | https://github.com/pedroburon/dotenv |
7
9
  | httpx | 0.28.1 | BSD License | https://github.com/encode/httpx |
8
10
  | openai | 1.77.0 | Apache Software License | https://github.com/openai/openai-python |
9
11
  | tenacity | 9.1.2 | Apache Software License | https://github.com/jd/tenacity |