Code 2025
Claude Agent SDK [Full Workshop] — Thariq Shihipar, Anthropic
Overview
This talk introduces the Claude Agent SDK, a framework designed to simplify the creation of autonomous AI agents. The core thesis is that by leveraging Unix primitives like bash and the file system, developers can build more powerful and flexible agents. The SDK aims to encapsulate best practices learned from building agents like Claude Code, offering an opinionated yet effective approach to agent development.
Who should watch
- AI Engineers
- Product Managers
- Builders experimenting with agent frameworks
- Developers looking to create autonomous AI applications
- Those interested in leveraging LLMs for complex workflows
Key takeaways
- Agents are evolving beyond simple LM features to autonomous entities that build their own context and decide trajectories.
- The Claude Agent SDK is built on top of Claude Code, incorporating lessons learned from its development, such as handling tool use errors and scaling.
- The SDK is opinionated, strongly advocating for the use of bash and the file system as primary tools for composability and flexibility.
- Code generation can be used for non-coding tasks like data analysis, documentation, and web querying by having the agent write scripts to interact with APIs.
- Agent loops can be designed around three core steps: gathering context, taking action, and verifying work.
- Bash is presented as a powerful, composable tool that allows agents to leverage existing software and dynamically generate scripts, reducing the need for numerous specific tools.
- Security and guardrails are addressed through a layered approach, including model alignment, harness-level permissions, and sandboxing.
- The SDK supports both agent-based and workflow-based applications, offering flexibility for different use cases.
Notable quotes
*Agents build their own context, decide their own trajectories, are working very very autonomously.*
*The bash tool is the most powerful agent tool.*
*Simple is not the same as easy.*
Unofficial community note. Prefer the recording for nuance.