# 策展 · X (Twitter) 🔥

> 📖 本站完整內容索引（documentation index）：[llms.txt](/llms.txt)

> 作者：Google Cloud Tech (@GoogleCloudTech) · 平台：X (Twitter) · 日期：2026-06-06

> 原始來源：https://x.com/GoogleCloudTech/status/2062991313125974485

## 中文摘要

Antigravity 2.0 整合 Gemini Enterprise Agent Platform，實現從構想到部署的全自動化 Agent 開發生命週期。

開發者過去在建構、評估與部署 AI Agent 時，常需在終端機、測試框架與雲端控制台之間頻繁切換，導致流程破碎且效率低落。透過 Antigravity 2.0 與 Gemini Enterprise Agent Platform，開發者現在無需離開程式開發環境，即可透過自然語言指令，完成從 Agent 建構到企業級平台註冊的六大階段。

**環境初始化與工具安裝**
開發者不再需要手動安裝依賴套件或設定複雜的終端機環境，而是直接透過 Antigravity 進行環境引導。透過以下指令，系統會自動檢查並安裝所需的工具：
- 「Check if google-agents-cli is available and show me the skills. If not, install it using the `uvx google-agents-cli setup`.」
此步驟會動態安裝 Google Cloud Agents CLI，並將相關 skill 注入 Antigravity，使其具備編寫 ADK 程式碼與操作 Gemini Enterprise Agent Platform 的專業能力。

**建構 ADK Agent**
在建立 SRE 分類 Agent（用於解析伺服器日誌並分類事件）時，開發者僅需描述需求與模型選擇：
- 「Build an SRE Triage Agent that can parse server logs, classify incidents by severity (critical, warning, info), and generate incident reports. I want to use Google's Agent Development Kit (ADK) with agents-cli. For the model, let's use the new gemini-3.5-flash model.」
Agent 會利用 ADK skill 自動建構專案資料夾，並生成對應的檔案、自訂工具與事件解析邏輯。

**本地測試與互動式除錯**
為了縮短開發循環，開發者可啟動本地開發伺服器進行互動式測試，無需等待雲端部署：
- 「Great, can you run a local dev server so that I can test a few examples myself?」
此指令會啟動 ADK Web UI（`localhost`），開發者可直接貼上原始伺服器日誌，即時觀察 Agent 的解析、分類與報告生成過程。

**自動化評估流程**
AI Agent 的評估涉及主觀品質、序列推理與工具選擇正確性，而非傳統軟體的確定性結果。開發者可要求 Agent 自動建立評估套件：
- 「Before I deploy this, I want to measure how well it performs. Can you set up a proper evaluation with 20 different scenarios using agents cli: some with only errors, some with mixed logs, some with nothing critical and run the evals for me and give me the final results.」
系統會自動執行包含邊緣案例與資料庫錯誤在內的 20 個場景測試，並生成量化評分表，協助開發者進行迭代修正，直到 Agent 達到預期指標。

**部署至 Agent Runtime**
透過無伺服器（serverless）的託管執行環境，開發者無需處理繁瑣的後端基礎設施設定：
- 「The agent looks good. Please configure it for deployment to Agent Runtime in the us-central1 region using my project and deploy it so my team can use it.」
Antigravity 會自動處理部署設定，並將 Agent 推送至 Google Cloud Agent Runtime，幾分鐘內即可獲得即時的控制台與儀表板。

**註冊至 Gemini Enterprise**
為了確保 Agent 的安全性與組織內的可發現性，最後一步是將其整合至企業平台：
- 「I want to register my agent to Gemini Enterprise in the app. Register it and give me the gemini enterprise url to open and test it out.」
此指令會將部署好的 Agent 註冊至 Gemini Enterprise Agent Platform，使其能立即在組織內的 Gemini Enterprise 應用程式中被搜尋與使用。

如需深入了解，可參考 [Saboo_Shubham_ 的完整操作影片](https://www.youtube.com/)，或透過以下資源開始體驗：
- 下載 Antigravity 程式開發 Agent。
- 深入了解 Agents CLI 與 Google Agent Development Kit。
- 探索 [Gemini Enterprise Agent Platform](https://cloud.google.com/)。

## 標籤

Antigravity, Agent, 新產品, 功能更新, 自動化, Deployment, Gemini, Antigravity, Google, Gemini
