系列 7/12 AI Agent 記憶 Agent memory 與狀態管理:該記什麼,也要知道何時該忘 Agent 所謂的記憶,其實是系統替它保存並挑選過去資訊。這篇整理短期、長期與任務記憶各自該放什麼,也提醒你別讓 A 的資料跑進 B 的對話。 技術 2026-05-15 8min
系列 10/15 Claude API Agent SDK 打造你的第一個 Agent:工具、狀態與循環 Agent 生命週期完整解析(真實 agentic loop);用 @beta_tool 與手寫 JSON 定義工具;工具回傳值設計;用 messages 歷史傳遞記憶;max_iterations 與 stop_reason 停止條件;P... 技術 2026-05-01 5min