Loading video player...
OpenAI's Co-founder said, "Rust is the perfect language for AI agents." But can it actually replace Python? In this video, I invited Joshua Mo, the maintainer of the open source project "Rig" (the "LangChain" of Rust), to build a scalable, modular AI application from scratch. We also use PyO3, a crate that connects Python with Rust. fun fact: We tried to code this entire session WITHOUT using AI assistance. No Copilot. No ChatGPT. Just raw Rust coding and a lot of suffering. š What we cover in this session: Rust vs. Python for AI: Why high-performance agents need Rust. The "Rig" Library: A deep dive into the 5k+ star library that is changing the ecosystem. Recursive Language Models (RLM): How to let an LLM write and execute its own code. Python in Rust: Using PyO3 to bridge the gap between the two languages. š Resources & Code mentioned: š Rig Repository: https://rig.rs/ š» The Recursive Agent Code: https://github.com/joshua-mo-143/rig-rlm š¤ Follow Joshua Mo: https://www.linkedin.com/in/joshua-mo-4146aa220/ š UPCOMING EVENTS: SAVE YOUR SPOT (Rust Bootcamp Part 2 - Jan 16): https://luma.com/6n0agjqj Rust Nation UK: https://www.rustnationuk.com/ (use the code FRANCESCO to get 10% off) RustConf 2026: Sept 8ā11 in Montreal, Canada. Check it out: https://rustconf.com/rustconf-2026/ š¦ Start Here (Educational Path): Watch Part 1 First: https://youtu.be/tgJ8d9yQtKY Extended Rust Training (3.5 Hours): https://youtu.be/gAX3Zj-JGE0 The Rabbit Hole (Free Course): https://www.youtube.com/watch?v=R33h77nrMqc&list=PLPoSdR46FgI412aItyJhj2bF66cudB6Qs&index=1 Rust Book: https://mybook.to/YJI6DI š Connect with me: Website: http://www.francescociulla.com 0:00 - The "Rust vs Python" Debate 1:55 - Meet RIG: The "LangChain" of Rust? 3:04 Async Rust Explained Simple 4:35 The Challenge: Coding an AI Agent...WITHOUT AI 9:11 Rig-rlm and the Unholy Alliance: Running Python INSIDE Rust 11:37 The Final Demo: Generating a Flask App 13:40 The Future of Rust Agents and Rig #Rust #RustLang #AI #LLM #RigLibrary #Programming #SoftwareEngineering