← Back to Blog

Glossary & Design Rules of Thumb

A quick reference of core terminology and five engineering heuristics to keep your agentic systems reliable, observable, and secure in production.

Concise Glossary of Key Terms

Term Definition
Token / Context Window Subword text unit processed by an LLM / maximum input + output tokens held in a single inference pass.
Hallucination Fluently written, statistically plausible model output that is factually false or unsupported by evidence.
Tool Calling Mechanism where an LLM outputs a structured JSON function proposal executed by application code, never by the model itself.
Context Engineering Deliberate selection, filtering, and structuring of all information placed into the model's context window.
RAG & Hybrid Search Grounding LLM answers via query-time retrieval combining dense vector similarity with lexical keyword (BM25) matching.
MCP / A2A Open protocols for agent-to-tool/data integration (Model Context Protocol) and agent-to-agent collaboration (Agent-to-Agent).
PEFT (LoRA / QLoRA) Parameter-Efficient Fine-Tuning methods that train lightweight adapter weights atop a frozen (or quantized) base model.
Indirect Prompt Injection Attack where untrusted instructions embedded inside retrieved documents or external data hijack an agent's behavior.
Golden Dataset Versioned, representative set of test prompts, expected evidence, and edge cases used to detect AI regressions.

Five Design Rules of Thumb

  1. Start Simple, Add Autonomy Last: Exhaust a single well-grounded LLM call and deterministic workflows before introducing an open-ended agent loop.
  2. Fix Retrieval Before Blaming the Model: Most "hallucinations" in enterprise assistants stem from bad parsing, poor chunking, or stale indexes—measure retrieval separately.
  3. Never Trust Model Output as Authorization: Enforce RBAC before retrieval, validate every tool call with strict schemas in code, and gate state-changing actions with human approval.
  4. Bound Every Loop: Every agent must have hard caps on step count, token budget, wall-clock time, and idempotent write behavior.
  5. Treat Evals as Production Infrastructure: Version prompts and golden datasets in Git, run deterministic + calibrated checks in CI, and turn every production incident into a new eval case.