Glossary
32 termsAI coding glossary
The words that come up when you build software with AI assistants, each explained in two or three plain sentences. Posts on this site link here when they use one.
Last reviewed
LLM (large language model)
Also called large language model, model
An LLM (large language model) is a computer program trained on a huge amount of text to predict the next piece of text, one token at a time. That one skill lets it answer questions, write and explain code, and follow instructions written in plain words.
See alsoTokenPromptHallucination
AI coding assistant
An AI coding assistant is a tool that uses a large language model to help you write, read and change code. It can sit in your editor, like GitHub Copilot in VS Code, or run in the terminal, like Claude Code. You describe what you want in plain words, and it suggests or makes the change for you to review.
Terminal
Also called command line, console
A terminal is a window where you type commands and read the text the computer prints back, instead of clicking buttons. Developers use it to run programs, tests and tools such as Git, and some AI coding assistants run inside it.
See alsoCLI (command-line interface)
CLI (command-line interface)
Also called command-line interface, command-line tool
A CLI (command-line interface) is a way of using a program by typing commands in a terminal instead of clicking through windows and buttons. For example, Git has a CLI: you type git status and it prints which files have changed.
See alsoTerminal
Prompt
A prompt is the text you send to an AI model: your question, your instructions and any code or files you include with it. The model answers from the prompt and whatever else is already in its context. A good prompt says what you want, what done looks like and what to avoid.
See alsoContext windowRules file
Used in
- Beyond AGENTS.md: the six layers of a coding agent project
- Don't let your coding agent code first: plan, then approve
- Skills vs agents vs MCP: one rule, six coding tools mapped
- "Looks good" isn't evidence: how to verify AI-generated code
- Not every repeated prompt deserves an agent skill
- Unit tests miss LLM output that varies: build an eval suite
- LLM feedback loop: turn production failures into eval cases
Context window
Also called context
The context window is the amount of text a model can work with at one time, counted in tokens. It holds your prompt, the conversation so far, rules files, file contents and tool results. When it fills up, older parts are dropped or summarised, which is one reason an assistant forgets something from early in a long session.
Used in
- Beyond AGENTS.md: the six layers of a coding agent project
- Skills vs agents vs MCP: one rule, six coding tools mapped
- A README can give your coding agent orders you never wrote
- Coding agent fixes can break callers: map the system first
- Make a coding agent prove its fix before you accept it
- Coding agent context fills up: put constraints in a file
- Failed attempts burn tokens too: measure LLM cost per task
- LLM model routing: test on evals, pin it, fall back safely
- AI agent state management: resume a run without paying twice
Token
A token is the unit a model reads and writes: a small piece of text, often part of a word. In English one token is about four characters on average. Context window sizes, usage limits and API prices are all counted in tokens.
See alsoContext window
Rules file
Also called AGENTS.md, CLAUDE.md, copilot-instructions.md, custom instructions
A rules file is a Markdown file of standing instructions that an assistant reads at the start of a session: your build commands, coding style and things to avoid. Claude Code reads CLAUDE.md (and AGENTS.md when there is no CLAUDE.md), GitHub Copilot reads .github/copilot-instructions.md, and AGENTS.md is an open format that many tools read. Each tool has its own list of files and folders it looks in, so check its docs.
Used in
- Beyond AGENTS.md: the six layers of a coding agent project
- Skills vs agents vs MCP: one rule, six coding tools mapped
- A README can give your coding agent orders you never wrote
- A checklist the agent can skip: turn it into quality gates
- How to review AI-generated code in risk order: seven passes
- Coding agent dependencies: check the name before you approve
- API breaking changes from AI code: guard the contract file
- Six engineering decisions to keep human with AI agents
SourcesAGENTS.mdClaude Code docs: memoryGitHub Docs: custom instructions for Copilot
Memory
An assistant's memory is what it carries from one session to the next, so you do not have to repeat yourself. It is saved text, such as rules files you write or notes the tool saves for itself, loaded into the context when a new session starts. The model itself does not change or learn as you work with it.
See alsoRules fileContext window
Diff
A diff shows the exact lines that changed between two versions of a file or a project. Removed lines are usually marked with a minus sign or in red, and added lines with a plus sign or in green. Reading the diff is how you check what an AI assistant really changed before you keep it.
See alsoCommitPull request
Commit
A commit is a saved snapshot of your project in Git, with a short message that says what changed and why. Git is a version control tool: it keeps every commit, so you can see the history and go back to an earlier version when a change breaks something.
Branch
A branch is a separate line of work in Git, so you can make and commit changes without touching the main version of the code. When the work is ready and checked, you merge the branch, which brings its commits back into the main line.
See alsoCommitPull request
Pull request
Also called PR, merge request
A pull request is a request to merge the changes on your branch into the main code, usually on a site such as GitHub. It shows the diff, runs the automatic checks and lets other people review and comment before anything is merged.
CI (continuous integration)
Also called continuous integration, CI pipeline
CI (continuous integration) is a setup where a server builds your code and runs the tests and other checks every time you share new commits. If a check fails, the pull request shows it, so broken code is caught before it is merged.
See alsoPull requestCommit
API (application programming interface)
Also called application programming interface
An API (application programming interface) is a set of rules for how one program asks another program for data or for an action. When an AI tool sends your prompt to a model, it usually does it through the model provider's API, and that use is usually charged by the token.
Environment variable
Also called env var
An environment variable is a named value, such as PORT or API_KEY, that a program reads from the computer it runs on instead of from its own code. Secrets like passwords and API keys are kept in environment variables so they stay out of the code and out of Git.
Skill
Also called agent skill, SKILL.md
A skill is a folder of instructions that teaches an assistant one kind of task, usually a SKILL.md file with optional scripts and reference files. The assistant sees only a short description of each skill and loads the full instructions when a task needs them, which keeps the context small. Claude Code has skills, and some other tools read the same format.
Used in
SourcesClaude Code docs: skills
Sub-agent
Also called subagent
A sub-agent is a separate assistant that the main one starts to handle one part of a task, with its own context window and often its own instructions and tools. It does the work, such as searching a large codebase, and sends back a short result. This keeps the main conversation focused and stops its context filling up.
See alsoAgentContext window
Used in
- Beyond AGENTS.md: the six layers of a coding agent project
- Skills vs agents vs MCP: one rule, six coding tools mapped
- "Looks good" isn't evidence: how to verify AI-generated code
- Not every repeated prompt deserves an agent skill
- Coding agent fixes can break callers: map the system first
- How to review AI-generated code in risk order: seven passes
- Parallel coding agents clash over files: split by ownership
- Coding agent context fills up: put constraints in a file
- Failed attempts burn tokens too: measure LLM cost per task
Hook
A hook is a command that runs on its own at a set point in an assistant's work, for example before a tool runs or after a file is edited. Hooks live in settings, not in a prompt, so they run every time instead of when the model decides to. People use them to run a formatter, block risky commands or log what happened.
See alsoSkillTool calling
Plugin
A plugin is a package that adds several things to an assistant in one install, such as skills, sub-agents, hooks, commands and MCP servers. In Claude Code you install plugins from a marketplace, and each enabled plugin can add to the context of every session. A plugin runs with your permissions, so review it before you install it.
See alsoMarketplaceSkillMCP server
SourcesClaude Code docs: plugins
Marketplace
Also called plugin marketplace
A plugin marketplace is a catalogue of plugins that you add to your assistant and then install plugins from. In Claude Code a marketplace is a list of plugins, often kept in a Git repository, and anyone can publish one. Check who maintains a marketplace before you add it, as you would with any code you install.
See alsoPlugin
MCP (Model Context Protocol)
MCP (Model Context Protocol) is an open standard for connecting AI applications to outside tools and data, introduced by Anthropic in November 2024. Instead of every assistant building its own connection to every service, both sides follow one protocol, so an assistant that supports MCP can use MCP servers built by anyone. Claude Code, GitHub Copilot and many other tools support it.
See alsoMCP serverTool calling
Used in
SourcesModel Context ProtocolAnthropic: Introducing the Model Context Protocol (25 November 2024)
MCP server
An MCP server is a program that offers tools, data or ready-made prompts to an AI application over MCP. It can run on your own machine or as a remote service, and many wrap an existing API, such as GitHub or a documentation search. The assistant decides when to call its tools, and you approve each call or allow it in your settings.
Tool calling
Also called function calling, tool use
Tool calling is how a model takes an action outside itself, such as reading a file, running a command or searching the web. The model does not run anything: it replies with a structured request naming the tool and its inputs, and the application runs it and sends back the result. MCP is one standard way to offer tools to a model; tool calling is how the model uses them.
Agent
Also called AI agent, agent mode
An AI agent is a system that works towards a goal in a loop: it plans a step, calls a tool, looks at the result and decides what to do next, until the task is done or it needs you. A coding assistant in agent mode can edit several files, run the tests and fix what fails without a new prompt for each step. A person still has to check the result.
See alsoTool callingSub-agentPermissions
Used in
- Beyond AGENTS.md: the six layers of a coding agent project
- Don't let your coding agent code first: plan, then approve
- Skills vs agents vs MCP: one rule, six coding tools mapped
- "Looks good" isn't evidence: how to verify AI-generated code
- Not every repeated prompt deserves an agent skill
- Coding agent permissions: five boundaries a prompt can't set
- Coding agent fixes can break callers: map the system first
- How to review AI-generated code in risk order: seven passes
- Releasing AI-generated code: the agent prepares, you approve
- AI coding agent scope creep: keep the fix, list the cleanup
- AI-generated database migrations meet real rows and old code
- API breaking changes from AI code: guard the contract file
- An AI speed-up claim is a prediction until you measure it
- Threat model an LLM feature before you give it tools
- LLM observability: trace every step, prompts off by default
- Failed attempts burn tokens too: measure LLM cost per task
- Coding agents forget the why: architecture decision records
- Coding agents can cross module boundaries: make a check fail
- Six engineering decisions to keep human with AI agents
- Unit tests miss LLM output that varies: build an eval suite
- Valid JSON, wrong values: validate LLM structured outputs
- RAG retrieval: get the right chunk into the top k
- AI agent state management: resume a run without paying twice
- LLM feedback loop: turn production failures into eval cases
Permissions
Permissions are the rules for what an AI coding assistant may do without asking you first, such as reading files, editing them, running commands or using the internet. Most tools ask before risky actions, and you can allow or block specific ones in the settings. Give an assistant only the access the task needs.
Sandbox
A sandbox is a closed-off space where a program runs without reaching the rest of your computer, your files or the internet unless you allow it. Running an AI agent in a sandbox limits the damage if it runs the wrong command or installs something harmful.
See alsoPermissionsAgent
Vibe coding
Vibe coding is building software by describing what you want to an AI and accepting the code it writes, often without reading all of it. Andrej Karpathy coined the term in a post on X on 2 February 2025. It is quick for prototypes, but code that real users will depend on still needs review, tests and a security check.
See alsoAI coding assistantHallucination
Hallucination
A hallucination is a false statement a model makes as if it were true, such as a function, package or command option that does not exist. It happens because a model predicts likely text rather than looking facts up. Running the code, reading the official docs and checking package names catch most of it.
See alsoVibe codingPrompt
Eval
Also called evaluation, evals
An eval (short for evaluation) is a set of test cases for an AI feature: example inputs, each with a way to check whether the model's answer is good enough. You run it after every change to the prompt or the model, so you can see whether results got better or worse instead of guessing.
Embedding
An embedding is a list of numbers, made by a model, that stands for the meaning of a piece of text. Texts with similar meanings get similar numbers, so a program can find related passages even when they share no words.
See alsoRAG (retrieval-augmented generation)LLM (large language model)
RAG (retrieval-augmented generation)
Also called retrieval-augmented generation
RAG (retrieval-augmented generation) is a way to give a model facts it was not trained on, such as your own documents. The application first searches those documents for passages that match the question, then adds them to the prompt so the model answers from them. The search often uses embeddings, and it cuts down hallucinations without removing them.