Reference¶
Complete API reference for CT Toolkit.
-
TheseusWrapper
The main entry point. Wraps any LLM client with identity protection.
-
WrapperConfig
All configuration options with types, defaults, and examples.
-
Policy & Capability Metadata
Role-based policy resolution, capability registry, and standardized metadata surfaces.
-
ConstitutionalKernel
Loading, merging, validating, and updating kernels programmatically.
-
Divergence Engine
DivergenceEngine,DivergenceResult,DivergenceTier,ElasticityScheduler. -
Context Compression Guard
Manages context window usage and applies compression strategies.
-
Provenance Log
Recording, verifying, exporting, and rolling back the HMAC hash chain.
-
Compatibility Matrix
Which template + kernel combinations are Native, Compatible, or Conflicting.
-
Kernels & Templates
YAML specification for creating custom kernels and identity templates.
-
Exceptions
Full exception hierarchy with usage examples.