Uploaded February 2026 | Updated November 2026, 3 hours ago
Here’s a quick GenAI demo of the simplest AI Coder CLI on the planet, with 50 lines of Rust code.
This is for demo purposes, showing how to use `genai` with the new `udiffx` crate to prompt and apply AI file changes.
I started the genai-demos repo (see below) where I will code some very simple demo so that developer can cherry pick what they might need and see what is possible to do with genai.
GenAI demo GitHub repo: github.com/jeremychone/rust-genai-demos
genai: crates.io/crates/genai
udiffx: github.com/jeremychone/rust-udiffx
=== Links
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Twitter - twitter.com/jeremychone
➜ JC Zed Config, Tasks, Alacritty, TMUX - github.com/jeremychone/jc-zed-config
Pro Coding Rust with AI
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ AIPACK - aipack.ai - Built in Rust, 25MB CLI to run, build, share custom agents
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
== JC Playlists:
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- AI Production Coding - youtube.com/playlist?list=PL7r-PXl6ZPcB2zN0XHsYIDaD5yW8I40AE
- AIPACK Playlist - youtube.com/playlist?list=PL7r-PXl6ZPcDBodiiTdUeCmUwsYFyDzGt
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Rust10x - Coding Resources for Production Coding in Rust. ➜ rust10x.com
Other notes:
- Davinci Resolve and Fusion video editing.
- ScreenBrush for the green lines. (Gromit seems to be the equivalent on Linux)
- Sketchapp for some graphics.
- VSCode with Google Material icon themes (with some customization)
Here’s a quick GenAI demo of the simplest AI Coder CLI on the planet, with 50 lines of Rust code.
This is for demo purposes, showing how to use `genai` with the new `udiffx` crate to prompt and apply AI file changes.
I started the genai-demos repo (see below) where I will code some very simple demo so that developer can cherry pick what they might need and see what is possible to do with genai.
GenAI demo GitHub repo: github.com/jeremychone/rust-genai-demos
genai: crates.io/crates/genai
udiffx: github.com/jeremychone/rust-udiffx
=== Links
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Twitter - twitter.com/jeremychone
➜ JC Zed Config, Tasks, Alacritty, TMUX - github.com/jeremychone/jc-zed-config
Pro Coding Rust with AI
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ AIPACK - aipack.ai - Built in Rust, 25MB CLI to run, build, share custom agents
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
== JC Playlists:
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- AI Production Coding - youtube.com/playlist?list=PL7r-PXl6ZPcB2zN0XHsYIDaD5yW8I40AE
- AIPACK Playlist - youtube.com/playlist?list=PL7r-PXl6ZPcDBodiiTdUeCmUwsYFyDzGt
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Rust10x - Coding Resources for Production Coding in Rust. ➜ rust10x.com
Other notes:
- Davinci Resolve and Fusion video editing.
- ScreenBrush for the green lines. (Gromit seems to be the equivalent on Linux)
- Sketchapp for some graphics.
- VSCode with Google Material icon themes (with some customization)










