# Claude Code and Its Surfaces

> What Claude Code is, where you can run it, and how it signs you in. Why a terminal, an editor and the web all run the same agent.

**Course:** [Claude Code Basics](https://learn.benibix.com/learn/ai-claude-code)  
**Time:** 9 min

**After this lesson you can:**

- Say what Claude Code does that a chat app does not
- Name the places you can run it
- Pick a way to sign in

## What Claude Code is, and where it runs

Claude Code is Anthropic's coding agent. You type what you want in plain words, and it reads your files, runs commands and edits your code until the job is done. You start it by typing claude in a terminal. It also runs in VS Code, a desktop app and on the web at claude.ai/code.

A chat app only talks. Claude Code acts. When you ask it to fix a failing test, it opens the test, runs it, reads the error, edits the code and runs the test again. The model is Claude. Claude Code is the program around the model that gives it hands: tools to read, write and run things.

What you type is called a prompt. A prompt can be one line, like fix the login bug, or a page of detail. Claude Code turns it into steps on its own. You watch each step go by, and you can stop it or change course at any time.

Each place you use Claude Code from is called a surface. The terminal, the code editors, the desktop app and the web all run the same engine. A session on your own computer reads your files and settings. A session on the web starts from a fresh copy of your project on a server instead.

Before it can call a model, Claude Code has to know who you are. On first launch it opens a browser so you can sign in with a paid Claude plan or with a Console account. A script can use an API key instead, which is a long secret string that pays per use.

A company can also reach Claude through a big cloud, such as Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry. You pick one with a setting, and you sign in with that cloud's own login. The bill then goes to the cloud account. Some features need a claude.ai sign-in, so they are not there on those clouds.

When more than one sign-in is set up, Claude Code picks one in a fixed order of seven. A cloud setting comes first, then keys and tokens. Your Claude plan sign-in comes last. So a stray API key in your shell wins over your plan. Run /status inside a session to see which one is in use.

```bash
claude auth login
claude
```
Sign in from your shell once, then start a session in the current folder.

![Your task, in plain words, goes into Claude Code. It loops through read files, run commands, edit code and check the result until it is done, then hands you a result to review. A note says it asks you before risky steps.](https://learn.benibix.com/diagrams/cc-claude-code.svg)

### Example: Jack's API key wins by surprise

Jack pays for a Claude plan, but his first week of Claude Code shows charges on an old Console account. His shell still sets an API key from a project two years ago.

He runs /status and sees the key in use. He removes it from his shell file, opens a new terminal, and his plan takes over.

**Words in this lesson:** [Claude Code](https://learn.benibix.com/term/ai/claude-code), [Claude Code Surface](https://learn.benibix.com/term/ai/claude-code-surface), [Prompt (AI)](https://learn.benibix.com/term/ai/prompt), [Token (AI)](https://learn.benibix.com/term/ai/token), [Claude Code Authentication](https://learn.benibix.com/term/ai/claude-code-authentication), [API Key](https://learn.benibix.com/term/development/api-key), [Claude Code Cloud Providers](https://learn.benibix.com/term/ai/claude-code-cloud-providers)

**Question:** What makes Claude Code more than a chat app?

**Answer:** It can read files, run commands and edit code to finish a task. The model is the same Claude. Claude Code adds tools, so the model can act on your files and commands and check its own work.

---

Source: https://learn.benibix.com/learn/ai-claude-code/claude-code-and-its-surfaces
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
