Learn with Asadulelah
The AI builder's glossary
25 terms I use every day building software and AI systems with agents, each defined in two or three sentences, the way I'd explain it to a business owner or someone starting out. Asadulelah, Kerala.
AI agent · Agent fleet · Orchestrator · Worker · Subagent · Second brain · Context window · Token · Prompt · CLAUDE.md · Skill · Hook · Tool call · MCP (Model Context Protocol) · RAG (retrieval-augmented generation) · Agent memory · Handoff · Handover · Eval · Regression bench · Guardrail · Hallucination · Vibe coding · Directed-AI building · Human in the loop
AI agent
An AI agent is a language model that takes actions instead of only answering: it reads files, runs commands, calls tools and checks its own result in a loop until the task is done. My agents write code, file meeting notes and test live sites. A chatbot talks; an agent works.
Agent fleet
An agent fleet is several AI agents working in parallel on separate parts of one job, each in its own session, with one lead session directing and reviewing them. I run fleets on a server for big builds and research, gated so they can't burn the whole usage limit. The real skill is splitting the work so no two agents edit the same thing.
Orchestrator
An orchestrator is the program or lead agent that starts worker agents, gives each one a brief, watches them and collects their results. Mine is a small Python script that launches headless Claude Code sessions on my subscription and tracks each by name. The orchestrator decides who does what; the workers do it.
Worker
A worker is one agent session given a narrow written brief: the goal, the files to read, the limits and what to report back. It runs on its own, often in the background, and hands back a short result. A good worker brief fits on one screen.
Subagent
A subagent is a helper agent that a running session starts for a side task, like searching a codebase or reading twenty files, so the raw output stays out of the main session's context. It returns only its conclusion. I use them to keep the main context small, which is what keeps usage low.
Second brain
A second brain is a structured store of what you know (people, projects, decisions, meetings) that an AI can read and write. Mine is an Obsidian vault of plain markdown files that my assistant updates after conversations and reads at the start of every session. It's what lets an AI know your context without you repeating it.
Context window
The context window is everything the model can see at once: instructions, the conversation, every file it read and every tool result. It has a hard size limit, and all of it is processed again on every turn, so a bloated context is slow, expensive and less accurate. Managing context is most of the craft of working with agents.
Token
A token is the unit models read and write, roughly three quarters of an English word. Usage limits and API prices are counted in tokens, including every token already sitting in the context on every turn, not only what you type. That is why a long session costs more per message than a fresh one.
Prompt
A prompt is the text you give a model to act on. For an agent the real prompt is bigger than your message: it includes the project instructions file, loaded skills and memory. The best prompts I write state the goal, the evidence and the limits, then get out of the way.
CLAUDE.md
CLAUDE.md is the instructions file Claude Code loads automatically at the start of every session in a project. Mine tells my assistant who it is, what to read first, where each kind of note gets filed and what it must never do. It's the agent's onboarding document, so keep it short and current.
Skill
A skill is a packaged set of instructions an agent loads only when a task needs it, like "how to review a deploy" or "how to write a post in my voice". Skills keep the main instructions small because the detail arrives on demand. I have skills for building, QA, security review, video, writing and memory upkeep.
Hook
A hook is a script the agent harness runs automatically at a fixed moment, such as session start, before a tool call or after a file edit. Mine load the machine profile at start, block new workers when usage is too high and stop the core memory file from growing past its cap. If a rule must never be skipped, make it a hook, not a sentence in a prompt.
Tool call
A tool call is the moment a model stops writing text and asks the harness to do something: read a file, run a command, search the web. The harness runs it and puts the result back into the context. Every result costs context, so filter output before it comes back.
MCP (Model Context Protocol)
MCP is an open standard for plugging tools and data sources into AI apps, so one connector (email, a database, a browser) works across different AI clients. An MCP server exposes tools and the AI client calls them. Each connected server adds tool descriptions to the context, so I connect only what I actually use.
RAG (retrieval-augmented generation)
RAG means fetching the relevant documents first and giving them to the model with the question, so the answer comes from your data instead of the model's memory. The retrieval can be vector search, keyword search or plain grep over markdown files. For one person's notes, good filing plus plain search beats a fancy vector setup.
Agent memory
Agent memory is whatever survives between sessions: files the agent reads at start, an index of past conversations and notes it writes for its future self. Models forget everything when a session ends, so memory has to be built on purpose. Mine is a capped core file, one-fact-per-file memories and a searchable index of every past session.
Handoff
A handoff is a short note one session writes so the next session, or another machine, can continue the work. It carries what was done, what's still open and what to remind me about. Good handoffs keep the user's exact words, because a summary of a summary drifts.
Handover
A handover is the moment software passes from the builder to the people who will use it, with access, a guide and a walk-through. I treat it as the user's first touch: they may never have opened the app, so every screen has to make sense without me in the room. A project is done when staff use it without calling me, not when it deploys.
Eval
An eval is a repeatable test of an AI system's output: a set of inputs plus a way to judge whether each answer is right. Evals turn "it seems better" into a pass or fail you can rerun after every change. Without them, every prompt edit is a guess.
Regression bench
A regression bench is a set of eval cases built from real past failures, run before a change ships so an old mistake can't come back. Mine is seeded from the corrections I've given my own assistant, and a new correction becomes a new case the same day. If a guardrail case fails, the change is blocked.
Guardrail
A guardrail is a hard rule that limits what an AI may do whatever the prompt says: never send a message without approval, never delete files, never publish a client's name. The strongest guardrails live in code (hooks, permissions, approval steps), not in prose. Rules written only in prose get forgotten in long sessions.
Hallucination
A hallucination is when a model states something false with full confidence: an invented fact, file, price or quote. The fix is grounding, not hoping, so make the agent cite a source for each claim and check before it asserts. My rule: a claim the agent can't quote from a source gets marked low confidence.
Vibe coding
Vibe coding is building software by prompting an AI and accepting what it writes without really reading or testing it. It's great for prototypes and risky for anything a business runs on. The gap between a vibe-coded demo and production is testing, a security review and a real walk through every screen.
Directed-AI building
Directed-AI building is how I work: I design the system, write the briefs, set the rules and verify the result, and AI agents write most of the code. The human job moves from typing code to deciding what to build, splitting the work and refusing to call anything done without evidence. It's how one person ships what used to need a team.
Human in the loop
Human in the loop means a person approves the step where a mistake would be expensive or public, before the AI acts. In my setup the AI drafts every message to a client and I send it; nothing goes out on its own. Put the human at the one-way doors, not on every step, or the automation saves nothing.