We present \textbf{Turn}, a compiled, actor-based programming language -- statically typed for schema inference, dynamically typed at the value level -- for agentic software: programs that reason and act autonomously by delegating inference to large language models (LLMs). Existing approaches augment general-purpose languages with frameworks, encoding critical invariants (bounded context, typed inference output, credential isolation, durable state) as application-level conventions rather than language guarantees.
Turn introduces five language-level constructs that address this gap. \emph{Cognitive Type Safety} makes LLM inference a typed primitive: the compiler generates a JSON Schema from a struct definition and the VM validates model output before binding. The \emph{confidence operator} enables deterministic control flow gated on model certainty. Turn's \emph{actor-based process model}, derived from Erlang, gives each agent an isolated context window, persistent memory, and mailbox. A \emph{capability-based identity system} returns opaque, unforgeable handles from the VM host, ensuring raw credentials never enter agent memory. Finally, \emph{compile-time schema absorption} (\texttt{use schema::<protocol>}) synthesizes typed API bindings from external specifications at compile time; the \texttt{openapi} adapter is shipped with \texttt{graphql}, \texttt{fhir}, and \texttt{mcp} in active development.
We describe the language design, type rules, schema semantics, and a Rust-based bytecode VM, and evaluate Turn against representative agentic workloads. Turn is open source at https://github.com/ekizito96/Turn.
RTPO: Reverse-Turn Policy Optimization for Stabilizing Agentic RL Training
Adelaide University(阿德莱德大学);The University of Sydney(悉尼大学);Curtin University(科廷大学);School of CSIT(计算机科学与信息技术学院);ACFR(澳大利亚空间研究中心);School of EECMS(电子工程、计算机与数学科学学院)
TimeSage-MT: A Multi-Turn Benchmark for Evaluating Agentic Time Series Reasoning
University of Oxford(牛津大学);VulpiVox Intelligence;Eindhoven University of Technology(埃因霍温理工大学);Griffith University(格里菲斯大学);Squirrel Ai Learning;East China Normal University(华东师范大学)
HISR: Hindsight Information Modulated Segmental Process Rewards For Multi-turn Agentic Reinforcement Learning
Aerospace Information Research Institute, Chinese Academy of Sciences(中国科学院航空航天信息研究所);University of Chinese Academy of Sciences(中国科学院大学);Tencent Hunyuan(腾讯文脉);School of Computer Science and Technology, Tianjin University(天津大学计算机科学与技术学院)
SQL-ASTRA: Alleviating Sparse Feedback in Agentic SQL via Column-Set Matching and Trajectory Aggregation
Griffith University(格里菲斯大学);Fudan University(复旦大学);The University of Hong Kong(香港大学);Peking University(北京大学);InFly;Shanghai Innovation Institute(上海创新研究院);Shanghai Academy of Artificial Intelligence for Science(上海人工智能科学研究院)
Beyond Parallel Sampling: Diverse Query Initialization for Agentic Search
Carnegie Mellon University(卡内基梅隆大学);Instituto Superior Técnico and INESC-ID, University of Lisbon(里斯本大学高等技术学院和INESC-ID);NOVA LINCS, NOVA School of Science and Technology(新里斯本大学科学与技术学院NOVA LINCS)
CM2: Reinforcement Learning with Checklist Rewards for Multi-Turn and Multi-Step Agentic Tool Use
University of California, Santa Barbara(加州大学圣巴巴拉分校);Zoom Video Communications(Zoom视频通信公司);University of Central Florida(中佛罗里达大学);University of California, Los Angeles(加州大学洛杉矶分校);University of Illinois Chicago(伊利诺伊大学芝加哥分校)
DeepTrans Studio: Turning Expert Interventions into Shared Team Knowledge in Agentic Translation Workflows
School of Computer Engineering and Science, Shanghai University(上海大学计算机工程与科学学院);School of Foreign Languages, East China Normal University(华东师范大学外国语言学系);School of Foreign Studies, Shanghai University(上海大学外国语言学院);Department of Computer Science and Engineering, Shanghai Jiao Tong University(上海交通大学计算机科学与工程学院)
TMLR Group Department of Computer Science Hong Kong Baptist University(香港 Baptist 大学计算机科学系 TMLR 组);RIKEN AIP;Cooperative Medianet Innovation Center Shanghai Jiao Tong University(上海交通大学合作中立创新中心);Stanford University(斯坦福大学);Sydney AI Centre The University of Sydney(悉尼大学悉尼AI中心);The University of Tokyo(东京大学)
Agentic programs: an emerging form of scientific software in computational materials science
Research Institute of Advanced Materials, Seoul National University(首尔国立大学先进材料研究所);Department of Materials Science and Engineering, Seoul National University(首尔国立大学材料科学与工程系);Center for AI and Natural Sciences, Korea Institute for Advanced Study(韩国高等研究院人工智能与自然科学中心)
ProAS: A Progress-Aware Advantage Shaping Framework for Multi-Turn Agentic Reinforcement Learning
Zhejiang University(浙江大学);School of Engineering, Westlake University(西湖大学工程学院);Institute of Advanced Technology, Westlake Institute for Advanced Study(西湖高等研究院先进技术研究所);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)
MedSAM-Agent: Empowering Interactive Medical Image Segmentation with Multi-turn Agentic Reinforcement Learning
Chinese University of Hong Kong, Hong Kong SAR, China(香港中文大学);Hunyuan Group, Tencent(腾讯洪音集团);Institute of Automation, the Chinese Academy of Sciences, Beijing, China(中国科学院自动化研究所);Dalian University of Technology, Dalian, China(大连理工大学);Stanford University, Stanford, USA(斯坦福大学)