There are four basic components:

Claude Code

Agent SDK

Claude API

Claude Code