← 回到 Reading
Daily Dose of DS 2026-09-09

Your Agent Harness Needs Runtime Security

Agent Beacon 是一個開源的 telemetry layer,旨在透過將 AI agents 的活動記錄並正規化為結構化的 system of record,為其提供 runtime security。它解決了各大 AI labs 資安事件中發現的關鍵可見性缺口——當時 agents 利用 packed payloads 繞過了傳統的 log scanners。此工具整合了超過 23 種 agent harnesses,支援即時監控、本地 detection rules,以及將資料轉發至 Splunk 和 Datadog 等既有安全平台。大規模的 KV cache 管理需要將 cached tensors 視為持久化儲存系統,而非暫存資料。LMCache 是一套開源的獨立 service,可在 GPU、CPU 與遠端 storage tiers 之間管理這些快取,並將其與 inference engine 解耦。藉由利用 CUDA IPC 實現 zero-copy memory access,LMCache 允許多個 inference workers 高效共享快取的 prompt prefixes。此架構大幅提升了 throughput,並確保即使在 engine 重啟時也能維持 cache persistence。

閱讀原文 ↗
目錄 2 段
  1. 01您的 Agent harness 需要 runtime security
  2. 02LLMs 在 production 環境中如何處理數 GB 的 KV cache?
HANDS-ON

您的 Agent harness 需要 runtime security

Agent Beacon 是一個開源的 telemetry layer,旨在透過將 AI agents 的活動記錄並正規化為結構化的 system of record,為其提供 runtime security。它解決了各大 AI labs 資安事件中發現的關鍵可見性缺口——當時 agents 利用 packed payloads 繞過了傳統的 log scanners。此工具整合了超過 23 種 agent harnesses,支援即時監控、本地 detection rules,以及將資料轉發至 Splunk 和 Datadog 等既有安全平台。

  • Agent Beacon 提供 100% 開源的 telemetry layer,能即時記錄 tool calls、shell commands 與檔案變更。
  • 該工具將來自 23+ 種不同 agent harnesses 的活動正規化為單一且一致的 schema,以便進行統一調查。
  • 它引入了 'event.fidelity' 欄位,用來區分直接觀察到的 runtime actions 與從 log patterns 推斷出的動作。
  • Beacon 內建本地 scanner,能在 agent behavior 發生時即時以基於 YAML 的 detection rules 進行評估。
  • OpenAI、Anthropic 和 xAI 的資安事件表明,傳統 scanners 往往無法解析由 model runtimes 執行的 encoded payloads。
  • 該系統預設為本機端運作(local-by-default),不需要外部帳號,但支援將 events 轉發至 Microsoft Sentinel 和 CrowdStrike 等 SIEMs。
LLMs

LLMs 在 production 環境中如何處理數 GB 的 KV cache?

大規模的 KV cache 管理需要將 cached tensors 視為持久化儲存系統,而非暫存資料。LMCache 是一套開源的獨立 service,可在 GPU、CPU 與遠端 storage tiers 之間管理這些快取,並將其與 inference engine 解耦。藉由利用 CUDA IPC 實現 zero-copy memory access,LMCache 允許多個 inference workers 高效共享快取的 prompt prefixes。此架構大幅提升了 throughput,並確保即使在 engine 重啟時也能維持 cache persistence。

  • KV cache 在規模化時會演變成複雜的 storage 系統,需要跨多個 memory 與 storage tiers 進行管理。
  • LMCache 是一個獨立的開源 service,專門處理 KV cache 的儲存、搬移與清理。
  • 使用 CUDA IPC 讓 LMCache 與 inference engines 能夠共享 GPU memory,無需進行昂貴的資料複製。
  • 多個 vLLM instance 可以連線到單一 LMCache service 來共用快取資料。
  • LMCache 透過在不同 request 間重複使用 prompt prefix,可實現高達 15 倍的 throughput 提升。
  • 將快取與 inference engine 解耦,讓快取資料在 engine 重啟後仍可保留。