Thibaut Mattio
@tmattio_
Building Raven, a machine learning ecosystem for OCaml. Former director of engineering @tarides_, building developer experiences for the OCaml Platform.
Why would you choose Raven vs, say Mojo?
Mojo = "Python but faster". Raven = "ML in a language built for production systems, without compromising on prototyping speed". You wouldn't build your entire production infrastructure in Mojo, for the same reason you wouldn't in Python (cough..). Raven's moonshot is to…
Did you hear the news? Raven alpha is almost here - time to start porting your projects, and share feedback!
As the first alpha version of RavenML is practically out, I'm currently working on refactoring and migrating the entire codebase of SoundML to RavenML. I'm hopping that this significant change to a more modern scientific computing library will solve tons of issues I had wth Owl.
Nx and Hugin are my new favorite things in OCaml, so good to have something like NumPy in this language. It just feels right Even tho I only plot stuff from some load testing, it's so awesome. Great job @tmattio_ ! Looking forward to the workshop at @FunOCaml!
Join Thibaut Mattio (@tmattio_) at FUN OCaml 2025 for "Build Language Models with Raven"! 📅 Sep 15-16, Warsaw 🇵🇱 Learn to build transformer models using OCaml & Raven's JAX-like ecosystem. We'll explore autodiff, attention mechanisms & leverage OCaml's type system for ML.
Thank you @zachbaylin for sponsoring Raven, your support means a lot! 🙏 Excited to keep pushing it forward as we work towards a stable version!
Huge thanks to @tarides_ for their generous sponsorship of Raven! After 5 years building the OCaml ecosystem together, it's amazing to have their support as I work to bring scientific computing to OCaml.
I'm hosting a workshop on building LLMs with Raven at FUN OCaml in September! Mark your calendars and see you there!

I'm planning the roadmap for the initial release, would love to hear your thought and feature wishes! discuss.ocaml.org/t/building-oca…
Anyone using Claude Code or other coding agents with OCaml interested in testing ocaml-mcp-server, an MCP server that gives access to OCaml toolchains, (build status, merlin queries, etc.)?
Impressive results! Incidently, very relevant to the philosophy behind Raven: in the AI era, the incentives to maintain a zero-dependency system are very high, you can ask an army of agents to optimize your code. That's only possible if you have control over all the code.
New blog post: We've never enjoyed working on Kernels more than this. We have some very fast AI-generated kernels with a simple multi-agent system. They're running close to or even surpassing Pytorch shipped kernels. (1/6) [🔗 link in final post]
I'm currently being mind blown by the amount of work put into RavenML. Huge thanks to @tmattio_ for his work, I'm sure this will have an insane impact on the whole OCaml ecosystem.
Another project I just open-sourced: Mosaic, a framework to build TUI in OCaml. github.com/tmattio/mosaic Raven + OCaml MCP + Mosaic... You see where we're going, right? 👀
I know I am due for an Raven update, it's been a couple weeks, so here's a teaser: github.com/ocaml/opam-rep…
The last version of Gemini 2.5 is completely out of control 😂 Behold, Nx's BLAS backend has reached an exceptional level of power!

The React parallel is uncanny: the entire ML ecosystem is converging on functional APIs + compilers. JAX, PyTorch 2.0, Mojo - they're all compiler-first now. if ML is now functional APIs + compilers, what's the actual reason to stay in Python? 🧵
The React parallel is uncanny: the entire ML ecosystem is converging on functional APIs + compilers. JAX, PyTorch 2.0, Mojo - they're all compiler-first now. if ML is now functional APIs + compilers, what's the actual reason to stay in Python? 🧵