Core Concepts
19- Agent
A language model that runs in a loop: it reads a goal, chooses tools, observes the result, and decides the next step on its own until the task is done or it stops.
- Context Window
The total amount of text (measured in tokens) a model can hold in memory at once: system prompt, conversation history, file contents, and tool output all share this budget.
- Harness
The surrounding program that wires a model up to tools, the file system, and a terminal, and runs the agent loop. Claude Code is a harness; the model itself is not.
- System Prompt
The instructions loaded before a session starts that shape how the model behaves: its role, constraints, and available tools. CLAUDE.md content is folded into this layer.