AI
When do I drop down to the Agent SDK instead of using filesystem agents?
The Agent SDK is for building Claude-powered applications, not for using Claude Code itself. Use programmatic agents (defined in code via `agents` in query options) when you need dynamic agent definitions, when you are integrating into your own app, or when filesystem markdown is too static for your runtime.