reasoning-deployment-service 0.3.5__py3-none-any.whl → 0.3.7__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 reasoning-deployment-service might be problematic. Click here for more details.

@@ -0,0 +1,211 @@
1
+ Metadata-Version: 2.4
2
+ Name: reasoning-deployment-service
3
+ Version: 0.3.7
4
+ Summary: Deployment helper for Vertex AI Reasoning Engines & Agent Spaces
5
+ Author-email: Sergio Estrada <sergio.estrada@accenture.com>
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/AxG-AI-Exchange-GenAI-Initiative/AIXAgentDeploymentService
8
+ Project-URL: Repository, https://github.com/AxG-AI-Exchange-GenAI-Initiative/AIXAgentDeploymentService
9
+ Project-URL: Issues, https://github.com/AxG-AI-Exchange-GenAI-Initiative/AIXAgentDeploymentService/issues
10
+ Requires-Python: >=3.9
11
+ Description-Content-Type: text/markdown
12
+ Requires-Dist: requests>=2.28
13
+ Requires-Dist: python-dotenv>=1.0
14
+ Requires-Dist: google-auth>=2.20
15
+ Requires-Dist: google-cloud-storage>=2.16
16
+ Requires-Dist: google-cloud-aiplatform[adk,agent-engines]>=1.88.0
17
+ Requires-Dist: protobuf<7.0.0,>=4.21
18
+ Requires-Dist: keyring>=24.0
19
+ Requires-Dist: keyrings.google-artifactregistry-auth>=1.1
20
+ Requires-Dist: PyYAML>=6.0
21
+ Requires-Dist: click>=8.0
22
+ Provides-Extra: dev
23
+ Requires-Dist: pytest; extra == "dev"
24
+ Requires-Dist: build; extra == "dev"
25
+ Requires-Dist: twine; extra == "dev"
26
+ Requires-Dist: black; extra == "dev"
27
+ Requires-Dist: ruff; extra == "dev"
28
+
29
+ # Reasoning Deployment Service
30
+
31
+ Helper package for deploying Vertex AI Reasoning Engines and Agent Spaces
32
+
33
+ ---
34
+
35
+ ## 📦 Installation
36
+
37
+ Install the package directly from PyPI (version 0.3.5):
38
+
39
+ ```bash
40
+ pip install reasoning-deployment-service==0.3.5
41
+ ```
42
+
43
+ ---
44
+
45
+ ## 🚀 First Run
46
+
47
+ Run the CLI tool with no arguments:
48
+
49
+ ```bash
50
+ reasoning-deploy
51
+ ```
52
+
53
+ ### What happens
54
+
55
+ - You will see a list of available modes:
56
+
57
+ ```
58
+ Choose an operation:
59
+ 1) Create/Update
60
+ 2) Auth only
61
+ 3) CLI
62
+ 4) GUI
63
+ q) Quit
64
+ ```
65
+
66
+ - If required files are missing, usage will be limited until you bootstrap the project
67
+ - The tool will guide you to create the starter files:
68
+ - `your_agent_import.py` (shim pointing to your agent folder)
69
+ - `.env.agent` (environment and project settings)
70
+ - `agent.yaml` (agent engine and space definition)
71
+
72
+ Once these are in place, all modes will be fully available
73
+
74
+ ⚠️ Important: You must be running inside the same virtual environment where you installed reasoning-deployment-service
75
+
76
+ ---
77
+
78
+ ## ⚙️ Required Project Structure
79
+
80
+ Your project must have the following at minimum:
81
+
82
+ ```
83
+ my_project/
84
+ ├── requirements.txt # pinned dependencies
85
+ ├── .env.agent # environment and project config
86
+ ├── agent.yaml # engine and agent space definition
87
+ ├── my_agent/ # your agent folder
88
+ │ └── agent.py # defines root_agent
89
+ ```
90
+
91
+ ---
92
+
93
+ ### ✅ requirements.txt
94
+
95
+ This file must be in your project root and contain all dependencies
96
+
97
+ Example:
98
+
99
+ ```text
100
+ google-adk==1.0.0
101
+ google-cloud-aiplatform[adk,agent_engines]>=1.88.0
102
+ google-generativeai>=0.7.0
103
+ pydantic>=2.0.0
104
+ python-dotenv>=1.0.0
105
+ python-docx>=1.1.0
106
+ google-api-python-client>=2.100.0
107
+ google-auth>=2.25.0
108
+ google-auth-httplib2>=0.2.0
109
+ google-auth-oauthlib>=1.2.0
110
+ absl-py>=2.0.0
111
+ PyPDF2>=3.0.0
112
+ deprecated>=1.2.14
113
+ reasoning-deployment-service==0.3.5
114
+ ```
115
+
116
+ Install with:
117
+
118
+ ```bash
119
+ pip install -r requirements.txt
120
+ ```
121
+
122
+ ---
123
+
124
+ ### ✅ my_agent/agent.py
125
+
126
+ Inside your agent folder (for example `my_agent`) you must define a variable called `root_agent`
127
+
128
+ Example:
129
+
130
+ ```python
131
+ from google.adk.agents import LlmAgent
132
+
133
+ root_agent = LlmAgent(
134
+ name="my_agent",
135
+ model="gemini-2.5-flash",
136
+ description="My reasoning agent",
137
+ instruction="You do not do a whole lot yet"
138
+ )
139
+ ```
140
+
141
+ This `root_agent` instance is what gets deployed
142
+ It can be an `LlmAgent`, `Agent`, or any derived class
143
+
144
+ ---
145
+
146
+ ### ✅ .env.agent
147
+
148
+ Environment specific config for DEV and PROD
149
+
150
+ Example:
151
+
152
+ ```env
153
+ DEV_PROJECT_ID=your-dev-project-id
154
+ DEV_PROJECT_NUMBER=123456789012
155
+ DEV_PROJECT_LOCATION=us-central1
156
+ DEV_STAGING_BUCKET=gs://your-dev-staging-bucket
157
+ DEV_AGENT_SPACE_ENGINE=your-dev-agentspace-engine
158
+ DEV_OAUTH_CLIENT_ID=your-dev-oauth-client-id.apps.googleusercontent.com
159
+ DEV_OAUTH_CLIENT_SECRET=your-dev-oauth-client-secret
160
+
161
+ PROD_PROJECT_ID=
162
+ PROD_PROJECT_NUMBER=
163
+ PROD_PROJECT_LOCATION=
164
+ PROD_STAGING_BUCKET=
165
+ PROD_AGENT_SPACE_ENGINE=
166
+ PROD_OAUTH_CLIENT_ID=
167
+ PROD_OAUTH_CLIENT_SECRET=
168
+
169
+ REASONING_DEPLOYMENT_VERSION=0.3.5
170
+
171
+ DEVELOPER=your.name
172
+ ```
173
+
174
+ ---
175
+
176
+ ### ✅ agent.yaml
177
+
178
+ Example starter file:
179
+
180
+ ```yaml
181
+ defaults:
182
+ scopes:
183
+ - https://www.googleapis.com/auth/cloud-platform
184
+ - https://www.googleapis.com/auth/userinfo.email
185
+ metadata:
186
+ reasoning_engine_name: reasoning-engine-dev
187
+ reasoning_engine_description: My Engine
188
+ agent_space_name: My Agent Space
189
+ agent_space_description: Example Agent Space
190
+ agent_space_tool_description: Example Tool
191
+ agent_folder: my_agent
192
+ auth:
193
+ oauth_authorization_id: test_auth
194
+ environment_variables:
195
+ - DEVELOPER
196
+ ```
197
+
198
+ ---
199
+
200
+ ## 🛠 Potential Issues
201
+
202
+ - If you cannot run `reasoning-deploy`, try deleting your venv and making a new one
203
+ - If you see a message saying you can only install on user site-packages, you will most likely need a fresh venv and new requirements install
204
+ - Always ensure you are running `reasoning-deploy` inside the venv where it was installed
205
+
206
+ ---
207
+
208
+ ## ⚠️ Experimental Notice
209
+
210
+ This tool is still experimental
211
+ If it takes longer than 20 to 30 minutes to set up, please go back to what already works for you and send logs and feedback to the development team
@@ -1,28 +1,29 @@
1
1
  reasoning_deployment_service/__init__.py,sha256=xDuKt9gGviQiTV6vXBdkBvygnlAOIrwnUjVaMGZy0L4,670
