<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AI Agent &#8211; 小人物看世界</title>
	<atom:link href="https://blog.che-ya.com/tag/ai-agent/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.che-ya.com</link>
	<description>軟體工程師的技術筆記</description>
	<lastBuildDate>Wed, 08 Apr 2026 08:07:31 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.che-ya.com/wp-content/uploads/2021/08/cropped-APP_icon-32x32.png</url>
	<title>AI Agent &#8211; 小人物看世界</title>
	<link>https://blog.che-ya.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Claude Agent SDK 入門：建構你的 AI Agent</title>
		<link>https://blog.che-ya.com/claude-agent-sdk-getting-started/</link>
		
		<dc:creator><![CDATA[ㄚ槌]]></dc:creator>
		<pubDate>Sun, 03 May 2026 01:07:00 +0000</pubDate>
				<category><![CDATA[Claude Agent SDK]]></category>
		<category><![CDATA[Claude Code]]></category>
		<category><![CDATA[Agent SDK]]></category>
		<category><![CDATA[AI Agent]]></category>
		<category><![CDATA[AI 編程工具]]></category>
		<category><![CDATA[Anthropic]]></category>
		<guid isPermaLink="false">https://blog.che-ya.com/?p=863</guid>

					<description><![CDATA[Claude Agent SDK 是 Anthropic 推出的開發套件，讓你能以程式化方式建構 AI Age ... <a title="Claude Agent SDK 入門：建構你的 AI Agent" class="read-more" href="https://blog.che-ya.com/claude-agent-sdk-getting-started/" aria-label="Read more about Claude Agent SDK 入門：建構你的 AI Agent">閱讀全文</a>]]></description>
										<content:encoded><![CDATA[
<p>Claude Agent SDK 是 Anthropic 推出的開發套件，讓你能以程式化方式建構 AI Agent。它將驅動 Claude Code 的核心引擎——包括 Agent 迴圈、內建工具、Context 管理——全部封裝成可程式化的 Library，支援 TypeScript 與 Python 兩種語言。本篇將帶你從零開始，了解 Agent SDK 的核心概念、安裝方式、Tool 定義、Agent 生命週期，並透過完整範例實際建構一個 AI Agent。</p>



<h2 class="wp-block-heading">什麼是 Claude Agent SDK？</h2>



<p>Claude Agent SDK（前身為 Claude Code SDK）是 Anthropic 官方提供的開發套件，讓開發者能建構具有自主能力的 AI Agent。這些 Agent 可以自動讀取檔案、執行終端指令、搜尋網頁、編輯程式碼等，無需你手動實作工具執行邏輯。簡單來說，Agent SDK 就是把 Claude Code 的能力開放給你，讓你能在自己的應用程式中嵌入同等級的 AI 自動化能力。</p>



<h3 class="wp-block-heading">Agent SDK vs Client SDK vs Claude Code CLI</h3>



<p>Anthropic 提供了多種方式與 Claude 互動，它們之間的定位各不相同。以下整理三者的差異，幫助你選擇適合的工具：</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>比較項目</th><th>Client SDK</th><th>Agent SDK</th><th>Claude Code CLI</th></tr></thead><tbody><tr><td>定位</td><td>API 直接存取</td><td>內建工具的 Agent 框架</td><td>互動式開發工具</td></tr><tr><td>工具執行</td><td>需自行實作 Tool Loop</td><td>Claude 自主處理</td><td>Claude 自主處理</td></tr><tr><td>適用場景</td><td>自訂 API 整合</td><td>CI/CD、自動化、產品嵌入</td><td>日常開發、一次性任務</td></tr><tr><td>程式語言</td><td>Python / TypeScript</td><td>Python / TypeScript</td><td>終端指令</td></tr></tbody></table></figure>



<p>用一段程式碼來說明 Client SDK 與 Agent SDK 的差異：</p>



<pre class="wp-block-code"><code class="">// Client SDK：你需要自己實作 Tool Loop
let response = await client.messages.create({ ...params });
while (response.stop_reason === "tool_use") {
  const result = yourToolExecutor(response.tool_use);
  response = await client.messages.create({ tool_result: result, ...params });
}

// Agent SDK：Claude 自主處理工具呼叫
for await (const message of query({
  prompt: "Fix the bug in auth.py"
})) {
  console.log(message);
}</code></pre>



<h2 class="wp-block-heading">安裝與環境設定</h2>



<h3 class="wp-block-heading">前置需求</h3>



<ul class="wp-block-list">
<li><strong>Node.js 18+</strong>（TypeScript 版本）</li>



<li><strong>Python 3.10+</strong>（Python 版本）</li>



<li><strong>Anthropic API Key</strong>：從 <a href="https://platform.claude.com/" rel="nofollow noopener" target="_blank">Claude Console</a> 取得</li>
</ul>



<h3 class="wp-block-heading">安裝套件</h3>



<p>根據你使用的程式語言，選擇對應的安裝方式：</p>



<pre class="wp-block-code"><code class=""># TypeScript
npm install @anthropic-ai/claude-agent-sdk

# Python（使用 pip）
pip install claude-agent-sdk

# Python（使用 uv，推薦）
uv init &amp;&amp; uv add claude-agent-sdk</code></pre>



<h3 class="wp-block-heading">設定 API Key</h3>



<p>安裝完成後，你需要設定 Anthropic API Key 作為環境變數。Agent SDK 也支援透過第三方雲端服務進行驗證，包括 Amazon Bedrock、Google Vertex AI 與 Microsoft Azure：</p>



<pre class="wp-block-code"><code class=""># 設定 API Key 環境變數
export ANTHROPIC_API_KEY=your-api-key

# 或建立 .env 檔案
echo "ANTHROPIC_API_KEY=your-api-key" > .env

# 若使用 Amazon Bedrock
export CLAUDE_CODE_USE_BEDROCK=1

# 若使用 Google Vertex AI
export CLAUDE_CODE_USE_VERTEX=1</code></pre>



<h2 class="wp-block-heading">建構你的第一個 Agent</h2>



<p>Agent SDK 的核心進入點是 <code>query</code> 函式。它建立一個 Agentic Loop（代理迴圈），以串流方式回傳 Claude 工作過程中的每一個訊息，包括推理過程、工具呼叫、工具結果與最終輸出。</p>



<h3 class="wp-block-heading">基本 Agent 範例（TypeScript）</h3>



<p>以下範例建立一個能讀取並修復程式碼 Bug 的 Agent：</p>



<pre class="wp-block-code"><code class="">import { query } from "@anthropic-ai/claude-agent-sdk";

for await (const message of query({
  prompt: "Review utils.py for bugs that would cause crashes. Fix any issues you find.",
  options: {
    allowedTools: ["Read", "Edit", "Glob"],
    permissionMode: "acceptEdits"
  }
})) {
  if (message.type === "assistant" &amp;&amp; message.message?.content) {
    for (const block of message.message.content) {
      if ("text" in block) {
        console.log(block.text);     // Claude 的推理過程
      } else if ("name" in block) {
        console.log(`Tool: ${block.name}`); // 工具呼叫
      }
    }
  } else if (message.type === "result") {
    console.log(`Done: ${message.subtype}`);
  }
}</code></pre>



<h3 class="wp-block-heading">基本 Agent 範例（Python）</h3>



<pre class="wp-block-code"><code class="">import asyncio
from claude_agent_sdk import query, ClaudeAgentOptions, AssistantMessage, ResultMessage

async def main():
    async for message in query(
        prompt="Review utils.py for bugs that would cause crashes. Fix any issues you find.",
        options=ClaudeAgentOptions(
            allowed_tools=["Read", "Edit", "Glob"],
            permission_mode="acceptEdits",
        ),
    ):
        if isinstance(message, AssistantMessage):
            for block in message.content:
                if hasattr(block, "text"):
                    print(block.text)
                elif hasattr(block, "name"):
                    print(f"Tool: {block.name}")
        elif isinstance(message, ResultMessage):
            print(f"Done: {message.subtype}")

asyncio.run(main())</code></pre>



<p>這段程式碼有三個關鍵部分：<code>query</code> 是建立 Agentic Loop 的主要進入點；<code>prompt</code> 告訴 Claude 要做什麼；<code>options</code> 設定 Agent 可以使用的工具與權限模式。Claude 會根據任務自動判斷該使用哪些工具。</p>



<h2 class="wp-block-heading">Tool 定義與使用</h2>



<p>Agent SDK 提供了豐富的內建工具，讓 Agent 可以直接與檔案系統、終端和網路互動。你只需在 <code>allowedTools</code> 中指定要啟用的工具，Claude 就會自動判斷何時使用它們。</p>



<h3 class="wp-block-heading">內建工具一覽</h3>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>工具名稱</th><th>功能說明</th><th>典型用途</th></tr></thead><tbody><tr><td><code>Read</code></td><td>讀取工作目錄中的任何檔案</td><td>閱讀程式碼、設定檔</td></tr><tr><td><code>Write</code></td><td>建立新檔案</td><td>產生報告、建立設定</td></tr><tr><td><code>Edit</code></td><td>精確編輯現有檔案</td><td>修復 Bug、重構程式碼</td></tr><tr><td><code>Bash</code></td><td>執行終端指令、腳本、Git 操作</td><td>執行測試、安裝套件</td></tr><tr><td><code>Glob</code></td><td>以 Pattern 搜尋檔案</td><td>尋找特定類型的檔案</td></tr><tr><td><code>Grep</code></td><td>以正則表達式搜尋檔案內容</td><td>搜尋函式定義、錯誤訊息</td></tr><tr><td><code>WebSearch</code></td><td>搜尋網路上的最新資訊</td><td>查詢文件、API 規格</td></tr><tr><td><code>WebFetch</code></td><td>擷取並解析網頁內容</td><td>讀取線上文件</td></tr></tbody></table></figure>



<h3 class="wp-block-heading">工具組合策略</h3>



<p>根據 Agent 的用途，可以組合不同的工具來達成目標。以下是常見的工具組合建議：</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>工具組合</th><th>Agent 能力</th><th>適用場景</th></tr></thead><tbody><tr><td><code>Read</code>, <code>Glob</code>, <code>Grep</code></td><td>唯讀分析</td><td>Code Review、程式碼搜尋</td></tr><tr><td><code>Read</code>, <code>Edit</code>, <code>Glob</code></td><td>分析與修改程式碼</td><td>Bug 修復、重構</td></tr><tr><td><code>Read</code>, <code>Edit</code>, <code>Bash</code>, <code>Glob</code>, <code>Grep</code></td><td>完整自動化</td><td>CI/CD Pipeline、全面測試</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Agent 生命週期與 Hooks</h2>



<p>Agent SDK 提供了 Hooks 機制，讓你在 Agent 生命週期的關鍵節點執行自訂邏輯。你可以用 Hooks 來驗證、記錄、阻擋或轉換 Agent 的行為。</p>



<h3 class="wp-block-heading">可用的 Hook 類型</h3>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Hook 名稱</th><th>觸發時機</th><th>常見用途</th></tr></thead><tbody><tr><td><code>PreToolUse</code></td><td>工具呼叫前</td><td>參數驗證、存取控制</td></tr><tr><td><code>PostToolUse</code></td><td>工具呼叫後</td><td>結果記錄、稽核日誌</td></tr><tr><td><code>Stop</code></td><td>Agent 完成任務時</td><td>結果驗證、清理作業</td></tr><tr><td><code>SessionStart</code></td><td>Session 開始時</td><td>初始化設定、載入環境</td></tr><tr><td><code>SessionEnd</code></td><td>Session 結束時</td><td>資源釋放、產出報告</td></tr></tbody></table></figure>



<h3 class="wp-block-heading">Hook 實作範例：稽核日誌</h3>



<p>以下範例展示如何使用 <code>PostToolUse</code> Hook 將所有檔案變更記錄到稽核日誌中：</p>



<pre class="wp-block-code"><code class="">import { query, HookCallback } from "@anthropic-ai/claude-agent-sdk";
import { appendFile } from "fs/promises";

const logFileChange: HookCallback = async (input) => {
  const filePath = (input as any).tool_input?.file_path ?? "unknown";
  await appendFile(
    "./audit.log",
    `${new Date().toISOString()}: modified ${filePath}\n`
  );
  return {};
};

for await (const message of query({
  prompt: "Refactor utils.py to improve readability",
  options: {
    permissionMode: "acceptEdits",
    hooks: {
      PostToolUse: [
        { matcher: "Edit|Write", hooks: [logFileChange] }
      ]
    }
  }
})) {
  if ("result" in message) console.log(message.result);
}</code></pre>



<h2 class="wp-block-heading">權限控制模式</h2>



<p>Agent SDK 提供多種權限模式，讓你精確控制 Agent 的行為。選擇適合的模式，可以在自動化效率與安全性之間取得平衡：</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>模式</th><th>行為</th><th>適用場景</th></tr></thead><tbody><tr><td><code>acceptEdits</code></td><td>自動核准檔案編輯，其他操作需確認</td><td>信任的開發環境</td></tr><tr><td><code>dontAsk</code></td><td>拒絕不在 allowedTools 中的操作</td><td>鎖定的 Headless Agent</td></tr><tr><td><code>auto</code>（僅 TypeScript）</td><td>模型分類器自動核准或拒絕</td><td>自主 Agent + 安全護欄</td></tr><tr><td><code>bypassPermissions</code></td><td>所有工具無需提示直接執行</td><td>沙箱化的 CI 環境</td></tr><tr><td><code>default</code></td><td>需提供 canUseTool callback 處理</td><td>自訂審核流程</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Subagents：多 Agent 協作</h2>



<p>Agent SDK 支援 Subagent（子代理）機制，讓主 Agent 可以將特定任務委派給專門的子 Agent 處理。你可以為每個 Subagent 定義專屬的指令與工具集，實現分工合作。</p>



<pre class="wp-block-code"><code class="">import { query } from "@anthropic-ai/claude-agent-sdk";

for await (const message of query({
  prompt: "Use the code-reviewer agent to review this codebase",
  options: {
    allowedTools: ["Read", "Glob", "Grep", "Agent"],
    agents: {
      "code-reviewer": {
        description: "Expert code reviewer for quality and security.",
        prompt: "Analyze code quality and suggest improvements.",
        tools: ["Read", "Glob", "Grep"]
      }
    }
  }
})) {
  if ("result" in message) console.log(message.result);
}</code></pre>



<p>使用 Subagent 時，需要在 <code>allowedTools</code> 中加入 <code>Agent</code> 工具。每個 Subagent 執行時產生的訊息會帶有 <code>parent_tool_use_id</code> 欄位，方便你追蹤哪些訊息屬於哪個 Subagent。</p>



<h2 class="wp-block-heading">MCP 整合：連接外部系統</h2>



<p>Agent SDK 透過 Model Context Protocol（MCP）支援連接外部系統，包括資料庫、瀏覽器、API 等。你可以透過 <code>mcpServers</code> 選項配置 MCP Server，讓 Agent 獲得額外的能力。</p>



<pre class="wp-block-code"><code class="">import { query } from "@anthropic-ai/claude-agent-sdk";

// 連接 Playwright MCP Server 賦予瀏覽器自動化能力
for await (const message of query({
  prompt: "Open example.com and describe what you see",
  options: {
    mcpServers: {
      playwright: {
        command: "npx",
        args: ["@playwright/mcp@latest"]
      }
    }
  }
})) {
  if ("result" in message) console.log(message.result);
}</code></pre>



<p>MCP 生態系中有數百個現成的 Server 可供使用，包括 Slack、GitHub、Google Drive、Asana 等，無需自行撰寫整合程式碼即可讓你的 Agent 連接各種外部服務。</p>



<h2 class="wp-block-heading">Session 管理：維持對話脈絡</h2>



<p>Agent SDK 支援 Session（會話）機制，讓 Agent 能在多次交互中保持上下文。Claude 會記住已讀取的檔案、分析結果與對話歷史。你可以恢復先前的 Session，或分叉 Session 來探索不同的方案。</p>



<pre class="wp-block-code"><code class="">import { query } from "@anthropic-ai/claude-agent-sdk";

let sessionId: string | undefined;

// 第一次查詢：取得 Session ID
for await (const message of query({
  prompt: "Read the authentication module",
  options: { allowedTools: ["Read", "Glob"] }
})) {
  if (message.type === "system" &amp;&amp; message.subtype === "init") {
    sessionId = message.session_id;
  }
}

// 恢復 Session，延續先前的上下文
for await (const message of query({
  prompt: "Now find all places that call it",
  options: { resume: sessionId }
})) {
  if ("result" in message) console.log(message.result);
}</code></pre>



<h2 class="wp-block-heading">完整範例：自動化 Bug 修復 Agent</h2>



<p>以下是一個完整的 Agent 範例，結合了前面介紹的各項功能。這個 Agent 能自動掃描程式碼、找出潛在的 Bug、修復問題，並產出修復報告：</p>



<pre class="wp-block-code"><code class="">import { query, HookCallback } from "@anthropic-ai/claude-agent-sdk";
import { appendFile, writeFile } from "fs/promises";

// Hook：記錄所有檔案變更
const auditLog: HookCallback = async (input) => {
  const filePath = (input as any).tool_input?.file_path ?? "unknown";
  await appendFile(
    "./bug-fix-audit.log",
    `${new Date().toISOString()}: modified ${filePath}\n`
  );
  return {};
};

// 執行 Bug 修復 Agent
async function runBugFixer() {
  const results: string[] = [];

  for await (const message of query({
    prompt: `Scan all Python files for common bugs:
      1. Division by zero risks
      2. Null/None reference errors
      3. Unhandled exceptions
      Fix each issue and add defensive coding.`,
    options: {
      allowedTools: ["Read", "Edit", "Glob", "Grep", "Bash"],
      permissionMode: "acceptEdits",
      systemPrompt: "You are a senior Python developer. Follow PEP 8.",
      hooks: {
        PostToolUse: [
          { matcher: "Edit|Write", hooks: [auditLog] }
        ]
      }
    }
  })) {
    if (message.type === "assistant") {
      for (const block of message.message?.content ?? []) {
        if ("text" in block) results.push(block.text);
      }
    }
  }

  // 產出修復報告
  await writeFile("./fix-report.md", results.join("\n"));
  console.log("Bug fix complete! See fix-report.md");
}

runBugFixer();</code></pre>



<p>這個範例展示了 Agent SDK 的幾個核心特性：透過 <code>systemPrompt</code> 設定 Agent 角色、使用 <code>hooks</code> 記錄稽核日誌、結合多種工具實現完整的自動化流程，以及將結果輸出到檔案中。</p>



<h2 class="wp-block-heading">Agent SDK 與 Claude Code 的關係</h2>



<p>Agent SDK 與 Claude Code 共享相同的底層引擎。你在 Claude Code CLI 中能做到的事，透過 Agent SDK 都能以程式化方式實現。許多團隊會同時使用兩者：在日常開發中使用 CLI 進行互動式操作，在 CI/CD Pipeline 和自動化流程中使用 SDK。</p>



<p>Agent SDK 也支援 Claude Code 基於檔案系統的設定機制。只需在選項中設定 <code>settingSources: ['project']</code>，就能啟用以下功能：</p>



<ul class="wp-block-list">
<li><strong>Skills</strong>：在 <code>.claude/skills/*/SKILL.md</code> 定義專門能力</li>



<li><strong>Slash Commands</strong>：在 <code>.claude/commands/*.md</code> 建立自訂指令</li>



<li><strong>Memory</strong>：透過 <code>CLAUDE.md</code> 設定專案上下文與指令</li>



<li><strong>Plugins</strong>：以程式化方式透過 <code>plugins</code> 選項擴展功能</li>
</ul>



<h2 class="wp-block-heading">部署與最佳實踐</h2>



<p>在將 Agent 部署到正式環境前，以下幾點建議能幫助你建構更穩定、更安全的 Agent：</p>



<ul class="wp-block-list">
<li><strong>最小權限原則</strong>：只授權 Agent 真正需要的工具，避免使用 <code>bypassPermissions</code>（除非在完全隔離的沙箱環境中）</li>



<li><strong>使用 Hooks 記錄操作</strong>：透過 <code>PostToolUse</code> Hook 建立完整的稽核軌跡，方便追蹤問題</li>



<li><strong>設定 System Prompt</strong>：為 Agent 提供明確的角色定義與行為準則，提升輸出品質的一致性</li>



<li><strong>善用 Session 管理</strong>：在需要多步驟的任務中使用 Session 保持上下文，避免重複讀取相同的檔案</li>



<li><strong>錯誤處理</strong>：Agent 可能會遇到工具執行失敗的情況，確保你的程式碼能妥善處理這些情境</li>



<li><strong>容器化部署</strong>：Agent SDK 支援 Docker 部署，建議在容器中執行以獲得更好的隔離性</li>
</ul>



<h2 class="wp-block-heading">延伸閱讀</h2>



<p>想要深入了解 Claude Agent SDK 的更多功能，可以參考以下官方資源：</p>



<ul class="wp-block-list">
<li><a href="https://platform.claude.com/docs/en/agent-sdk/overview" rel="nofollow noopener" target="_blank">Agent SDK 官方文件</a>：完整的 API 參考與概念說明</li>



<li><a href="https://platform.claude.com/docs/en/agent-sdk/quickstart" rel="nofollow noopener" target="_blank">Quickstart 快速入門</a>：在幾分鐘內建立你的第一個 Agent</li>



<li><a href="https://github.com/anthropics/claude-agent-sdk-typescript" rel="nofollow noopener" target="_blank">TypeScript SDK GitHub</a>：原始碼、Issue 追蹤與更新日誌</li>



<li><a href="https://github.com/anthropics/claude-agent-sdk-python" rel="nofollow noopener" target="_blank">Python SDK GitHub</a>：原始碼與社群貢獻</li>



<li><a href="https://github.com/anthropics/claude-agent-sdk-demos" rel="nofollow noopener" target="_blank">範例 Agent 專案</a>：Email 助理、研究代理等實用範例</li>



<li><a href="https://platform.claude.com/docs/en/agent-sdk/hooks" rel="nofollow noopener" target="_blank">Hooks 進階教學</a>：深入了解 Hook 機制與進階用法</li>



<li><a href="https://platform.claude.com/docs/en/agent-sdk/mcp" rel="nofollow noopener" target="_blank">MCP 整合指南</a>：連接外部系統的完整說明</li>
</ul>



<h2 class="wp-block-heading">總結</h2>



<p>Claude Agent SDK 為開發者提供了一個強大的框架，讓你能以程式化方式建構具有自主能力的 AI Agent。無論是自動化程式碼審查、Bug 修復、測試執行，還是與外部系統整合，Agent SDK 都能勝任。它的設計哲學是「讓 Claude 自主處理工具呼叫」，你只需定義目標與限制，Claude 會自動規劃與執行所需的步驟。</p>



<p>從本系列的第一篇到現在的第二十篇，我們已經走過了 Claude Code 的完整旅程——從基礎安裝、CLI 指令、Context 管理到 Hooks、Plugins，一直到今天的 Agent SDK。掌握了這些知識，你已經具備了在開發流程中充分運用 AI 能力的基礎。接下來，就是動手實踐的時候了！</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img alt='ㄚ槌' src='https://secure.gravatar.com/avatar/9914399915f96350f302945e8ddddee1a9b1995350182f513fd2e1fa816c100a?s=100&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/9914399915f96350f302945e8ddddee1a9b1995350182f513fd2e1fa816c100a?s=200&#038;d=mm&#038;r=g 2x' class='avatar avatar-100 photo' height='100' width='100' itemprop="image"/></div><div class="saboxplugin-authorname"><a href="https://blog.che-ya.com/author/a3230230/" class="vcard author" rel="author"><span class="fn">ㄚ槌</span></a></div><div class="saboxplugin-desc"><div itemprop="description"></div></div><div class="saboxplugin-web "><a href="https://blog.che-ya.com" target="_self">blog.che-ya.com</a></div><div class="clearfix"></div></div></div><p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fblog.che-ya.com%2Fclaude-agent-sdk-getting-started%2F&amp;linkname=Claude%20Agent%20SDK%20%E5%85%A5%E9%96%80%EF%BC%9A%E5%BB%BA%E6%A7%8B%E4%BD%A0%E7%9A%84%20AI%20Agent" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_line" href="https://www.addtoany.com/add_to/line?linkurl=https%3A%2F%2Fblog.che-ya.com%2Fclaude-agent-sdk-getting-started%2F&amp;linkname=Claude%20Agent%20SDK%20%E5%85%A5%E9%96%80%EF%BC%9A%E5%BB%BA%E6%A7%8B%E4%BD%A0%E7%9A%84%20AI%20Agent" title="Line" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_x" href="https://www.addtoany.com/add_to/x?linkurl=https%3A%2F%2Fblog.che-ya.com%2Fclaude-agent-sdk-getting-started%2F&amp;linkname=Claude%20Agent%20SDK%20%E5%85%A5%E9%96%80%EF%BC%9A%E5%BB%BA%E6%A7%8B%E4%BD%A0%E7%9A%84%20AI%20Agent" title="X" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fblog.che-ya.com%2Fclaude-agent-sdk-getting-started%2F&#038;title=Claude%20Agent%20SDK%20%E5%85%A5%E9%96%80%EF%BC%9A%E5%BB%BA%E6%A7%8B%E4%BD%A0%E7%9A%84%20AI%20Agent" data-a2a-url="https://blog.che-ya.com/claude-agent-sdk-getting-started/" data-a2a-title="Claude Agent SDK 入門：建構你的 AI Agent"></a></p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
