跳到主要內容
AI 武林
影片進階EN4,824 次觀看

Stop Giving Your AI Agents API Keys - Kim Maida, Keycard & Mason Egger, Temporal

來源 AI Engineer

看影片(在新分頁開啟原站)連到 YouTube・AI Engineer

其他版本:AIE Talks 摘要頁(在新分頁開啟)

摘要

Kim Maida 與 Mason Egger 示範如何建立安全可靠的 AI 代理。Kim 展示用 OAuth 令牌交換取代共享 API 金鑰,為每個工具呼叫生成短效令牌並記錄審計軌跡。Mason 則利用 Temporal 的持久化執行機制,在代理中斷時能精確恢復狀態,避免重跑大型語言模型呼叫或遺失機密。

Kim Maida and Mason Egger demonstrate building secure and reliable AI agents using OAuth token exchange and Temporal's durable execution to manage identity and state.

摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。

重點

  • 用 OAuth 令牌交換取代共享 API 金鑰,確保每個工具呼叫都有獨立權限。
  • 為 AI 代理建立獨特身份,區分代理自身行為與代表使用者的行為。
  • 利用 Temporal 持久化執行,在系統中斷後精確恢復代理狀態。

章節

依話題轉折切分,標題由 AI 產生

  1. 00:00Intro
  2. 01:17The problem with giving agents API keys
  3. 01:59Token exchange, explained
  4. 03:10Following a prompt through the agent loop
  5. 05:41A separate token for every tool call
  6. 08:49Workshop setup: an expense desk agent
  7. 10:28Before: everyone shares API keys
  8. 12:51Giving the agent its own identity
  9. 21:47Wiring token exchange into the code
  10. 26:05The agent acting as itself
  11. 28:00Reading the audit log
  12. 31:22Adding human users without impersonation
  13. 34:01Approval limits and who approved what
  14. 38:09Tracing the delegation chain
  15. 41:26Temporal: durable execution for agents
  16. 46:01Killing a worker mid-run, and recovering
  17. 48:07Why durability matters for agents
  18. 49:28Keeping secrets out of the event history

提到的工具與公司

  • Keycard
  • Temporal
  • OAuth
  • Keycloak
  • LangChain
  • Pydantic AI

適合誰看

負責設計或維護 AI 代理系統、關注資安與系統可靠性的工程師。

摘要依據

依據
自動字幕

為什麼排在這裡

人氣
0.61
新鮮
0.92

在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算

這個來源最近的內容

AI Engineer 的所有內容

摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)