Vercel Agent Runs 讓 AI Agent 工作成為可觀測執行紀錄
當 Agent 修改程式碼或分析部署記錄時,只看 diff 不夠。review 需要 prompt、tool call、log、error、model、token usage 與 repository context。
發生了什麼
2026 年 7 月 3 日,Vercel 宣布 Agent Runs 支援 Vercel MCP 與 Vercel CLI。團隊可以列出、檢視、搜尋並摘要 Agent 執行紀錄。
為什麼重要
當 Agent 修改程式碼或分析部署記錄時,只看 diff 不夠。review 需要 prompt、tool call、log、error、model、token usage 與 repository context。
社群訊號
開發者討論反覆提到 review 與責任歸屬。CLI 適合人和 script,MCP 適合 agent-to-tool 整合,但兩者應該指向同一份證據。
實作方式
先把重要 run summary 連到 PR,使用 CLI JSON 輸出接入 incident bot,區分 MCP/CLI 權限,並用任務類型觀察 token usage。
風險
Trace 是判斷材料,不是自動核准。測試、diff review、部署狀態與敏感 log 治理仍然必要。
Agent Runs 檢查表
• 2026 年 7 月 3 日,Vercel 宣布 Agent Runs 支援 Vercel MCP 與 Vercel CLI。團隊可以列出、檢視、搜尋並摘要 Agent 執行紀錄。
• 當 Agent 修改程式碼或分析部署記錄時,只看 diff 不夠。review 需要 prompt、tool call、log、error、model、token usage 與 repository context。
• 先把重要 run summary 連到 PR,使用 CLI JSON 輸出接入 incident bot,區分 MCP/CLI 權限,並用任務類型觀察 token usage。
來源
- Vercel Changelog: Agent Runs now supported in Vercel MCP and CLI
- Vercel Docs: View agent run observability traces
- Vercel Docs: Vercel MCP server
- Vercel Docs: Vercel CLI MCP command reference
- Vercel Docs: Vercel Agent security and approved actions
- Vercel Blog: AI SDK 7 and agent applications
- Hacker News discussion: Agentic coding and human review concerns
- Hacker News discussion: MCP vs CLI as agent tool surfaces