Say hello to Turn. We published a paper on it: "Turn: A Language for Agentic Computation"
arxiv.org/abs/2603.08755
Fun fact: the name comes from "turn" as in one cycle of reasoning and acting—an agent's single thoughtful step. That's the gist. Open at turn-lang.dev.
Of all the work I have built on @TurnLang this is the most beautiful so far turn-lang.dev/docs/inspect
It changes the whole game in debugging prompts and context. turn inspect prints five sections, each mapping to a distinct layer of the agent's state.
Turn starts from a simple obs:
An agent is a process, not a loop. It has bounded context, persistent memory, a mailbox & a lifecycle. If you encode those constraints in the language, the runtime can enforce them. If you encode them as application logic, you're fighting the model
The Turn VM is an implementation of this insight. Every primitive in the language (infer, remember, recall, suspend, spawn, send) exists to make the inherent structure of agentic computation explicit, enforced, and composable.