Rust vs Python for AI: Is Rig better than Langchain? - Running Python inside Rust? @francescociulla
Rust vs Python for AI: Is Rig better than Langchain? - Running Python inside Rust?  @francescociulla
Uploaded January 2026 | Updated November 2026, 3 hours ago
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: github.com/joshua-mo-143/rig-rlm 👤 Follow Joshua Mo: linkedin.com/in/joshua-mo-4146aa220

📅 UPCOMING EVENTS: SAVE YOUR SPOT (Rust Bootcamp Part 2 - Jan 16): luma.com/6n0agjqj
Rust Nation UK: rustnationuk.com (use the code FRANCESCO to get 10% off)
RustConf 2026: Sept 8–11 in Montreal, Canada. Check it out: rustconf.com/rustconf-2026

🦀 Start Here (Educational Path):

Watch Part 1 First: youtu.be/tgJ8d9yQtKY

Extended Rust Training (3.5 Hours): youtu.be/gAX3Zj-JGE0

The Rabbit Hole (Free Course): youtube.com/watch?v=R33h77nrMqc&list=PLPoSdR46FgI412aItyJhj2bF66cudB6Qs&index=1

Rust Book: mybook.to/YJI6DI

🌐 Connect with me: Website: 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
Rust vs Python for AI: Is Rig better than Langchain? - Running Python inside Rust?Platformatic in Action - with Matteo CollinaSlice in Rust -  Full Crash Rust Tutorial for BeginnersUsing The Box Smart pointer to Point to Data on the Heap - Full Crash Rust Tutorial for BeginnersMaster Rust Collections: Vectors, Enums, and Iteration - Full Crash Rust Tutorial for BeginnersDocker init - Docker short tutorialBuild a CRUD Rest API in Python using Flask, Postgres, Docker and Docker compose #python #dockerPaths in rust - Full Crash Rust Tutorial for BeginnersTime & Space Complexity: The Easy Way (DSA Course)Building a game in Rust - #rustlang  #softwareengineer #programming #programmer  #coding  #softwareLearn the Rust programming language - Course for beginnersGenerics, Traits, and Lifetimes in Rust: Concepts & Examples -Full Crash Rust Tutorial for Beginners
Francesco Ciulla |

Rust vs Python for AI: Is Rig better than Langchain? - Running Python inside Rust?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER