Skip to content
DevPedia

Getting startedGuide 1 of 12

What is Claude Code?

What Anthropic's AI development tool is, how it works on your project, and what tasks it can help you with.

Updated 4 min read

An agent, not an autocomplete

AI tools for programming fall into two clearly different families:

Autocomplete assistants

Copilot in its classic mode, for instance: they suggest the next line or the next block while you type. You’re still the one deciding what to do, all the time.

Agents (Claude Code)

You give them a goal in natural language and they decide the plan, which files to read, which tools to use (search the code, run tests, edit files, run shell commands), and when the work is done.

An autocomplete follows your keyboard; an agent follows a goal and picks how to get there. With an agent, the quality of the result depends less on your typing speed and more on the quality of your instructions, the memory you gave it about the project, and the limits you set. The rest of this topic is organized around those three axes.

The agent loop

On every turn, Claude Code repeats a simple cycle (the agent loop):

01Reads your instruction
02Decides the next action
03Uses a toolRead / Bash / Edit / Grep / MCP
04Observes the result
05Considers the task complete
06Responds / ends the turn
From step 4 it goes back to 2 until it considers the task complete

Every turn of that cycle goes through the permission system (Permissions in Claude Code) before it runs. That’s what lets you give it autonomy without losing control.

What sets it apart from a conversational assistant

  • It lives in your terminal (or your IDE, or the web/desktop app), with real access to your project’s filesystem and shell — not an isolated sandbox with no context.
  • It has persistent memory of the project through CLAUDE.md, so you don’t have to re-explain the stack and the conventions every session (Memory and context).
  • It’s extensible: you can give it new capabilities with Skills, delegate work to specialized subagents, force deterministic behavior with Hooks (Skills, subagents, and hooks), connect it to external tools through MCP, and package all of it into a plugin to share.
  • The level of autonomy is configurable, from “ask me before touching any file” to “run without asking inside this isolated container” (Permissions in Claude Code).

When it’s worth using (and when it isn’t)

Claude Code performs best on tasks with a verifiable outcome: implementing a feature with concrete requirements, debugging a reproducible bug, writing tests, exploring an unfamiliar codebase, refactoring with a safety net of existing tests. It performs worse when the task is ambiguous (“improve the code”), too large to review in a reasonable diff, or when the success criterion is purely subjective. How to write good prompts for Claude Code gives you the framework for turning ambiguous requests into verifiable instructions.

Related documentation: official overview and how the agent loop works.

One consequence worth anticipating: an agent writes code much faster than a team can review it, so the bottleneck moves from typing to judgment. Knowing what makes a design good and what a test actually protects becomes more important, not less.

Share this guide

Search by concept, pattern or practice.