2
- reasoning_deployment_service/reasoning_deployment_service.py,sha256=0QHU2IqqojwFI2wPJ0izrskiHiwBfxdBEB9I_YxYbSA,29133
3
- reasoning_deployment_service/runner.py,sha256=e2Uu4DdRWuCHQI4H1x8Q6s1eMbBNoWFkBTnAaspK1tk,5413
2
+ reasoning_deployment_service/reasoning_deployment_service.py,sha256=HZLgyhwgg-MAc8mZkToTg5x9n-4eU7YrC54xZd0JYZc,38297
3
+ reasoning_deployment_service/runner.py,sha256=HH6EfiuC77Mtkqu7CE1VbjKC-D_wL3vMCpaE1VTa32c,5493
4
4
  reasoning_deployment_service/cli_editor/__init__.py,sha256=bN8NPkw8riB92pj2lAwJZuEMOQIO_RRuge0ehnJTW1I,118
5
- reasoning_deployment_service/cli_editor/api_client.py,sha256=PUXPWUslFOksKMrcKjJSK_gVJkTI0bO_bqtCEYeM85g,27897
6
- reasoning_deployment_service/cli_editor/cli_runner.py,sha256=w8jv2ep6TiYfpc_KnlvDOJ9hsCSuZcix4Rv4GQcZO4g,15729
5
+ reasoning_deployment_service/cli_editor/api_client.py,sha256=Kzx5iYp0MmowggrSmPLE7I2kt1-8xvdGBAgde9a1gCY,33681
6
+ reasoning_deployment_service/cli_editor/cli_runner.py,sha256=1KkHtgAhVZ7VHQj7o76JibLHnr7NMUB-tieDX_KrAcY,18239
7
7
  reasoning_deployment_service/cli_editor/config.py,sha256=lZ8Ng007NVdN1n5spJ0OFC72TOPFWKvPRxa9eKE-FDY,3573
