Level 100: Claude foundations
There are four basic components: Claude Code Agent SDK Claude API MCP Claude Code Claude Code is Anthropic's agentic command-line tool for code generation, refactoring, and debugging. It runs where your code lives, and you configure its behavior through a CLAUDE.md file, custom skills, and MCP integrations. The distinction that matters: this isn't a chat window you paste code into. It's an agent…
Claude Code Agent SDK, Claude API, MCP, and Model Context Protocol are four fundamental components of Anthropic's Claude AI system. Claude Code Agent SDK is a specialized command-line tool for code generation, refactoring, and debugging. It operates directly within your codebase, allowing you to configure its behavior through a CLAUDE.md file, custom skills, and MCP integrations. The SDK shines in tasks such as pair programming, CI/CD automation, code review, and monorepo tooling for multi-package contexts.
Agent SDK is a framework designed for constructing multi-agent applications. It provides essential building blocks like agentic loops, subagent orchestration, tool calling, and lifecycle hooks. By abstracting away the complexities of agent plumbing, the SDK enables developers to focus on defining agents and tools, while the SDK handles the orchestration. This framework is particularly useful for customer support agents, research pipelines, and autonomous workflows that require chaining multiple decisions.
Claude API offers a programmatic interface for accessing the model via HTTP requests. It provides messages.create(), tool_use functionality, structured JSON output, batch processing, and streaming capabilities. Unlike the other components, the Claude API does not include an agent framework or CLI. Instead, it grants developers maximum control and flexibility, allowing them to run the model at scale while handling their own loop, state management, and orchestration.
The API shines in scenarios like data extraction from unstructured text, content generation pipelines, and large-scale classification tasks, where predictable structured output is essential.
MCP, or Model Context Protocol, serves as a standard for connecting Claude AI to external databases, APIs, and services through tool and resource interfaces. It enables the creation of an MCP server that exposes capabilities, which any MCP-aware client, including Claude Code and the Agent SDK, can utilize. By defining a single connector once and reusing it across multiple applications, MCP simplifies the process of integrating databases and services into various projects.
This approach eliminates the need to wire databases into separate apps, streamlining the development process and enhancing interoperability.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.