Three steps for OCaml to crest the AI humps

Sadiq Jaffer, Jon Ludlam, Ryan Gibb, Thomas Gazagnaire, and Anil Madhavapeddy. In proceedings of the 2025 OCaml Workshop. .Sadiq JafferJon LudlamRyan T. GibbThomas GazagnaireAnil Madhavapeddy

Three steps for OCaml to crest the AI humps

Abstract

We discuss how OCaml could adapt to the fast-moving world of AI-assisted agentic coding.

We first benchmark how well represented OCaml is in the large and diverse set of open weight models that can be run locally. We then consider what is unique about OCaml programming (in particular, modules and abstraction) that differentiates it in this space. We then consider the changes required in our ecosystem to work better with AI coding assistants.

See also Sadiq's notes on the paper.