Documentationintroduction

Context orchestration for the agentic era.

CtxIQ is a sophisticated orchestration layer for long-term memory, session state, and token optimization for large language models.

Deterministic Control

Pin system messages and dynamically trim history with mathematical precision. Never lose track of critical instructions during long-running sessions.

Universal Adapters

A unified context format for OpenAI, Anthropic, and local models. Switch providers with a single line of code without refactoring memory logic.

Core Philosophy

01

State Immutability

Historical snapshots are immutable by default, preventing state corruption in concurrent agent environments.

02

Resource Efficiency

Built-in token budgeting calculates model-specific overhead in real time, preventing context-window overflow errors before they happen.

Architecture Visualization

Architecture visualization

System prompt (4KB)
Active history (12KB)
Buffer (8KB)