Skip to main content
Curtly provides three deterministic compression modes, allowing you to tailor the compression intensity to your specific workload, compliance requirements, and latency constraints.

Mode Comparison Matrix


1. Conservative Mode

Best for: Regulated industries, audited workflows, and prompts where complete natural language grammatical structures must be preserved.
  • Normalizes excessive whitespace, blank lines, and line breaks.
  • Drops standard conversational preambles (e.g., “As a helpful AI assistant…”).
  • Leaves all adjectives, descriptive modifiers, and secondary clauses intact.

Before & After Example


2. Balanced Mode (Production Default)

Best for: General API routes, developer tools, coding copilots, and interactive agent loops.
  • Converts wordy role definitions into concise structural directives ("You are an experienced DevOps engineer whose responsibility is to..." →\rightarrow "Role: DevOps engineer. Task:...").
  • Strips conversational pleasantries, hedging, and repetitive qualifiers ("Please note that", "It is important to remember that").
  • Protects critical logic anchors (never, must, always, only, not).

Before & After Example


3. Aggressive Mode

Best for: Multi-document RAG retrieval chunks, long memory logs, web-scraped content, and high-volume background tasks.
  • Strips transition words, conjunctions, and conversational glue.
  • Deduplicates repetitive instructions across multi-chunk context windows.
  • Compresses wide Markdown tables into compact delimiter arrays while preserving row-column associations.

Before & After Example