Cognitive Type Safety: A language feature where the compiler generates schemas from type definitions and the VM validates LLM outputs against them before the program can use the value
Actor Model: A concurrency model where 'actors' are independent units of computation that communicate only via asynchronous message passing (used here for agent isolation)
Wasm: WebAssembly—a binary instruction format used here to implement the inference driver that connects the Turn VM to the LLM
Impedance Mismatch: The difficulty arising when the concepts in a programming language do not match the concepts in the domain (e.g., Python lists vs. LLM context windows)
Capability-based Security: A security model where access is granted via unforgeable tokens (handles) rather than checking user identity; used here to hide API keys from the LLM
Orthogonal Persistence: A feature where data is automatically saved/loaded by the system without explicit code (Turn's `suspend`/`resume` and `remember`)
Stochastic Accumulation: The phenomenon where small probabilities of failure in individual steps multiply over a sequence, leading to high failure rates in long chains
Lost in the Middle: An LLM failure mode where information placed in the middle of a long context window is recalled much less effectively than information at the beginning or end
Targeted Strictness: A design philosophy applying strict static typing only to high-risk boundaries (LLM inference, APIs) while allowing dynamic typing for internal logic