8
8
  reasoning_deployment_service/cli_editor/google_deps.py,sha256=PhGwdKEC96GdlFHkQrtSJrg_-w1JoUPes3zvaz22rd0,771
9
9
  reasoning_deployment_service/cli_editor/reasoning_engine_creator.py,sha256=6QC8Y9yZAT8SYNkT_R00g_SSOYuwEkIxAN9lBG3br2k,19564
10
10
  reasoning_deployment_service/gui_editor/__init__.py,sha256=e5e88iNTk1GC243DRsQFi5E7PqMaT2SXmqOez9FbYzo,128
11
+ reasoning_deployment_service/gui_editor/agent_checkbox_list.py,sha256=ElxFqSgT3iUqDv2U9eR4eV-MfLUHqOXbDz6DqEEevOk,1783
11
12
  reasoning_deployment_service/gui_editor/main.py,sha256=4UzgGUga_xIYIWRVo-80PzhJ1Dlou8PaUXoRiLcLhp8,10914
12
13
  reasoning_deployment_service/gui_editor/src/__init__.py,sha256=q4YBECQGHtHV_TF4MyL36ElWe6tdVgmoNchN1lQU7z4,25
13
14
  reasoning_deployment_service/gui_editor/src/core/__init__.py,sha256=kH-6PxUQ-uVn79ihXN3eLyv_oFhReVsVz-f-kEK_qUo,46
14
- reasoning_deployment_service/gui_editor/src/core/api_client.py,sha256=rGyFKRyBY_MjRsnWxVI1IX1WAYTEfM1V5X3l1iR8GaI,26845
15
+ reasoning_deployment_service/gui_editor/src/core/api_client.py,sha256=-AWhwKxTUM_-s5gOyTECDzEBakJSj3ik4DwXbNL4bDM,30772
15
16
  reasoning_deployment_service/gui_editor/src/core/config.py,sha256=nQT7biTArZl4zsbSZuSD_G7CU7xTJ1bZ4VPfQkxbpX4,1817
16
17
  reasoning_deployment_service/gui_editor/src/core/google_deps.py,sha256=7mMSqtvclJewEBeb-0MevZ7FE0ZEOGHyXh5V73bhpRk,495
17
18
  reasoning_deployment_service/gui_editor/src/core/reasoning_engine_creator.py,sha256=6QC8Y9yZAT8SYNkT_R00g_SSOYuwEkIxAN9lBG3br2k,19564
18
19
  reasoning_deployment_service/gui_editor/src/ui/__init__.py,sha256=262ZiXO6Luk8vZnhCIoYxOtGiny0bXK-BTKjxUNBx-w,43
19
- reasoning_deployment_service/gui_editor/src/ui/agent_space_view.py,sha256=TV2f0_pkw5JCQRWjVPuS-iW92toW41kPJk-pR1C0oqQ,12471
20
- reasoning_deployment_service/gui_editor/src/ui/authorization_view.py,sha256=uiyN411qYe7V2pnPRNdvxRkOifI-aXFI6j2De2RZp1M,10956
20
+ reasoning_deployment_service/gui_editor/src/ui/agent_space_view.py,sha256=UTUMRFEzpUuRONl3K7bsCPRjZ_hiVE1s9fTsIHTZtSs,17130
21
+ reasoning_deployment_service/gui_editor/src/ui/authorization_view.py,sha256=BoNcGRFZ-Rb2pnOAAZxraP7yDdbwMJNvIrBrjMc_hbw,16970
21
22
  reasoning_deployment_service/gui_editor/src/ui/reasoning_engine_view.py,sha256=tCvSPEf4dW0NRdAqfs3yT5Pa873gYeLzCMMIt2r2T4o,14644
