Turn: A Language for Agentic Computation
arXiv cs.AI / 3/11/2026
Developer Stack & InfrastructureIdeas & Deep AnalysisTools & Practical Usage
Key Points
- Turn is a new compiled, actor-based programming language designed specifically for agentic software that autonomously reasons and acts by delegating inference tasks to large language models (LLMs).
- It introduces five key language-level constructs including cognitive type safety for typed LLM output validation, a confidence operator for flow control based on model certainty, an Erlang-inspired actor process model, a capability-based identity system to protect credentials, and compile-time schema absorption for generating typed API bindings.
- Turn provides stronger language guarantees for bounded context, typed inference output, credential isolation, and durable state, addressing limitations of existing frameworks that rely on application-level conventions.
- The language is implemented with a Rust-based bytecode virtual machine and evaluated on representative agentic workloads, and it is available as an open-source project on GitHub.
- Turn supports integration with popular schema specifications like OpenAPI, GraphQL, FHIR, and MCP, enhancing its practical utility for agentic software development.




