Glossary of AI Terminology

What Is Context?

Context

Context is the information available to an AI system at the moment it generates a response, makes a decision, or chooses the next action.

Traditional software systems operate through explicit logic written ahead of time. AI systems work differently. The behavior of a model depends heavily on the context it receives during execution. The same model can produce completely different outputs depending on what information is present, missing, emphasized, or retrieved at runtime.

In production AI systems, context often includes:

  • system instructions and prompts
  • conversation history
  • retrieved documents
  • tool outputs
  • memory and prior actions
  • customer or application data
  • policies and guardrails
  • workflow state
  • domain-specific constraints

Context is assembled dynamically by the application or agent harness before each model call. The model itself does not independently know which information matters. The surrounding system decides what gets retrieved, filtered, prioritized, summarized, or injected into the prompt.

Because of this, many AI failures are actually context failures rather than model failures. A model cannot reason over information it never received. Missing retrieval results, incomplete memory, stale data, irrelevant documents, or poorly structured prompts can all degrade system behavior even when the underlying model is strong.

In practice, improving context is often one of the highest-leverage ways to improve agent quality. Better retrieval, cleaner memory systems, improved context assembly, and stronger grounding frequently matter more than changing models or rewriting prompts alone.

"We swapped in a new model and it did nothing because of insufficient context." – Tobias Leong, CTO, Axium Industries

Bi-weekly AI Research Paper Readings

Stay on top of emerging trends and frameworks.