🧬Agent SDK
Also known as Agents SDK, AI Agent SDK, Agent Library
A code kit that runs the agent loop for you. It calls the model and the tools.
Think of it like
It is like a robot vacuum. You press start, and it keeps going until the floor is clean.
Example
Lucy wants a bot that reads a bug report, searches the code and drafts a fix. With a client SDK she would write the loop herself. With the Claude Agent SDK or the OpenAI Agents SDK, one call runs every step.
Why it matters
The loop looks simple but hides hard parts: when to stop, what to do on errors, and how to save the work. An agent SDK has already solved them.
Definition
Common mistake
Key takeaways
- 1The loop is built in. Model, tool, result, repeat.
- 2You bring the tools. And the instructions.
- 3Limits and logs. Turns, cost and a trace.