Learn Rust OpenAI API - Building AI Buddy from Scratch!!! @JeremyChone
Learn Rust OpenAI API - Building AI Buddy from Scratch!!!  @JeremyChone
Uploaded December 2023 | Updated September 2026, 16 hours ago
Building a custom Rust AI Assistant from scratch using the OpenAI Assistant API, with lots of best practice tips and techniques.

GitHub Repo: github.com/rust10x/rust-ai-buddy/tree/E01

Note: Main branch was updated with multi-crates for future, so, the E01 tag link above maps to this video.

- 00:00:00 - Intro
- 00:01:10 - Dependencies
- 00:02:23 - Rust - Error Model "Trick"
- 00:05:52 - AI Service - Client
- 00:12:58 - Assistant - Create
- 00:24:27 - Assistant - Load or Create (find assistant by name)
- 00:39:46 - Assistant - Upload Instructions
- 00:41:43 - Assistant - Create Thread
- 00:43:39 - Assistant - Run Thread
- 01:02:17 - Assistant - First Run Thread / Message
- 01:03:38 - Buddy - Config & Data Dir
- 01:18:49 - Utils - Files (parsing, bundling)
- 01:46:44 - Utils - Term (prompts and icons)
- 01:53:05 - Buddy - Init from dir
- 01:55:30 - Buddy - Upload Instructions
- 01:58:44 - Buddy - Conversation & Chat
- 02:03:46 - Prompt - Command / Loop
- 02:13:12 - First Prompt Test
- 02:13:58 - Assistant/Buddy - Upload Bundle
- 02:49:21 - Assistant Delete
- 02:52:44 - Final Demo / Test

Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content for production coding)

## Jeremy Chone:

- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content for production coding)
- Twitter - twitter.com/jeremychone
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Rust10x - rust10x.com - Rust resources for production coding.

## Rust10x production coding:

Episode 01: youtube.com/watch?v=3cA_mk4vdWY&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Episode 02: youtube.com/watch?v=-dMH9UiwKqg&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Episode 03: youtube.com/watch?v=zUxF0kvydJs&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Episode 04: youtube.com/watch?v=3E0zK5h9zEs&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Episode 05.1: youtube.com/watch?v=Gc5Nj5LJe1U&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q


Web Site: rust10x.com/web-app
GitHub: github.com/rust10x/rust-web-app
Discord rust10x - discord.gg/XuKWrNGKpC
Patreon - patreon.com/jeremychone - Any help is a big help (for Rust Production Coding educational content)

## Other

Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this video.

Other popular Rust Programming videos:

- Rust Web App Production Coding Blueprint - youtube.com/watch?v=3cA_mk4vdWY&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Axum - Full Course - youtube.com/watch?v=XZtlD_m59sM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Type State Builder Pattern - youtube.com/watch?v=pwmIQzLuYl0&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Quick Start Code Layout - youtube.com/watch?v=oxx7MmN4Ib0&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- AWESOME-APP Full Overview - Rust template for building Awesome Desktop Application: youtube.com/watch?v=BY_ZjPGqJJk&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Tauri Quick Introduction (Desktop App wit Rust Programming): youtube.com/watch?v=kRoGYgAuZQE&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Web App tutorials series: youtube.com/watch?v=VIig9IcQ-w8&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q&list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Bevy Full Tutorial - Game Development with Rust: youtube.com/watch?v=j7qHwb7geIM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust for Java Developers series: youtube.com/watch?v=iFdh4sPC5Tg&list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc&index=2&t=654s

Playlists:

- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc


Rust10x - Coding Resources for Production Coding in Rust. ➜ rust10x.com

Other notes:

- ScreenBrush for the green lines. (Gromit seems to be the equivalent on Linux)
- Sketchapp for some graphics.
- Davinci Resolve and Fusion video editing.
- VSCode with Google Material icon themes (with some customization)
Learn Rust OpenAI API - Building AI Buddy from Scratch!!!State Management concepts with Native Web Component in 200sJC Rust Live Coding ➜ MCP Sampling • Code Design & ImplementationRust live coding ➜ The building of AIProg - Tool Calling to Porgram RunningRustLang Tip - Customize Mutable Colors in VSCodeLive Coding ➜ MCP Streamable Transport · Part 4 (FINAL)How I Use AI for 90% of My Rust Code — My WorkflowRUST 1.65 - let-else statements - new language feature!!!JC Rust Live Coding ➜ DOCX to Markdown - Libs and Code ExplorationRust Production Coding - Episode IntroRust Web App - 1/3 - Data AccessRust v.s Java 17 Pattern Matching
Jeremy Chone |

Learn Rust OpenAI API - Building AI Buddy from Scratch!!!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER