agent-starter-pack 0.17.5__py3-none-any.whl → 0.18.1__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 agent-starter-pack might be problematic. Click here for more details.
- agent_starter_pack/base_template/Makefile +24 -2
- agent_starter_pack/base_template/README.md +14 -10
- agent_starter_pack/base_template/deployment/terraform/github.tf +19 -1
- agent_starter_pack/cli/utils/register_gemini_enterprise.py +406 -0
- agent_starter_pack/data_ingestion/data_ingestion_pipeline/submit_pipeline.py +20 -6
- agent_starter_pack/data_ingestion/pyproject.toml +1 -0
- agent_starter_pack/data_ingestion/uv.lock +562 -551
- agent_starter_pack/deployment_targets/agent_engine/tests/load_test/README.md +1 -1
- agent_starter_pack/deployment_targets/agent_engine/{{cookiecutter.agent_directory}}/utils/deployment.py +12 -7
- {agent_starter_pack-0.17.5.dist-info → agent_starter_pack-0.18.1.dist-info}/METADATA +3 -2
- {agent_starter_pack-0.17.5.dist-info → agent_starter_pack-0.18.1.dist-info}/RECORD +15 -19
- agent_starter_pack-0.18.1.dist-info/entry_points.txt +3 -0
- llm.txt +2 -2
- agent_starter_pack/resources/containers/data_processing/Dockerfile +0 -27
- agent_starter_pack/resources/containers/e2e-tests/Dockerfile +0 -41
- agent_starter_pack/resources/idx/.idx/dev.nix +0 -64
- agent_starter_pack/resources/idx/idx-template.json +0 -6
- agent_starter_pack/resources/idx/idx-template.nix +0 -25
- agent_starter_pack-0.17.5.dist-info/entry_points.txt +0 -2
- {agent_starter_pack-0.17.5.dist-info → agent_starter_pack-0.18.1.dist-info}/WHEEL +0 -0
- {agent_starter_pack-0.17.5.dist-info → agent_starter_pack-0.18.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -71,8 +71,10 @@ def print_deployment_success(
|
|
|
71
71
|
location: GCP region where the agent was deployed
|
|
72
72
|
project: GCP project ID
|
|
73
73
|
"""
|
|
74
|
-
# Extract agent engine ID for console URL
|
|
75
|
-
|
|
74
|
+
# Extract agent engine ID and project number for console URL
|
|
75
|
+
resource_name_parts = remote_agent.api_resource.name.split("/")
|
|
76
|
+
agent_engine_id = resource_name_parts[-1]
|
|
77
|
+
project_number = resource_name_parts[1]
|
|
76
78
|
console_url = f"https://console.cloud.google.com/vertex-ai/agents/locations/{location}/agent-engines/{agent_engine_id}?project={project}"
|
|
77
79
|
|
|
78
80
|
{%- if cookiecutter.is_adk %}
|
|
@@ -83,12 +85,15 @@ def print_deployment_success(
|
|
|
83
85
|
"\n✅ Deployment successful! Test your agent: notebooks/adk_app_testing.ipynb"
|
|
84
86
|
)
|
|
85
87
|
{%- endif %}
|
|
86
|
-
service_account = remote_agent.api_resource.spec.service_account
|
|
87
|
-
print(f"Service Account: {service_account}")
|
|
88
|
-
print(f"\n📊 View in console: {console_url}\n")
|
|
89
88
|
{%- else %}
|
|
90
89
|
print("\n✅ Deployment successful!")
|
|
90
|
+
{%- endif %}
|
|
91
91
|
service_account = remote_agent.api_resource.spec.service_account
|
|
92
|
-
|
|
92
|
+
if service_account:
|
|
93
|
+
print(f"Service Account: {service_account}")
|
|
94
|
+
else:
|
|
95
|
+
default_sa = (
|
|
96
|
+
f"service-{project_number}@gcp-sa-aiplatform-re.iam.gserviceaccount.com"
|
|
97
|
+
)
|
|
98
|
+
print(f"Service Account: {default_sa}")
|
|
93
99
|
print(f"\n📊 View in console: {console_url}\n")
|
|
94
|
-
{%- endif %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-starter-pack
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.18.1
|
|
4
4
|
Summary: CLI to bootstrap production-ready Google Cloud GenAI agent projects from templates.
|
|
5
5
|
Author-email: Google LLC <agent-starter-pack@google.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -11,6 +11,7 @@ Requires-Dist: click>=8.1.7
|
|
|
11
11
|
Requires-Dist: cookiecutter<3.0.0,>=2.6.0
|
|
12
12
|
Requires-Dist: google-cloud-aiplatform>=1.120.0
|
|
13
13
|
Requires-Dist: pyyaml>=6.0.1
|
|
14
|
+
Requires-Dist: requests>=2.31.0
|
|
14
15
|
Requires-Dist: rich>=13.7.0
|
|
15
16
|
Requires-Dist: tomli>=1.1.0; python_version < '3.11'
|
|
16
17
|
Provides-Extra: jupyter
|
|
@@ -45,7 +46,7 @@ Focus on your agent logic—the starter pack provides everything else: infrastru
|
|
|
45
46
|
|
|
46
47
|
| ⚡️ Launch | 🧪 Experiment | ✅ Deploy | 🛠️ Customize |
|
|
47
48
|
|---|---|---|---|
|
|
48
|
-
| [Pre-built agent templates](./agents/) (ReAct, RAG, multi-agent, Live API). | [Vertex AI evaluation](https://cloud.google.com/vertex-ai/generative-ai/docs/models/evaluation-overview) and an interactive playground. | Production-ready infra with [monitoring, observability](https://googlecloudplatform.github.io/agent-starter-pack/guide/observability), and [CI/CD](https://googlecloudplatform.github.io/agent-starter-pack/guide/deployment) on [Cloud Run](https://cloud.google.com/run) or [Agent Engine](https://cloud.google.com/vertex-ai/generative-ai/docs/agent-engine/overview). | Extend and customize templates according to your needs. 🆕 Now integrating with [Gemini CLI](https://github.com/google-gemini/gemini-cli) |
|
|
49
|
+
| [Pre-built agent templates](./agent_starter_pack/agents/) (ReAct, RAG, multi-agent, Live API). | [Vertex AI evaluation](https://cloud.google.com/vertex-ai/generative-ai/docs/models/evaluation-overview) and an interactive playground. | Production-ready infra with [monitoring, observability](https://googlecloudplatform.github.io/agent-starter-pack/guide/observability), and [CI/CD](https://googlecloudplatform.github.io/agent-starter-pack/guide/deployment) on [Cloud Run](https://cloud.google.com/run) or [Agent Engine](https://cloud.google.com/vertex-ai/generative-ai/docs/agent-engine/overview). | Extend and customize templates according to your needs. 🆕 Now integrating with [Gemini CLI](https://github.com/google-gemini/gemini-cli) |
|
|
49
50
|
|
|
50
51
|
---
|
|
51
52
|
|
|
@@ -35,12 +35,12 @@ agent_starter_pack/agents/langgraph_base_react/notebooks/evaluating_langgraph_ag
|
|
|
35
35
|
agent_starter_pack/agents/langgraph_base_react/tests/integration/test_agent.py,sha256=xy0A_3eGhxM8A5rc81revMztJN5GtFA-o5-CG5JzeQw,1630
|
|
36
36
|
agent_starter_pack/base_template/.gitignore,sha256=Fq0w34x4sfbwP4RqDqh6hdHNYRUEsFNI-9XONzLWBIs,2580
|
|
37
37
|
agent_starter_pack/base_template/GEMINI.md,sha256=ApNsGamVPBsrKeI77p6QxU2-sJE6k3wGwSLVvNa-YGA,126
|
|
38
|
-
agent_starter_pack/base_template/Makefile,sha256=
|
|
39
|
-
agent_starter_pack/base_template/README.md,sha256=
|
|
38
|
+
agent_starter_pack/base_template/Makefile,sha256=t1MmM_37hjYJnFiPUMYjh1GDL-AJrOkWLEek9I_Q7U8,13085
|
|
39
|
+
agent_starter_pack/base_template/README.md,sha256=GRDAEcw1shZKxJt6-oVSj7s1IU1EdSQehBNqqS2B17k,10511
|
|
40
40
|
agent_starter_pack/base_template/pyproject.toml,sha256=Tc1hPD-o8GtU6YJAkkB2JagTJ5aObdjmjCZuGB4oCb0,3028
|
|
41
41
|
agent_starter_pack/base_template/deployment/README.md,sha256=gZJvSWdQh_Mi-bZ3dmuPv7fMezIw04fgN5tq7KgglPw,692
|
|
42
42
|
agent_starter_pack/base_template/deployment/terraform/apis.tf,sha256=KX8Oe2gjT-gh9Bkntz9yIAyRjPc1gZvwOhroJ6NZVp4,1513
|
|
43
|
-
agent_starter_pack/base_template/deployment/terraform/github.tf,sha256=
|
|
43
|
+
agent_starter_pack/base_template/deployment/terraform/github.tf,sha256=LqR6xtGq19wB8AujBLcshzJQO0E-RIYYf5_uj80IEO4,12115
|
|
44
44
|
agent_starter_pack/base_template/deployment/terraform/iam.tf,sha256=I70ROOjXcYiqxtzuak6n0ZNhkjH6vjOzykXQG1Zi1dE,4700
|
|
45
45
|
agent_starter_pack/base_template/deployment/terraform/locals.tf,sha256=UiZfZn-3aC3dcpV0eLaO0k7CJKhRxgV3mhtxj8MDoVs,1646
|
|
46
46
|
agent_starter_pack/base_template/deployment/terraform/log_sinks.tf,sha256=GIgpKflW516C2gPp7F4zYK6ftiVF_2VkccCxeb2OgJs,2977
|
|
@@ -78,25 +78,26 @@ agent_starter_pack/cli/utils/cicd.py,sha256=l9hPdqFXo5SxdtOG1yEoQdmRff5vNcqf0sqx
|
|
|
78
78
|
agent_starter_pack/cli/utils/datastores.py,sha256=gv1V6eDcOEKx4MRNG5C3Y-VfixYq1AzQuaYMLp8QRNo,1058
|
|
79
79
|
agent_starter_pack/cli/utils/gcp.py,sha256=N6pvNU9gT6DpS7Peipfs57ckvqcUWU7OK1zdqBcQV0M,9276
|
|
80
80
|
agent_starter_pack/cli/utils/logging.py,sha256=61ulUY1hUrpxHDFi0szqsjPlrpxdBvwzfYEEV0o97GA,3530
|
|
81
|
+
agent_starter_pack/cli/utils/register_gemini_enterprise.py,sha256=KV9loXLjro4ZtSxvQAQ4Jhw4ZPmkLR2MZ3LtMQG6p1o,14865
|
|
81
82
|
agent_starter_pack/cli/utils/remote_template.py,sha256=lWfC1_Vx_m4SD-wVHb8tiGfobOH1-o_eWaM1264rwGs,24128
|
|
82
83
|
agent_starter_pack/cli/utils/template.py,sha256=9U3eZOqISbCQ-uOmGwLCWagTDjaGPmIKqiei1XiID8w,52459
|
|
83
84
|
agent_starter_pack/cli/utils/version.py,sha256=F4udQmzniPStqWZFIgnv3Qg3l9non4mfy2An-Oveqmc,2916
|
|
84
85
|
agent_starter_pack/data_ingestion/README.md,sha256=LNxSQoJW9JozK-TbyGQLj5L_MGWNwrfLk6V6RmQ2oBQ,4032
|
|
85
|
-
agent_starter_pack/data_ingestion/pyproject.toml,sha256
|
|
86
|
-
agent_starter_pack/data_ingestion/uv.lock,sha256=
|
|
86
|
+
agent_starter_pack/data_ingestion/pyproject.toml,sha256=w2yypeMM6uA7OWHrLU3SY9NlRgltRA57_NIDyJi8Dfg,467
|
|
87
|
+
agent_starter_pack/data_ingestion/uv.lock,sha256=8uA0_O4IkvDJ00OKAAP_XFOebYf4zCmy6q8owAeS1Bw,186598
|
|
87
88
|
agent_starter_pack/data_ingestion/data_ingestion_pipeline/pipeline.py,sha256=UAS6dxV954yARP0NdDbCf5kzap3NfmoX52eZ2mZtWXs,3331
|
|
88
|
-
agent_starter_pack/data_ingestion/data_ingestion_pipeline/submit_pipeline.py,sha256=
|
|
89
|
+
agent_starter_pack/data_ingestion/data_ingestion_pipeline/submit_pipeline.py,sha256=yfd8OIeBD1TuUwDb0d40FQIKxB-0I_YxuyF6VQrCYaM,8251
|
|
89
90
|
agent_starter_pack/data_ingestion/data_ingestion_pipeline/components/ingest_data.py,sha256=QbPmk6V7JPGo5Yc1BhL-1W_t9CXEN0iY5NKaGWlfSbM,10667
|
|
90
91
|
agent_starter_pack/data_ingestion/data_ingestion_pipeline/components/process_data.py,sha256=8vubxkykRpx-d89H1XYGO3yXz4hxhihhGDgDR3s-XZ4,22045
|
|
91
92
|
agent_starter_pack/deployment_targets/agent_engine/deployment_metadata.json,sha256=G_t_n-UNrFsBgH1Xrw5-ZqYzUGwZ4X6ipsIm_yiSq-w,72
|
|
92
93
|
agent_starter_pack/deployment_targets/agent_engine/deployment/terraform/{% if not cookiecutter.is_adk_live %}service.tf{% else %}unused_service.tf{% endif %},sha256=q1tQoWo7jcrDd8fjYez26_7zlkxwQ9Qws849yAax6pY,2996
|
|
93
94
|
agent_starter_pack/deployment_targets/agent_engine/notebooks/intro_agent_engine.ipynb,sha256=RE6Gp-bu4bHtNBngfkt_CF5emy5YcOWQ5rMYW_Cv8_w,48809
|
|
94
95
|
agent_starter_pack/deployment_targets/agent_engine/tests/integration/test_agent_engine_app.py,sha256=UtC4hmR5rP5ZfJTkF57tksrfTJqOGRzxVtxx4seDbyg,12675
|
|
95
|
-
agent_starter_pack/deployment_targets/agent_engine/tests/load_test/README.md,sha256=
|
|
96
|
+
agent_starter_pack/deployment_targets/agent_engine/tests/load_test/README.md,sha256=EqcoOuVy7LIKLcQimhZ-24x0get2JZA2IOM9AFjQsWc,2873
|
|
96
97
|
agent_starter_pack/deployment_targets/agent_engine/tests/load_test/load_test.py,sha256=sZewuwPQwgrfaYCo7IjIhIN9REFXP-rhJbtW236EuGA,9110
|
|
97
98
|
agent_starter_pack/deployment_targets/agent_engine/tests/load_test/.results/.placeholder,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
98
99
|
agent_starter_pack/deployment_targets/agent_engine/{{cookiecutter.agent_directory}}/agent_engine_app.py,sha256=qKEz1z2pD5IpFBq7IhT0GtFpPdbUu54gca10qZKe6Yw,13246
|
|
99
|
-
agent_starter_pack/deployment_targets/agent_engine/{{cookiecutter.agent_directory}}/utils/deployment.py,sha256=
|
|
100
|
+
agent_starter_pack/deployment_targets/agent_engine/{{cookiecutter.agent_directory}}/utils/deployment.py,sha256=NdpTwLig1p8jcmpuykacudMYJ7BfpOgvKyD6As6lw1I,3367
|
|
100
101
|
agent_starter_pack/deployment_targets/agent_engine/{{cookiecutter.agent_directory}}/utils/{% if cookiecutter.is_adk_live %}expose_app.py{% else %}unused_expose_app.py{% endif %},sha256=6o6CBsQblSL919-ag5WcshQBYc3mrIBuyhfxWI0Cmkg,19446
|
|
101
102
|
agent_starter_pack/deployment_targets/cloud_run/Dockerfile,sha256=GExFR0dSpkTzvzmeE3siGaoXCWp7zKJoB4Uguo0oZhk,1423
|
|
102
103
|
agent_starter_pack/deployment_targets/cloud_run/deployment/terraform/service.tf,sha256=xBFjT7QGKjMkN2MW40eE22odbyZmvbujkxjAqUN2TNY,11097
|
|
@@ -152,12 +153,7 @@ agent_starter_pack/frontends/streamlit/frontend/utils/message_editing.py,sha256=
|
|
|
152
153
|
agent_starter_pack/frontends/streamlit/frontend/utils/multimodal_utils.py,sha256=v6YbCkz_YcnEo-9YvRjwBNt0SzU4M39bYxJGmKk69vE,7313
|
|
153
154
|
agent_starter_pack/frontends/streamlit/frontend/utils/stream_handler.py,sha256=-XVRfLH6ck1KP6NS4vrhcvPyZe6z3NLHliEg17s9jjo,12551
|
|
154
155
|
agent_starter_pack/frontends/streamlit/frontend/utils/title_summary.py,sha256=B0cadS_KPW-tsbABauI4J681aqjEtuKFDa25e9R1WKc,3030
|
|
155
|
-
agent_starter_pack/resources/containers/data_processing/Dockerfile,sha256=VoB9d5yZiiWnqRfWrIq0gGNMzZg-eVy733OgP72ZgO0,950
|
|
156
|
-
agent_starter_pack/resources/containers/e2e-tests/Dockerfile,sha256=yA3HxeX0HNpl8B4oEQUICCVZDCXdRn2Igmii4jt-r7k,1895
|
|
157
156
|
agent_starter_pack/resources/docs/adk-cheatsheet.md,sha256=YSfJd0KER3xkwq6Uy7TC-TaiOdGpj9OrXnvm_wNILdA,71562
|
|
158
|
-
agent_starter_pack/resources/idx/idx-template.json,sha256=EuiZ_v__1Zourbz4F8fjutNKNSvLGc6HFRW2_4vVSuM,377
|
|
159
|
-
agent_starter_pack/resources/idx/idx-template.nix,sha256=cI35oMmMzgsDRMQgIBmMLtAUczIFramAkA2iBpq_o14,811
|
|
160
|
-
agent_starter_pack/resources/idx/.idx/dev.nix,sha256=chSxdz-b06y76Mdbb9zjxUJtI3CN4lBVqiZ0rO7PktE,2356
|
|
161
157
|
agent_starter_pack/resources/locks/uv-adk_base-agent_engine.lock,sha256=Bmj-6hVfUiS6GDi8_6eHhMAFsmDefxTjrhBeIHOKyOs,588363
|
|
162
158
|
agent_starter_pack/resources/locks/uv-adk_base-cloud_run.lock,sha256=b4nJ8YTXPp6nQypbA4wz0wNwTH318qOUbfMHIiMoOf0,776457
|
|
163
159
|
agent_starter_pack/resources/locks/uv-adk_live-agent_engine.lock,sha256=tMOwue7BrFYYJUbOaYvjar0xIhrB4wglljVcm-pXTM0,589379
|
|
@@ -171,9 +167,9 @@ agent_starter_pack/resources/locks/uv-langgraph_base_react-cloud_run.lock,sha256
|
|
|
171
167
|
agent_starter_pack/utils/generate_locks.py,sha256=LwR46w25CV0_ySF_MS9W2vp7S1Nf17GgMbfxFPgZ5KU,4567
|
|
172
168
|
agent_starter_pack/utils/lock_utils.py,sha256=vqFHTN7lju9to74MKOmLvz80BA47G0CVkxrd1MyLWYQ,2309
|
|
173
169
|
agent_starter_pack/utils/watch_and_rebuild.py,sha256=1hMn29eLpVblfvixV9FEo46u8efmnLuRIn-bPrfdW3g,6694
|
|
174
|
-
llm.txt,sha256=
|
|
175
|
-
agent_starter_pack-0.
|
|
176
|
-
agent_starter_pack-0.
|
|
177
|
-
agent_starter_pack-0.
|
|
178
|
-
agent_starter_pack-0.
|
|
179
|
-
agent_starter_pack-0.
|
|
170
|
+
llm.txt,sha256=t04sKZwOwuhQegfeayZKJufyHD_SbA3Zv_KWJYJNO5Y,15378
|
|
171
|
+
agent_starter_pack-0.18.1.dist-info/METADATA,sha256=fLfw2am2mrUpzJQaCwfZ5lCtZZXm0MQaTlwWtoTEcuc,11261
|
|
172
|
+
agent_starter_pack-0.18.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
173
|
+
agent_starter_pack-0.18.1.dist-info/entry_points.txt,sha256=LO_oGmY1IdlFJRF9s7oIL3qdewC8Q9UtmTV6jWVZq3U,180
|
|
174
|
+
agent_starter_pack-0.18.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
175
|
+
agent_starter_pack-0.18.1.dist-info/RECORD,,
|
llm.txt
CHANGED
|
@@ -204,7 +204,7 @@ Before setting up full CI/CD, you can deploy to a personal cloud dev environment
|
|
|
204
204
|
|
|
205
205
|
1. **Set Project:** `gcloud config set project YOUR_DEV_PROJECT_ID`
|
|
206
206
|
2. **Provision Resources:** `make setup-dev-env` (uses Terraform).
|
|
207
|
-
3. **Deploy Backend:** `make
|
|
207
|
+
3. **Deploy Backend:** `make deploy` (builds and deploys the agent).
|
|
208
208
|
|
|
209
209
|
### 3. Automated Production-Ready Deployment with CI/CD
|
|
210
210
|
For reliable deployments, the `setup-cicd` command streamlines the entire process. It creates a GitHub repo, connects it to your chosen CI/CD runner (Google Cloud Build or GitHub Actions), provisions staging/prod infrastructure, and configures deployment triggers.
|
|
@@ -226,7 +226,7 @@ uvx agent-starter-pack setup-cicd
|
|
|
226
226
|
|
|
227
227
|
### Deploying with a User Interface (UI)
|
|
228
228
|
* **Unified Deployment (for Dev/Test):** The backend and frontend can be packaged and served from a single Cloud Run service, secured with Identity-Aware Proxy (IAP).
|
|
229
|
-
* **Deploying with UI:** `make
|
|
229
|
+
* **Deploying with UI:** `make deploy IAP=true`
|
|
230
230
|
* **Access Control:** After deploying with IAP, grant users the `IAP-secured Web App User` role in IAM to give them access.
|
|
231
231
|
|
|
232
232
|
### Session Management
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Copyright 2025 Google LLC
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
FROM python:3.11-slim
|
|
16
|
-
|
|
17
|
-
RUN pip install --no-cache-dir \
|
|
18
|
-
"bigframes==1.36.0" \
|
|
19
|
-
"langchain==0.3.18" \
|
|
20
|
-
"markdownify==0.14.1" \
|
|
21
|
-
"swifter==1.4.0" \
|
|
22
|
-
"google-cloud-aiplatform>=1.80.0" \
|
|
23
|
-
"kfp>=1.4.0" \
|
|
24
|
-
"google-cloud-discoveryengine==0.13.6" \
|
|
25
|
-
"backoff==2.2.1" \
|
|
26
|
-
"google-cloud-pipeline-components==2.19.0" \
|
|
27
|
-
"langchain-google-vertexai==2.0.13"
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# Stage 1: Builder - Prepare APT repositories
|
|
2
|
-
FROM ghcr.io/astral-sh/uv:python3.11-bookworm-slim AS builder
|
|
3
|
-
|
|
4
|
-
# Install tools needed to add repositories
|
|
5
|
-
RUN apt-get update && \
|
|
6
|
-
apt-get install -y --no-install-recommends \
|
|
7
|
-
ca-certificates \
|
|
8
|
-
curl \
|
|
9
|
-
gnupg && \
|
|
10
|
-
# GitHub CLI
|
|
11
|
-
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg && \
|
|
12
|
-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list && \
|
|
13
|
-
# Google Cloud SDK
|
|
14
|
-
curl -sS https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg && \
|
|
15
|
-
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" > /etc/apt/sources.list.d/google-cloud-sdk.list && \
|
|
16
|
-
# Terraform
|
|
17
|
-
curl -fsSL https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg && \
|
|
18
|
-
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com bookworm main" > /etc/apt/sources.list.d/hashicorp.list && \
|
|
19
|
-
# Clean up builder stage
|
|
20
|
-
apt-get clean && \
|
|
21
|
-
rm -rf /var/lib/apt/lists/*
|
|
22
|
-
|
|
23
|
-
# Stage 2: Final Image
|
|
24
|
-
FROM ghcr.io/astral-sh/uv:python3.11-bookworm-slim
|
|
25
|
-
|
|
26
|
-
# Copy repository configurations from the builder stage
|
|
27
|
-
COPY --from=builder /etc/apt/sources.list.d/ /etc/apt/sources.list.d/
|
|
28
|
-
COPY --from=builder /usr/share/keyrings/ /usr/share/keyrings/
|
|
29
|
-
|
|
30
|
-
# Install the final packages
|
|
31
|
-
RUN apt-get update && \
|
|
32
|
-
apt-get install -y --no-install-recommends \
|
|
33
|
-
gh \
|
|
34
|
-
google-cloud-cli \
|
|
35
|
-
terraform \
|
|
36
|
-
make \
|
|
37
|
-
nodejs \
|
|
38
|
-
npm && \
|
|
39
|
-
# Clean up apt cache
|
|
40
|
-
apt-get clean && \
|
|
41
|
-
rm -rf /var/lib/apt/lists/*
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# To learn more about how to use Nix to configure your environment
|
|
3
|
-
# see: https://firebase.google.com/docs/studio/customize-workspace
|
|
4
|
-
{ pkgs, ... }: {
|
|
5
|
-
# Which nixpkgs channel to use.
|
|
6
|
-
channel = "stable-24.11"; # or "unstable"
|
|
7
|
-
|
|
8
|
-
# Use https://search.nixos.org/packages to find packages
|
|
9
|
-
packages = [
|
|
10
|
-
pkgs.uv
|
|
11
|
-
pkgs.gnumake
|
|
12
|
-
pkgs.terraform
|
|
13
|
-
pkgs.gh
|
|
14
|
-
];
|
|
15
|
-
# Sets environment variables in the workspace
|
|
16
|
-
env = {};
|
|
17
|
-
idx = {
|
|
18
|
-
# Search for the extensions you want on https://open-vsx.org/ and use "publisher.id"
|
|
19
|
-
extensions = [
|
|
20
|
-
];
|
|
21
|
-
workspace = {
|
|
22
|
-
# Runs when a workspace is first created with this `dev.nix` file
|
|
23
|
-
onCreate = {
|
|
24
|
-
create-venv = ''
|
|
25
|
-
# Load environment variables from .env file if it exists
|
|
26
|
-
source .env
|
|
27
|
-
|
|
28
|
-
# Beautiful prints for gcloud setup
|
|
29
|
-
echo ""
|
|
30
|
-
echo "╔════════════════════════════════════════════════════════════╗"
|
|
31
|
-
echo "║ 🔐 GCLOUD SETUP REQUIRED ║"
|
|
32
|
-
echo "╚════════════════════════════════════════════════════════════╝"
|
|
33
|
-
echo ""
|
|
34
|
-
echo "📝 Before proceeding, please ensure:"
|
|
35
|
-
echo " 1️⃣ You are logged in to gcloud"
|
|
36
|
-
echo " 2️⃣ You have selected the correct project"
|
|
37
|
-
echo ""
|
|
38
|
-
|
|
39
|
-
auth_status=$(gcloud auth list --quiet 2>&1)
|
|
40
|
-
|
|
41
|
-
echo ""
|
|
42
|
-
echo "⚙️ We will now set the project you want to use..."
|
|
43
|
-
gcloud config get project
|
|
44
|
-
|
|
45
|
-
echo ""
|
|
46
|
-
echo "💡 Need to setup? Run these commands:"
|
|
47
|
-
echo " → gcloud auth login"
|
|
48
|
-
echo " → gcloud config set project YOUR_PROJECT_ID"
|
|
49
|
-
echo ""
|
|
50
|
-
|
|
51
|
-
echo "Running agent starter pack creation..."
|
|
52
|
-
uvx agent-starter-pack create $WS_NAME
|
|
53
|
-
code ~/$WS_NAME/$WS_NAME/README.md
|
|
54
|
-
exec bash
|
|
55
|
-
'';
|
|
56
|
-
# Open editors for the following files by default, if they exist:
|
|
57
|
-
default.openFiles = [];
|
|
58
|
-
};
|
|
59
|
-
# To run something each time the workspace is (re)started, use the `onStart` hook
|
|
60
|
-
};
|
|
61
|
-
# Enable previews and customize configuration
|
|
62
|
-
previews = {};
|
|
63
|
-
};
|
|
64
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Agent Starter Pack",
|
|
3
|
-
"description": "Production-ready Gen AI Agent templates for Google Cloud. Addressing common challenges (Deployment & Operations, Evaluation, Customization, Observability) in building and deploying GenAI agents.",
|
|
4
|
-
"icon": "https://github.com/GoogleCloudPlatform/agent-starter-pack/blob/main/docs/images/icon.png?raw=true",
|
|
5
|
-
"params": []
|
|
6
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# No user-configurable parameters
|
|
3
|
-
# Accept additional arguments to this template corresponding to template
|
|
4
|
-
# parameter IDs
|
|
5
|
-
{ pkgs, agent_name ? "", google_cloud_project_id ? "", ... }: {
|
|
6
|
-
# Shell script that produces the final environment
|
|
7
|
-
bootstrap = ''
|
|
8
|
-
# Copy the folder containing the `idx-template` files to the final
|
|
9
|
-
# project folder for the new workspace. ${./.} inserts the directory
|
|
10
|
-
# of the checked-out Git folder containing this template.
|
|
11
|
-
cp -rf ${./.} "$out"
|
|
12
|
-
|
|
13
|
-
# Set some permissions
|
|
14
|
-
chmod -R +w "$out"
|
|
15
|
-
|
|
16
|
-
# Create .env file with the parameter values
|
|
17
|
-
cat > "$out/.env" << EOF
|
|
18
|
-
WS_NAME=$WS_NAME
|
|
19
|
-
EOF
|
|
20
|
-
|
|
21
|
-
# Remove the template files themselves and any connection to the template's
|
|
22
|
-
# Git repository
|
|
23
|
-
rm -rf "$out/.git" "$out/idx-template".{nix,json}
|
|
24
|
-
'';
|
|
25
|
-
}
|
|
File without changes
|
{agent_starter_pack-0.17.5.dist-info → agent_starter_pack-0.18.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|