22
23
  reasoning_deployment_service/gui_editor/src/ui/reasoning_engines_view.py,sha256=IRjFlBbY98usAZa0roOonjvWQOsF6NBW4bBg_k8KnKI,7860
23
24
  reasoning_deployment_service/gui_editor/src/ui/ui_components.py,sha256=HdQHy-oSZ3GobQ3FNdH7y_w3ANbFiuf2rMoflAmff0A,55366
24
- reasoning_deployment_service-0.3.5.dist-info/METADATA,sha256=t6j6T_kXXQuzStSR53_2h1WUfB_wDyvxOLT27Gmpr6s,4991
25
- reasoning_deployment_service-0.3.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
- reasoning_deployment_service-0.3.5.dist-info/entry_points.txt,sha256=onGKjR5ONTtRv3aqEtK863iw9Ty1kLcjfZlsplkRZrA,84
27
- reasoning_deployment_service-0.3.5.dist-info/top_level.txt,sha256=GKuQS1xHUYLZbatw9DmcYdBxxLhWhhGkV4FmFxgKdp0,29
28
- reasoning_deployment_service-0.3.5.dist-info/RECORD,,
25
+ reasoning_deployment_service-0.3.7.dist-info/METADATA,sha256=O64D_CXQKcexIEf1V84DYWa67XaFKTQ6kDwYxA6U4sw,5302
26
+ reasoning_deployment_service-0.3.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
+ reasoning_deployment_service-0.3.7.dist-info/entry_points.txt,sha256=onGKjR5ONTtRv3aqEtK863iw9Ty1kLcjfZlsplkRZrA,84
28
+ reasoning_deployment_service-0.3.7.dist-info/top_level.txt,sha256=GKuQS1xHUYLZbatw9DmcYdBxxLhWhhGkV4FmFxgKdp0,29
29
+ reasoning_deployment_service-0.3.7.dist-info/RECORD,,
@@ -1,183 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: reasoning-deployment-service
3
- Version: 0.3.5
4
- Summary: Deployment helper for Vertex AI Reasoning Engines & Agent Spaces
5
- Author-email: Sergio Estrada <sergio.estrada@accenture.com>
6
- License: Apache-2.0
7
- Project-URL: Homepage, https://github.com/AxG-AI-Exchange-GenAI-Initiative/AIXAgentDeploymentService
8
- Project-URL: Repository, https://github.com/AxG-AI-Exchange-GenAI-Initiative/AIXAgentDeploymentService
9
- Project-URL: Issues, https://github.com/AxG-AI-Exchange-GenAI-Initiative/AIXAgentDeploymentService/issues
10
- Requires-Python: >=3.9
11
- Description-Content-Type: text/markdown
12
- Requires-Dist: requests>=2.28
13
- Requires-Dist: python-dotenv>=1.0
14
- Requires-Dist: google-auth>=2.20
15
- Requires-Dist: google-cloud-storage>=2.16
16
- Requires-Dist: google-cloud-aiplatform[adk,agent-engines]>=1.88.0
17
- Requires-Dist: protobuf<7.0.0,>=4.21
18
- Requires-Dist: keyring>=24.0
19
- Requires-Dist: keyrings.google-artifactregistry-auth>=1.1
20
- Requires-Dist: PyYAML>=6.0
21
- Requires-Dist: click>=8.0
22
- Provides-Extra: dev
23
- Requires-Dist: pytest; extra == "dev"
24
- Requires-Dist: build; extra == "dev"
25
- Requires-Dist: twine; extra == "dev"
26
- Requires-Dist: black; extra == "dev"
27
- Requires-Dist: ruff; extra == "dev"
28
-
29
- # Reasoning Deployment Service
30
-
31
- A comprehensive service for deploying reasoning agents with CLI and GUI editors.
32
-
33
- ## Installation
34
-
35
- ### Basic Installation (Core deployment service only)
36
-
37
- ```bash
38
- pip install reasoning-deployment-service
39
- ```
40
-
41
- ### Installation with GUI Editor
42
-
43
- ```bash
44
- pip install "reasoning-deployment-service[gui]"
45
- ```
46
-
47
- ### Installation with CLI Editor
48
-
49
- ```bash
50
- pip install "reasoning-deployment-service[cli]"
51
- ```
52
-
53
- ### Full Installation (Everything)
54
-
55
- ```bash
56
- pip install "reasoning-deployment-service[full]"
57
- ```
58
-
59
- ## Quick Start
60
-
61
- ### Using the Deploy Script (Recommended)
62
-
63
- The easiest way to get started is using the provided deploy script:
64
-
65
- ```bash
66
- # Download and run the deploy script
67
- curl -O https://raw.githubusercontent.com/your-org/AIXAgentDeploymentService/main/deploy.sh
68
- chmod +x deploy.sh
69
- ./deploy.sh
70
- ```
71
-
72
- The deploy script will:
73
-
74
- - Set up a virtual environment
75
- - Install all necessary dependencies
76
- - Create a `deploy.py` file configured for your agent
77
- - Run the deployment
78
-
79
- ## Manual Usage
80
-
81
- ### Core Deployment Service
82
-
83
- The main deployment service for reasoning engines:
84
-
85
- ```python
86
- from reasoning_deployment_service import ReasoningEngineDeploymentService
87
- from google.adk.agents import BaseAgent
88
-
89
- # Your agent implementation
90
- class MyAgent(BaseAgent):
91
- # ... your agent implementation
92
-
93
- # Deploy using the service
94
- agent = MyAgent()
95
- deployment_service = ReasoningEngineDeploymentService(
96
- root_agent=agent,
97
- deployment_environment="DEV" # or "PROD"
98
- )
99
-
100
- # Deploy everything
101
- deployment_service.one_deployment_with_everything_on_it()
102
- ```
103
-
104
- ### CLI Editor (Optional)
105
-
106
- For command-line management of reasoning engines and agent spaces:
107
-
108
- ```python
109
- from reasoning_deployment_service.cli_editor import CLIRunner
110
-
111
- # Start the CLI interface
112
- cli = CLIRunner()
113
- cli.run()
114
- ```
115
-
116
- ### GUI Editor (Optional)
117
-
118
- For graphical management interface:
119
-
120
- ```python
121
- from reasoning_deployment_service.gui_editor import GUIEditor
122
-
123
- # Start the GUI application
124
- app = GUIEditor()
125
- app.mainloop()
126
- ```
127
-
128
- ## Configuration
129
-
130
- Create a `.env` file with your deployment environment variables:
131
-
132
- ```bash
133
- # Development Profile
134
- DEV_PROJECT_ID=your-project-id
135
- DEV_PROJECT_NUMBER=your-project-number
136
- DEV_PROJECT_LOCATION=us-central1
137
- DEV_STAGING_BUCKET=gs://your-staging-bucket
138
- DEV_AGENT_SPACE_ENGINE=your-agent-space-engine
139
- DEV_OAUTH_CLIENT_ID=your-oauth-client-id
140
- DEV_OAUTH_CLIENT_SECRET=your-oauth-client-secret
141
-
142
- # Production Profile
143
- PROD_PROJECT_ID=your-prod-project-id
144
- PROD_PROJECT_NUMBER=your-prod-project-number
145
- # ... etc
146
- ```
147
-
148
- Create an `aix_agent.yaml` file with your agent metadata:
149
-
150
- ```yaml
151
- defaults:
152
- scopes:
153
- - "https://www.googleapis.com/auth/cloud-platform"
154
- metadata:
155
- reasoning_engine_name: "my-reasoning-engine"
156
- reasoning_engine_description: "My custom reasoning engine"
157
- agent_space_name: "my-agent-space"
158
- agent_space_description: "My agent space"
159
- agent_space_tool_description: "Tool description"
160
- auth:
161
- oauth_authorization_id: "my-auth-id"
162
- environment_variables:
163
- - "CUSTOM_VAR=value"
164
- ```
165
-
166
- ## Dependency Management
167
-
168
- Dependencies are now centrally managed in `setup.py`:
169
-
170
- - **Core dependencies**: Installed automatically with the base package
171
- - **GUI dependencies**: Install with `[gui]` extra for tkinter-based interface
172
- - **CLI dependencies**: Install with `[cli]` extra (currently no additional deps)
173
- - **Full dependencies**: Install with `[full]` extra for complete functionality
174
-
175
- ## Modular Usage
176
-
177
- Each component can be used independently:
178
-
179
- - **Core Service**: Just use `ReasoningEngineDeploymentService` for programmatic deployment
180
- - **CLI Editor**: Add `cli_editor` for command-line management
181
- - **GUI Editor**: Add `gui_editor` for graphical interface
182
-
183
- The package is designed so users can import only what they need and instantiate the components they want to use.