Claude Code, the agent harness

Claude Code is Anthropic's official CLI agent. Claude, packaged with a harness that handles tool use, MCP, permissions, hooks, skills, and memory. It's the canonical starting point for autonomous work.

What it is, technically

A terminal application. You run claude in any directory; you get an interactive session with Claude (or automation-ready non-interactive mode). It has:

Why it's the canonical harness

Install and first run

# Install
npm install -g @anthropic-ai/claude-code
# (or equivalent for your package manager)

# Run
claude

First run prompts you to authenticate. After that, you're in.

The surface area of this section

When to use Claude Code vs, a custom harness

Use Claude Code when:

Build a custom harness when: