Claude Code: an agent built for the codebase
By the end of this lesson, you can explain what Claude Code is, how it operates inside a repository, and why that's different from a chat interface.
Claude Code works inside the codebase. That changes what it can actually do.
Most AI tools sit outside the work. Claude Code sits inside it.
It reads, plans, acts, and checks with you before it keeps going.
Claude Code doesn't generate code and stop. It works in a loop until the task is complete or you pause it.
The loop doesn't stop until the task is done or you pause it. Every tool call (file edit, bash command, search) is logged and reviewable. That's what makes autonomous operation safe to authorize.
The CLI is the core. Everything else is a wrapper around the same agent.
Same model. Same agentic loop. The surface changes the integration point, not the intelligence.
The four surfaces share the same model and agent loop. One important distinction: the CLI has native filesystem and terminal access at the operating system level. Desktop, Web, and Mobile reach those same capabilities only when the developer explicitly invokes Claude Code's agent tooling from within those surfaces, not directly from the host OS. That difference in access surface matters when scoping what a deployment can do.