grasp_agents 0.1.12__tar.gz → 0.1.14__tar.gz
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.
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/PKG-INFO +5 -69
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/README.md +4 -67
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/pyproject.toml +1 -1
- grasp_agents-0.1.12/LICENSE +0 -21
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/.gitignore +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/LICENSE.md +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/agent_message.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/agent_message_pool.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/base_agent.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/cloud_llm.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/comm_agent.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/costs_dict.yaml +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/data_retrieval/__init__.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/data_retrieval/rate_limiter_chunked.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/data_retrieval/types.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/data_retrieval/utils.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/grasp_logging.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/http_client.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/llm.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/llm_agent.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/llm_agent_state.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/memory.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/openai/__init__.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/openai/completion_converters.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/openai/content_converters.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/openai/converters.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/openai/message_converters.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/openai/openai_llm.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/openai/tool_converters.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/printer.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/prompt_builder.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/run_context.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/tool_orchestrator.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/typing/__init__.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/typing/completion.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/typing/content.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/typing/converters.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/typing/io.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/typing/message.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/typing/tool.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/usage_tracker.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/utils.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/workflow/__init__.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/workflow/looped_agent.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/workflow/sequential_agent.py +0 -0
- {grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/workflow/workflow_agent.py +0 -0
@@ -1,8 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: grasp_agents
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.14
|
4
4
|
Summary: Grasp Agents Library
|
5
|
-
License-File: LICENSE
|
6
5
|
License-File: LICENSE.md
|
7
6
|
Requires-Python: <3.12,>=3.11.4
|
8
7
|
Requires-Dist: dotenv>=0.9.9
|
@@ -21,9 +20,11 @@ Description-Content-Type: text/markdown
|
|
21
20
|
<br/>
|
22
21
|
<br/>
|
23
22
|
|
24
|
-
[](https://badge.fury.io/py/
|
25
|
-
[](https://pypi.org/project/grasp_agents/)
|
23
|
+
[](https://badge.fury.io/py/grasp-agents)
|
26
24
|
[](https://mit-license.org/)
|
25
|
+
[](https://pypi.org/project/grasp-agents/)
|
26
|
+
[](https://github.com/grasp-technologies/grasp-agents/stargazers)
|
27
|
+
[](https://github.com/grasp-technologies/grasp-agents/network/members)
|
27
28
|
|
28
29
|
## Overview
|
29
30
|
|
@@ -149,68 +150,3 @@ Run your script:
|
|
149
150
|
```bash
|
150
151
|
uv run hello.py
|
151
152
|
```
|
152
|
-
|
153
|
-
## Development
|
154
|
-
|
155
|
-
To develop and test the library locally, follow these steps:
|
156
|
-
|
157
|
-
### 1. Install UV Package Manager
|
158
|
-
|
159
|
-
Make sure [UV](https://github.com/astral-sh/uv) is installed on your system:
|
160
|
-
|
161
|
-
```bash
|
162
|
-
curl -LsSf https://astral.sh/uv/install.sh | sh
|
163
|
-
```
|
164
|
-
|
165
|
-
### 2. Install Dependencies
|
166
|
-
|
167
|
-
Create a new virtual environment and install dependencies:
|
168
|
-
|
169
|
-
```bash
|
170
|
-
uv venv
|
171
|
-
source .venv/bin/activate
|
172
|
-
uv sync
|
173
|
-
```
|
174
|
-
|
175
|
-
### 3. Test Example for VS Code
|
176
|
-
|
177
|
-
- Install the [Jupyter Notebook extension](https://marketplace.visualstudio.com/items/?itemName=ms-toolsai.jupyter).
|
178
|
-
|
179
|
-
- Ensure you have a `.env` file with your OpenAI and Google AI Studio API keys set (see [.env.example](.env.example)).
|
180
|
-
|
181
|
-
```
|
182
|
-
OPENAI_API_KEY=your_openai_api_key
|
183
|
-
GOOGLE_AI_STUDIO_API_KEY=your_google_ai_studio_api_key
|
184
|
-
```
|
185
|
-
|
186
|
-
- Open [src/grasp_agents/examples/notebooks/agents_demo.ipynb](src/grasp_agents/examples/notebooks/agents_demo.ipynb).
|
187
|
-
|
188
|
-
You're now ready to run and experiment with the example notebook.
|
189
|
-
|
190
|
-
### 4. Recommended VS Code Extensions
|
191
|
-
|
192
|
-
- [Ruff](https://marketplace.visualstudio.com/items/?itemName=charliermarsh.ruff) -- for formatting and code analysis
|
193
|
-
- [Pylint](https://marketplace.visualstudio.com/items/?itemName=ms-python.pylint) -- for linting
|
194
|
-
- [Pylance](https://marketplace.visualstudio.com/items/?itemName=ms-python.vscode-pylance) -- for type checking
|
195
|
-
|
196
|
-
### Releasing: Maintainers Only
|
197
|
-
|
198
|
-
To release a new version of the package, follow these steps:
|
199
|
-
|
200
|
-
1. Create a new branch for the release: `git checkout -b release-X.Y.Z`.
|
201
|
-
|
202
|
-
2. Update the version in `pyproject.toml`.
|
203
|
-
|
204
|
-
3. Commit the changes with a message like "Bump version to X.Y.Z". `git commit -m "Bump version to X.Y.Z"`.
|
205
|
-
|
206
|
-
4. Make a pull request to the `master` branch.
|
207
|
-
|
208
|
-
5. Once the pull request is approved and merged, checkout the `master` branch: `git checkout master`.
|
209
|
-
|
210
|
-
6. Pull the latest changes: `git pull origin master`.
|
211
|
-
|
212
|
-
7. Tag the release: `git tag vX.Y.Z`. Note that a tag name should be in the format `vX.Y.Z`.
|
213
|
-
|
214
|
-
8. Push the tag to the remote repository: `git push --tags`.
|
215
|
-
|
216
|
-
9. This will trigger the [release workflow](.github/workflows/workflow.yml), which will build and publish the package to PyPI.
|
@@ -5,9 +5,11 @@
|
|
5
5
|
<br/>
|
6
6
|
<br/>
|
7
7
|
|
8
|
-
[](https://badge.fury.io/py/
|
9
|
-
[](https://pypi.org/project/grasp_agents/)
|
8
|
+
[](https://badge.fury.io/py/grasp-agents)
|
10
9
|
[](https://mit-license.org/)
|
10
|
+
[](https://pypi.org/project/grasp-agents/)
|
11
|
+
[](https://github.com/grasp-technologies/grasp-agents/stargazers)
|
12
|
+
[](https://github.com/grasp-technologies/grasp-agents/network/members)
|
11
13
|
|
12
14
|
## Overview
|
13
15
|
|
@@ -133,68 +135,3 @@ Run your script:
|
|
133
135
|
```bash
|
134
136
|
uv run hello.py
|
135
137
|
```
|
136
|
-
|
137
|
-
## Development
|
138
|
-
|
139
|
-
To develop and test the library locally, follow these steps:
|
140
|
-
|
141
|
-
### 1. Install UV Package Manager
|
142
|
-
|
143
|
-
Make sure [UV](https://github.com/astral-sh/uv) is installed on your system:
|
144
|
-
|
145
|
-
```bash
|
146
|
-
curl -LsSf https://astral.sh/uv/install.sh | sh
|
147
|
-
```
|
148
|
-
|
149
|
-
### 2. Install Dependencies
|
150
|
-
|
151
|
-
Create a new virtual environment and install dependencies:
|
152
|
-
|
153
|
-
```bash
|
154
|
-
uv venv
|
155
|
-
source .venv/bin/activate
|
156
|
-
uv sync
|
157
|
-
```
|
158
|
-
|
159
|
-
### 3. Test Example for VS Code
|
160
|
-
|
161
|
-
- Install the [Jupyter Notebook extension](https://marketplace.visualstudio.com/items/?itemName=ms-toolsai.jupyter).
|
162
|
-
|
163
|
-
- Ensure you have a `.env` file with your OpenAI and Google AI Studio API keys set (see [.env.example](.env.example)).
|
164
|
-
|
165
|
-
```
|
166
|
-
OPENAI_API_KEY=your_openai_api_key
|
167
|
-
GOOGLE_AI_STUDIO_API_KEY=your_google_ai_studio_api_key
|
168
|
-
```
|
169
|
-
|
170
|
-
- Open [src/grasp_agents/examples/notebooks/agents_demo.ipynb](src/grasp_agents/examples/notebooks/agents_demo.ipynb).
|
171
|
-
|
172
|
-
You're now ready to run and experiment with the example notebook.
|
173
|
-
|
174
|
-
### 4. Recommended VS Code Extensions
|
175
|
-
|
176
|
-
- [Ruff](https://marketplace.visualstudio.com/items/?itemName=charliermarsh.ruff) -- for formatting and code analysis
|
177
|
-
- [Pylint](https://marketplace.visualstudio.com/items/?itemName=ms-python.pylint) -- for linting
|
178
|
-
- [Pylance](https://marketplace.visualstudio.com/items/?itemName=ms-python.vscode-pylance) -- for type checking
|
179
|
-
|
180
|
-
### Releasing: Maintainers Only
|
181
|
-
|
182
|
-
To release a new version of the package, follow these steps:
|
183
|
-
|
184
|
-
1. Create a new branch for the release: `git checkout -b release-X.Y.Z`.
|
185
|
-
|
186
|
-
2. Update the version in `pyproject.toml`.
|
187
|
-
|
188
|
-
3. Commit the changes with a message like "Bump version to X.Y.Z". `git commit -m "Bump version to X.Y.Z"`.
|
189
|
-
|
190
|
-
4. Make a pull request to the `master` branch.
|
191
|
-
|
192
|
-
5. Once the pull request is approved and merged, checkout the `master` branch: `git checkout master`.
|
193
|
-
|
194
|
-
6. Pull the latest changes: `git pull origin master`.
|
195
|
-
|
196
|
-
7. Tag the release: `git tag vX.Y.Z`. Note that a tag name should be in the format `vX.Y.Z`.
|
197
|
-
|
198
|
-
8. Push the tag to the remote repository: `git push --tags`.
|
199
|
-
|
200
|
-
9. This will trigger the [release workflow](.github/workflows/workflow.yml), which will build and publish the package to PyPI.
|
grasp_agents-0.1.12/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2025 Grasp
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/data_retrieval/rate_limiter_chunked.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{grasp_agents-0.1.12 → grasp_agents-0.1.14}/src/grasp_agents/openai/completion_converters.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|