reasoning-deployment-service 0.2.8__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.

Files changed (29) hide show
  1. examples/programmatic_usage.py +154 -0
  2. reasoning_deployment_service/__init__.py +25 -0
  3. reasoning_deployment_service/cli_editor/__init__.py +5 -0
  4. reasoning_deployment_service/cli_editor/api_client.py +666 -0
  5. reasoning_deployment_service/cli_editor/cli_runner.py +343 -0
  6. reasoning_deployment_service/cli_editor/config.py +82 -0
  7. reasoning_deployment_service/cli_editor/google_deps.py +29 -0
  8. reasoning_deployment_service/cli_editor/reasoning_engine_creator.py +448 -0
  9. reasoning_deployment_service/gui_editor/__init__.py +5 -0
  10. reasoning_deployment_service/gui_editor/main.py +280 -0
  11. reasoning_deployment_service/gui_editor/requirements_minimal.txt +54 -0
  12. reasoning_deployment_service/gui_editor/run_program.sh +55 -0
  13. reasoning_deployment_service/gui_editor/src/__init__.py +1 -0
  14. reasoning_deployment_service/gui_editor/src/core/__init__.py +1 -0
  15. reasoning_deployment_service/gui_editor/src/core/api_client.py +647 -0
  16. reasoning_deployment_service/gui_editor/src/core/config.py +43 -0
  17. reasoning_deployment_service/gui_editor/src/core/google_deps.py +22 -0
  18. reasoning_deployment_service/gui_editor/src/core/reasoning_engine_creator.py +448 -0
  19. reasoning_deployment_service/gui_editor/src/ui/__init__.py +1 -0
  20. reasoning_deployment_service/gui_editor/src/ui/agent_space_view.py +312 -0
  21. reasoning_deployment_service/gui_editor/src/ui/authorization_view.py +280 -0
  22. reasoning_deployment_service/gui_editor/src/ui/reasoning_engine_view.py +354 -0
  23. reasoning_deployment_service/gui_editor/src/ui/reasoning_engines_view.py +204 -0
  24. reasoning_deployment_service/gui_editor/src/ui/ui_components.py +1221 -0
  25. reasoning_deployment_service/reasoning_deployment_service.py +687 -0
  26. reasoning_deployment_service-0.2.8.dist-info/METADATA +177 -0
  27. reasoning_deployment_service-0.2.8.dist-info/RECORD +29 -0
  28. reasoning_deployment_service-0.2.8.dist-info/WHEEL +5 -0
  29. reasoning_deployment_service-0.2.8.dist-info/top_level.txt +2 -0
