Lesson 6 of 7 · 4 min read
The OpenAI Agents SDK and the Claude Agent SDK
The OpenAI Agents SDK (MIT) offers Agent, Runner, handoffs with input filters, agents as tools, guardrails that trip a run, sessions, tracing, and approvals: tools marked needs_approval interrupt the run, which is saved as RunState, approved or rejected, and resumed. The Claude Agent SDK (MIT, Python and TypeScript) runs the Claude Code harness as a library, with built-in file and shell tools, permission modes, a can_use_tool callback, hooks such as PreToolUse that allow, deny, ask or defer, subagents, skills, MCP and forkable sessions.
Get full Premium access · $25
All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.
6 months · One payment · No auto-renewal
Practise it as an interviewer asks it
What is a multi-agent system, and what are the main ways agents can be arranged?What are guardrails for an AI agent, and why is an instruction in the system prompt not one?How do you compare agent frameworks? Name what every one of them has in common and the questions that separate them.What is an agent harness, and how is it different from a framework and from the model?Draw the line between what the model proposes and what the system executes.Design a customer support agent that can issue refunds.