C.W.K.
Stream
Lesson 05 of 05 · published

Claude Agent SDK와 MCP-Native Work

~30 min · claude-sdk, mcp, coding-agents

Level 0Observer
0 XP0/40 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete

coding-agent harness 자체가 platform이야

Claude Agent SDK는 Claude Code 뒤의 agent harness 위에 서 있어. 가치는 모델 접근만이 아니라 주변 tool ecosystem이야. file operation, command execution, web search, MCP extensibility, permission, session management, monitoring.

그래서 codebase agent, SRE agent, review agent, tool permission과 session continuity가 중요한 automation에 매력적이다.

harness가 product일 때 써

agent가 주로 repo나 developer environment 안에서 일해야 한다면, file/shell/MCP/permission 개념이 성숙한 harness가 glue code를 많이 줄여준다.

하지만 provider-specific SDK는 움직인다. exact install command나 option name을 가르치기 전에는 항상 현재 문서를 확인해야 해. 이 퀘스트는 architecture를 주고, SDK 퀘스트에서 정확한 현재 사용법을 나중에 박으면 된다.

Code

Claude Agent SDK shape·typescript
import { query } from "@anthropic-ai/claude-agent-sdk";

const stream = query({
  prompt: "Inspect this repo and summarize the test strategy.",
  options: {
    systemPrompt: "You are a careful codebase analysis agent.",
    maxTurns: 8,
  },
});

for await (const message of stream) {
  console.log(message);
}

External links

Exercise

raw Messages API loop보다 Claude Agent SDK harness가 더 유용한 agent 하나를 골라봐. 어떤 harness feature가 중요한지 설명해.
Hint
repo access, shell tools, MCP, permissions, long-running session을 생각해.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.