@@ -0,0 +1,177 @@
1
+ Metadata-Version: 2.4
2
+ Name: reasoning-deployment-service
3
+ Version: 0.2.8
4
+ Summary: Deployment helper for Vertex AI Reasoning Engines & Agent Spaces
5
+ Author: AxG-AI-Exchange-GenAI-Initiative
6
+ Author-email: Sergio Estrada <sergio.estrada@accenture.com>
7
+ License: Apache-2.0
8
+ Requires-Python: >=3.7
9
+ Description-Content-Type: text/markdown
10
+ Requires-Dist: requests>=2.28
11
+ Requires-Dist: python-dotenv>=1.0
12
+ Requires-Dist: google-auth>=2.20
13
+ Requires-Dist: google-cloud-storage>=2.16
14
+ Requires-Dist: keyring>=24.0
15
+ Requires-Dist: keyrings.google-artifactregistry-auth>=1.1
16
+ Provides-Extra: dev
17
+ Requires-Dist: pytest; extra == "dev"
18
+ Requires-Dist: build; extra == "dev"
19
+ Requires-Dist: twine; extra == "dev"
20
+ Dynamic: author
21
+ Dynamic: requires-python
22
+
23
+ # Reasoning Deployment Service
24
+
25
+ A comprehensive service for deploying reasoning agents with CLI and GUI editors.
26
+
27
+ ## Installation
28
+
29
+ ### Basic Installation (Core deployment service only)
30
+
31
+ ```bash
32
+ pip install reasoning-deployment-service
33
+ ```
34
+
35
+ ### Installation with GUI Editor
36
+
37
+ ```bash
38
+ pip install "reasoning-deployment-service[gui]"
39
+ ```
40
+
41
+ ### Installation with CLI Editor
42
+
43
+ ```bash
44
+ pip install "reasoning-deployment-service[cli]"
45
+ ```
46
+
47
+ ### Full Installation (Everything)
48
+
49
+ ```bash
50
+ pip install "reasoning-deployment-service[full]"
51
+ ```
52
+
53
+ ## Quick Start
54
+
55
+ ### Using the Deploy Script (Recommended)
56
+
57
+ The easiest way to get started is using the provided deploy script:
58
+
59
+ ```bash
60
+ # Download and run the deploy script
61
+ curl -O https://raw.githubusercontent.com/your-org/AIXAgentDeploymentService/main/deploy.sh
62
+ chmod +x deploy.sh
63
+ ./deploy.sh
64
+ ```
65
+
66
+ The deploy script will:
67
+
68
+ - Set up a virtual environment
69
+ - Install all necessary dependencies
70
+ - Create a `deploy.py` file configured for your agent
71
+ - Run the deployment
72
+
73
+ ## Manual Usage
74
+
75
+ ### Core Deployment Service
76
+
77
+ The main deployment service for reasoning engines:
78
+
79
+ ```python
80
+ from reasoning_deployment_service import ReasoningEngineDeploymentService
81
+ from google.adk.agents import BaseAgent
82
+
83
+ # Your agent implementation
84
+ class MyAgent(BaseAgent):
85
+ # ... your agent implementation
86
+
87
+ # Deploy using the service
88
+ agent = MyAgent()
89
+ deployment_service = ReasoningEngineDeploymentService(
90
+ root_agent=agent,
91
+ deployment_environment="DEV" # or "PROD"
92
+ )
93
+
94
+ # Deploy everything
95
+ deployment_service.one_deployment_with_everything_on_it()
96
+ ```
97
+
98
+ ### CLI Editor (Optional)
99
+
100
+ For command-line management of reasoning engines and agent spaces:
101
+
102
+ ```python
103
+ from reasoning_deployment_service.cli_editor import CLIRunner
104
+
105
+ # Start the CLI interface
106
+ cli = CLIRunner()
107
+ cli.run()
108
+ ```
109
+
110
+ ### GUI Editor (Optional)
111
+
112
+ For graphical management interface:
113
+
114
+ ```python
115
+ from reasoning_deployment_service.gui_editor import GUIEditor
116
+
117
+ # Start the GUI application
118
+ app = GUIEditor()
119
+ app.mainloop()
120
+ ```
121
+
122
+ ## Configuration
123
+
124
+ Create a `.env` file with your deployment environment variables:
125
+
126
+ ```bash
127
+ # Development Profile
128
+ DEV_PROJECT_ID=your-project-id
129
+ DEV_PROJECT_NUMBER=your-project-number
130
+ DEV_PROJECT_LOCATION=us-central1
131
+ DEV_STAGING_BUCKET=gs://your-staging-bucket
132
+ DEV_AGENT_SPACE_ENGINE=your-agent-space-engine
133
+ DEV_OAUTH_CLIENT_ID=your-oauth-client-id
134
+ DEV_OAUTH_CLIENT_SECRET=your-oauth-client-secret
135
+
136
+ # Production Profile
137
+ PROD_PROJECT_ID=your-prod-project-id
138
+ PROD_PROJECT_NUMBER=your-prod-project-number
139
+ # ... etc
140
+ ```
141
+
142
+ Create an `aix_agent.yaml` file with your agent metadata:
143
+
144
+ ```yaml
145
+ defaults:
146
+ scopes:
147
+ - "https://www.googleapis.com/auth/cloud-platform"
148
+ metadata:
149
+ reasoning_engine_name: "my-reasoning-engine"
150
+ reasoning_engine_description: "My custom reasoning engine"
151
+ agent_space_name: "my-agent-space"
152
+ agent_space_description: "My agent space"
153
+ agent_space_tool_description: "Tool description"
154
+ auth:
155
+ oauth_authorization_id: "my-auth-id"
156
+ environment_variables:
157
+ - "CUSTOM_VAR=value"
158
+ ```
159
+
160
+ ## Dependency Management
161
+
162
+ Dependencies are now centrally managed in `setup.py`:
163
+
164
+ - **Core dependencies**: Installed automatically with the base package
165
+ - **GUI dependencies**: Install with `[gui]` extra for tkinter-based interface
166
+ - **CLI dependencies**: Install with `[cli]` extra (currently no additional deps)
167
+ - **Full dependencies**: Install with `[full]` extra for complete functionality
168
+
169
+ ## Modular Usage
170
+
171
+ Each component can be used independently:
172
+
173
+ - **Core Service**: Just use `ReasoningEngineDeploymentService` for programmatic deployment
174
+ - **CLI Editor**: Add `cli_editor` for command-line management
175
+ - **GUI Editor**: Add `gui_editor` for graphical interface
176
+
177
+ The package is designed so users can import only what they need and instantiate the components they want to use.
@@ -0,0 +1,29 @@
1
+ examples/programmatic_usage.py,sha256=tfJKPhz3BG8bjK1woiczbRJp6Z1YXN6BLcPF5fO2MxA,4800
2
+ reasoning_deployment_service/__init__.py,sha256=xDuKt9gGviQiTV6vXBdkBvygnlAOIrwnUjVaMGZy0L4,670
3
+ reasoning_deployment_service/reasoning_deployment_service.py,sha256=0QHU2IqqojwFI2wPJ0izrskiHiwBfxdBEB9I_YxYbSA,29133
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
7
+ reasoning_deployment_service/cli_editor/config.py,sha256=lZ8Ng007NVdN1n5spJ0OFC72TOPFWKvPRxa9eKE-FDY,3573
8
+ reasoning_deployment_service/cli_editor/google_deps.py,sha256=PhGwdKEC96GdlFHkQrtSJrg_-w1JoUPes3zvaz22rd0,771
9
+ reasoning_deployment_service/cli_editor/reasoning_engine_creator.py,sha256=6QC8Y9yZAT8SYNkT_R00g_SSOYuwEkIxAN9lBG3br2k,19564
10
+ reasoning_deployment_service/gui_editor/__init__.py,sha256=e5e88iNTk1GC243DRsQFi5E7PqMaT2SXmqOez9FbYzo,128
11
+ reasoning_deployment_service/gui_editor/main.py,sha256=4UzgGUga_xIYIWRVo-80PzhJ1Dlou8PaUXoRiLcLhp8,10914
12
+ reasoning_deployment_service/gui_editor/requirements_minimal.txt,sha256=tiv36KUcIx496Ewuh_FqXyhMhGOrtqsYfKEdn85XXYQ,1179
13
+ reasoning_deployment_service/gui_editor/run_program.sh,sha256=xfim6JJiDc7KtGckcVl_K732WtZYfvBogLfslYBXb0Q,1489
14
+ reasoning_deployment_service/gui_editor/src/__init__.py,sha256=q4YBECQGHtHV_TF4MyL36ElWe6tdVgmoNchN1lQU7z4,25
15
+ reasoning_deployment_service/gui_editor/src/core/__init__.py,sha256=kH-6PxUQ-uVn79ihXN3eLyv_oFhReVsVz-f-kEK_qUo,46
16
+ reasoning_deployment_service/gui_editor/src/core/api_client.py,sha256=rGyFKRyBY_MjRsnWxVI1IX1WAYTEfM1V5X3l1iR8GaI,26845
17
+ reasoning_deployment_service/gui_editor/src/core/config.py,sha256=nQT7biTArZl4zsbSZuSD_G7CU7xTJ1bZ4VPfQkxbpX4,1817
18
+ reasoning_deployment_service/gui_editor/src/core/google_deps.py,sha256=7mMSqtvclJewEBeb-0MevZ7FE0ZEOGHyXh5V73bhpRk,495
19
+ reasoning_deployment_service/gui_editor/src/core/reasoning_engine_creator.py,sha256=6QC8Y9yZAT8SYNkT_R00g_SSOYuwEkIxAN9lBG3br2k,19564
20
+ reasoning_deployment_service/gui_editor/src/ui/__init__.py,sha256=262ZiXO6Luk8vZnhCIoYxOtGiny0bXK-BTKjxUNBx-w,43
21
+ reasoning_deployment_service/gui_editor/src/ui/agent_space_view.py,sha256=TV2f0_pkw5JCQRWjVPuS-iW92toW41kPJk-pR1C0oqQ,12471
22
+ reasoning_deployment_service/gui_editor/src/ui/authorization_view.py,sha256=uiyN411qYe7V2pnPRNdvxRkOifI-aXFI6j2De2RZp1M,10956
23
+ reasoning_deployment_service/gui_editor/src/ui/reasoning_engine_view.py,sha256=tCvSPEf4dW0NRdAqfs3yT5Pa873gYeLzCMMIt2r2T4o,14644
24
+ reasoning_deployment_service/gui_editor/src/ui/reasoning_engines_view.py,sha256=IRjFlBbY98usAZa0roOonjvWQOsF6NBW4bBg_k8KnKI,7860
25
+ reasoning_deployment_service/gui_editor/src/ui/ui_components.py,sha256=HdQHy-oSZ3GobQ3FNdH7y_w3ANbFiuf2rMoflAmff0A,55366
26
+ reasoning_deployment_service-0.2.8.dist-info/METADATA,sha256=5UZrpELC02n3AJeDShk14zQ3rqnO7xrL50WcqrCwBdA,4534
27
+ reasoning_deployment_service-0.2.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
+ reasoning_deployment_service-0.2.8.dist-info/top_level.txt,sha256=9pxE8mfd3G_ajdKYLqCtTJvpxhz4lhEqPDkb_2AS9ZQ,38
29
+ reasoning_deployment_service-0.2.8.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ examples
2
+ reasoning_deployment_service