The Glossary
The words everyone uses and nobody explains. Not a page to read — a page to come back to when a term ambushes you.
The phrases used in class
| Term | Meaning |
|---|---|
| Just enough Python | the 20% of the language that does 80% of the work in agent code |
| Vibe coding | telling an AI your intent in plain English and letting it write the code |
| Code-based agent | built in a programming language rather than a drag-and-drop tool. No ceiling |
| No-code | drag-and-drop platforms. Useful, and themselves built with code by someone else |
| Colab | Google's browser Python notebook. The starting point, because nothing installs |
| Antigravity | the vibe-coding editor this programme uses. Free, by Google |
| Placeholder | a plain-English word for a variable |
| Block scope | the lines that belong together. Braces in Java; indentation in Python |
Writing code
| Term | Meaning |
|---|---|
| Variable | a label attached to a value. name = "Priya" |
| Type | what kind of value. str, int, float, bool |
| Function | a named, reusable block. You define it once and call it many times |
| Argument | a value you pass in. add(2, 3) passes two |
| Parameter | the name the function gives it. In def add(a, b), a and b |
| Return value | what a function hands back. No return means None |
| Block | lines grouped under a colon, marked by indentation |
| Scope | where a name is visible. Names made inside a function do not escape |
| Syntax | the grammar. A SyntaxError means Python could not parse the line |
Data
| Term | Meaning |
|---|---|
| List | ordered, changeable: ["a", "b"]. Java's ArrayList |
| Dictionary | key-value pairs: {"role": "user"}. Java's HashMap. The important one for agents |
| Tuple | a list that cannot be changed: (1, 2) |
| Set | no duplicates, no order: {1, 2, 3} |
| Index | position, counting from 0. items[-1] is the last |
| Mutable | changeable. Lists and dictionaries are; text, numbers and tuples are not |
| None | the absence of a value. Java's null |
| f-string | text with values in it: f"Hello {name}". The f is what makes braces work |
Errors
| Term | Meaning |
|---|---|
| Exception | an error raised while running. Stops the program unless caught |
| Traceback | the trail printed when one escapes. Read bottom-up |
| Raise | trigger one deliberately |
| Catch | handle it with try and except so the program continues |
NameError | no such name |
TypeError | wrong kind of value |
KeyError | no such key |
IndexError | that position does not exist |
ValueError | right type, unusable content |
ModuleNotFoundError | library not installed |
Packages and environments
| Term | Meaning |
|---|---|
| Module | one .py file |
| Package | a folder of modules you can import |
| pip | installs packages. Maven or NuGet, roughly |
| requirements.txt | the list of packages a project needs |
| Virtual environment | a private package folder for one project, so versions do not clash |
| Standard library | what ships with Python: json, os, datetime |
Notebooks
| Term | Meaning |
|---|---|
| Cell | one runnable box. Shift + Enter runs it |
| Runtime | the interpreter holding your variables. Restarting clears everything |
| Restart and run all | run top to bottom in order. The fix when a notebook misbehaves |
The agent vocabulary
| Term | Meaning |
|---|---|
| LLM | text in, text out. No memory, no hands of its own |
| Prompt | what you send it |
| Token | the unit models read and bill in. Roughly ¾ of a word |
| Context window | how much text it can consider at once |
| Temperature | randomness. Low is predictable, high is varied |
| Tool | a function you let the model call |
| Tool calling | the model choosing a tool and its arguments. It does not run anything — your code does |
| Schema | a machine-readable description of a shape, usually JSON Schema |
| Agent | a model that chooses tools, uses them, reads the results, and decides what next |
| ReAct | the reason-then-act loop most agents run |
| Chain | fixed steps in a fixed order. An agent decides its own order |
| State | the data carried between steps |
| Memory | state that survives between turns |
| RAG | fetch relevant documents, put them in the prompt, then answer |
| Embedding | text as numbers, so similar meanings sit close together |
| Vector store | a database of embeddings you search by meaning |
| Chunking | cutting documents small enough to retrieve and fit in a prompt |
| Hallucination | a confident answer that is not true |
| Streaming | receiving the answer in pieces as it is generated |
| Structured output | forcing a fixed shape, usually a Pydantic model, so you never parse text |
| Eval | an automated quality check. Not a unit test — the answer is not fixed |
| Guardrail | a check that stops unacceptable input or output |
| Tracing | recording what happened inside a run, so you can find out why it broke |
| API key | the secret identifying you to a paid service. Never put it in your code |
| Framework | supplies the machinery so you write only your own part. LangChain, LangGraph, CrewAI, Google ADK |