# Vibe Coding Glossary: Agent, Token, MCP Jargon Explained

> When reading vibe coding tutorials and official docs, do terms like agent, token, MCP, and context window keep tripping you up?

Source: https://gaodong.ai/en/vibe-coding/reference/01-glossary

---

# Glossary quick reference: vibe coding jargon handbook {#术语速查-vibe-coding-黑话手册}

Nothing kills the mood while reading tutorials, official docs, or community posts like a sentence packed with three unfamiliar terms. This vibe coding glossary gathers common AI coding terms in one place: each entry comes with a plain-language explanation and a note on its origin, so you can jump back and look things up whenever something confuses you.

## 🎯 How to use this vibe coding glossary page {#🎯-这页-vibe-coding-术语表怎么用}

- **Use it as a dictionary**: terms are grouped into three sets by topic; searching directly with `Ctrl+F` / `Cmd+F` is fastest.
- **Use it as pre-reading**: skim it before starting the main tutorial, and nearly every term you'll encounter later is covered here.
- **A note on conventions**: tool-mechanism terms are written according to the official glossary of Claude Code; mechanisms like AGENTS.md and CLAUDE.md also exist in Codex and OpenCode, with some differences in naming.

## 📚 Group 1: Core vibe coding concepts {#📚-第一组-vibe-coding-核心概念}

| Term | Plain-language explanation |
|---|---|
| **vibe coding** | A style of programming where you describe requirements to AI in natural language, let the AI write the code, and accept the results **without reviewing line by line**; in Chinese it is also translated as "atmosphere programming". The core of the Wikipedia definition is "fully accepting AI-generated code"; developer Willison puts it as "building software with an LLM without reviewing the code". The term originated from a tweet by Karpathy in February 2025; in November 2025 it was named Collins Dictionary's Word of the Year. See [What is Vibe Coding](/vibe-coding/1-start/01-what-is) for details. |
| **AI-assisted coding** | A broader category: AI helps you write code, but you review and modify it. vibe coding is a subset of it; the dividing line is "whether or not you review the code". |
| **LLM (large language model)** | The underlying AI model powering these tools, such as Claude or the GPT series. |
| **agent** | The short answer to "what is an agent": an AI that doesn't just reply with text but can actually get things done—reading files, running commands, and editing code. Codex describes itself officially as "a coding agent from OpenAI". |
| **agentic coding** | A way of working: the AI autonomously reads files, executes commands, and edits code while you watch and correct it—or simply walk away. Distinct from chat assistants that only paste code and leave you to move it around. |
| **agentic loop** | An agent's working rhythm: gather context → take action → verify the result → try again if it fails, until the task is done. |
| **tool** | A concrete action an agent can perform: reading files, editing code, running shell commands, searching, dispatching subagents. Only with tools available can an AI count as an agent. |
| **prompt** | The piece of text you send to the AI: requirement descriptions, instructions, and corrections all count. |
| **token** | The unit models use to measure text and cost: your messages and the files the AI reads are all converted into tokens for billing—for example, the credit consumption of WorkBuddy depends on two factors: "model token pricing" and "task complexity".@@I18N_KEEP_000004@@ |
| **context window** | The working memory of a single session: conversation history, files read, and command output all live here; when it fills up, compaction is triggered. |
| **compaction** | When the context is nearly full, previous conversation is automatically summarized to free up space; you can also trigger it manually with `/compact`. |

## 🔧 Group 2: Tool mechanism terms {#🔧-第二组-工具机制术语}

| Term | Plain-language explanation |
|---|---|
| **CLAUDE.md** | A persistent instruction file you write for Claude: project conventions, architecture notes, rules like "always run tests first"—automatically loaded at the start of every session. |
| **AGENTS.md** | A cross-tool generic name for the same kind of "project manual"; when a project has no CLAUDE.md, Claude Code reads it as the project instructions. |
| **MCP (Model Context Protocol)** | An open standard that lets AI connect to external data sources and services. This is the core of mcp terminology: install an MCP server, and the AI gains a batch of new tools (Slack, Jira, databases, browsers...). |
| **MCP server** | A program that provides tools, prompts, or resources to the AI via the MCP protocol. |
| **skill** | A SKILL.md file containing instructions, knowledge, or a workflow: Claude loads it automatically when it deems it relevant, and you can also invoke it by name manually with `/名字`. |
| **command** | A reusable instruction triggered by typing `/名字` in the input box, such as `/clear`, `/model`, `/compact`. |
| **subagent** | A specialized AI dispatched by the main session to do a job: it has its own context window and tool permissions, and returns a summary to the main conversation when done. |
| **permission mode** | The approval baseline for a session: whether the AI asks you first before taking action. Press `Shift+Tab` in the terminal to switch. |
| **plan mode** | A mode that only researches and produces a plan without touching your source files; work starts only after the plan is approved. Enter with `/plan`. |
| **checkpoint** | A save point created before each conversation turn: press `Esc` twice or `/rewind` to roll your code and conversation back to an earlier state. |
| **session** | A conversation bound to the current directory, with its own context window; `claude -c` resumes the previous session, `/clear` starts a fresh one. |
| **hook** | A handler that runs automatically at fixed points, such as "before every tool run" or "at session startup". |
| **prompt injection** | Malicious instructions hidden in files, web pages, or tool results, attempting to make the AI do things you never asked it to do. |
| **sandbox** | Operating-system-level file and network isolation: commands can only run within pre-defined boundaries. |

## ⚠️ Group 3: Easily confused terms {#⚠️-第三组-容易搞混的词}

### ❌ vibe coding ≠ AI-assisted programming {#❌-vibe-coding-ai-辅助编程}
There is only one dividing line: **whether you review the code**. If it's reviewed, tested, and you can explain what every line does, it's AI-assisted programming; letting go entirely without looking is vibe coding. Willison gave a counterexample: code entirely written by an LLM, but which you checked, tested, and fully understand—this is "just using the LLM as a typing assistant" and doesn't count as vibe coding.

### ❌ agent ≠ subagent {#❌-agent-subagent}
Agent broadly refers to an AI that can work autonomously; a subagent is a delegate dispatched from within a session, reporting only to the main session.

### ❌ CLAUDE.md ≠ AGENTS.md {#❌-claude-md-agents-md}
Both are "project manuals for the AI". CLAUDE.md is the name in the Claude ecosystem, AGENTS.md is the cross-tool generic name; Claude Code reads CLAUDE.md first, and only reads AGENTS.md if it's absent.

Old terms from older tutorials are now called these:

| Old term | Current name | Note |
|---|---|---|
| headless mode | non-interactive mode | Still the `-p` flag, behavior unchanged |
| custom commands | skills | Old files in `.claude/commands/` still work |
| slash commands | commands | Product copy no longer includes "slash" |

## 📝 Summary {#📝-小结}

- ✅ This vibe coding terminology cheat sheet has three groups: core concepts, tool mechanics, and easily confused terms—come back to check it whenever you get stuck reading a tutorial.
- ✅ Remember three dividing lines: whether you review the code (vibe coding vs AI-assisted programming), whether it can take action (agent vs chat assistant), and who reports to whom (agent vs subagent).
- ✅ Jargon keeps growing new terms: for anything not covered on this page, check the corresponding tool's official glossary for the latest wording.

The next page organizes the install commands and key operations of the four mainstream tools into a cheat sheet: [Cheat sheet for the four tools: install commands and key operations](/vibe-coding/reference/02-tools-cheatsheet).
