Knowledge & Data · Software component

Context Compressor

Software componentKnowledge & DataKnowledge & Dataarc:ContextCompressor

A prompt-preparation component that shrinks retrieved context by summarizing documents, extracting bullet points, and truncating to the most relevant passages before generation.

Responsibility. Reduces prompt length to lower model prompt-encoding latency.

Also known as: Prompt compressor, Prompt Compressor, Relevance ranking and progressive summarization, Retrieval compression, Key-fact extraction, Extractive reading, Information density maximization

sends data to; is invoked bysends data toreceives data fromis invoked byis invoked byreceives data fromis triggered byis evaluated byreceives data fromContext Assembler: sends data to; is invoked byContext AssemblerReasoning Engine: sends data toReasoning EngineRetriever: receives data fromRetrieverMemory Retriever: is invoked byMemory RetrieverContext Window Manager: is invoked byContext Window ManagerReranker: receives data fromRerankerContext Budget Allocator: is triggered byContext Budget AllocatorCompression Fidelity Validator: is evaluated byCompression Fidelity Val…Retrieval Confidence Filter: receives data fromRetrieval Confidence Fil…
Direct neighbourhood (hover for relationship types)

Relationships

is invoked by dependency

is triggered by dynamic

receives data from dynamic

sends data to dynamic

is evaluated by assurance

Design guidance

Quantitative guidance

As stated by the sources; verify before use.

Classification

Patterns
Prompt compressionPassage truncationRelevance-score filtering of retrieved documentsTool description condensationKey-fact extractionDocument summarizationSection-targeted extraction (abstract, introduction, conclusion)Structured encoding of prose into JSON or fact listsCompression of retrieved episodes before injection
Quality attributes
Performance efficiency (ISO/IEC 25010)
Risks mitigated
Context saturation from verbose retrieved content

Sources

  1. Ch2.9: T. Nguyen, "Streaming and Real-Time Responses," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 2.9. ISBN: 9798244538229.
  2. Ch3.4: T. Nguyen, "Tuning Model Parameters for Production Performance," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 3.4. ISBN: 9798244538229.
  3. Ch3.6: T. Nguyen, "Trace Analysis and Execution Debugging," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 3.6. ISBN: 9798244538229.
  4. Ch3.10: T. Nguyen, "Efficiency Metrics," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 3.10. ISBN: 9798244538229.
  5. Ch5.9: T. Nguyen, "Working Memory," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 5.9. ISBN: 9798244538229.