4.65 out of 5
4.65
252 reviews on Udemy

Build an AutoGPT Code Writing AI Tool With Rust and GPT-4

Learn Rust Whilst Taking ChatGPT to the Extreme In Creating an Automated GPT that Builds and Tests Code for You
Instructor:
Shaun McDonogh
2,792 students enrolled
English [Auto]
Master the Rust programming language from zero to hero
Understand how to leverage GPT-4 (ChatGPT) to build your own AutoGPT using Rust
Understand how to build AI functions for structuring exact desired responses from LLMs (large-language-models)
Build your first web server using the Actix Web framework in Rust
Build an AutoGPT that not only writes any code you like, but tests, improves and re-writes where necessary

Develop a an automated ChatGPT agent which not only writes code, but tests and re-write code for you. In fact, you can request your agent to do just about anything.

By going through this course, you will not only learn and master Rust from A-Z, but you will also have extensive knowledge in how to build your very own AutoGPT.

The name of the AutoGPT we build together will be Auto-Gippity.

Auto-Gippity will simply be given a task, which it will break down and delegate to other agents to complete. Each agent will be responsible for testing its own output.

Our test piece will be to build an agent that writes a web server given a template. It will write the code in Rust. Not only that, but we will write the agent, that writes Rust code…in Rust. Fantastic. What a time to be a developer.

AutoGPTs will only continue to become extremely relevant and highly sought after and combining these with the worlds favourite programming language, Rust, means that we can build an application which is blazingly fast, memory-safe, modern and robust.

Right now, there is a window of opportunity to learn this fantastic and uncommon technology before it takes over in software engineering.

Just think, you could build an AutoGPT that say, develops full stack SAAS websites end-to-end. With technologies like GPT-4 and soon beyond, such agents will only continue to improve in their performance.

Companies are looking for developers who can build such tools and SAAS startups have a window to be first. If you are curious as to how you can connect new AI technologies to change the world then THIS is the course for you.

You will learn:

  • How to work with the Open AI API and the GPT-4 API using Rust

  • How to master rust from A to Z, progressing from beginner, to intermediate, to advanced and beyond

  • How to build AI functions (special functions that extract a desired response from large-language-models)

  • How to develop a web server template (including an introduction to web servers) using Actix Web

  • How to build an Automated GPT agent (Auto-Gippity) which writes code, that executes and tests code. If the code is wrong, it will simply re-write it and test again

We are truly excited to see what you develop, so make sure you share your application with the world.

See you in class!

Shaun

Introduction

1
What We Are Building
2
Programming Experience Required
3
About Your Instructor
4
Discord and Q&A
5
Getting Access to GPT-4
6
AI Functions and LLM Limitations
7
Course Structure Overview
8
IMPORTANT: RESOURCES

Rust Crash Course - Learning the Rust Environment

1
Rust installation - Quick Walkthrough
2
Rust Installation - Windows Docs
3
About Rustup
4
Rustup Tool Manager Docs
5
Preparing Visual Studio Code
6
Cargo New - Your First Rust Project
7
Your First Rust Function
8
A Brief Programming Language Comparison
9
Structuring Project Modules - Brief Introduction
10
Unit Testing with Cargo
11
Create Docs with Cargo
12
Creating a Rust Library
13
Dead Code and Unused Variables

Rust Crash Course - Types and Memory Management

1
Must-Know Resources
2
Rust vs Other Languages Revisited
3
Integer Types
4
Data Type Cheatsheet
5
Stack vs Heap Intro
6
Stack Deep Dive
7
Stack vs Heap Walkthrough
8
String Literals and Static (Read-Only) Memory
9
Ownership and Borrowing - Immutable References
10
Ownership and Borrowing - Mutable References
11
Ownership and Borrowing - Dereferencing
12
About Scope
13
Memory Management

Test your knowledge

Rust Crash Course - Basics

1
Intro - Create Project
2
Fixed Size Variables
3
Dynamic Sized Variables
4
Basic Collections
5
Closures
6
Number Literals and Raw Strings
7
Working Low Level with Binary
8
Rust Std Library

Rust Crash Course - Intermediate

1
Intro - Create Module
2
Enums - Your First Enum
3
Enums - Result Enum with Generics Introduction
4
Enums - Option Enum with Some or None
5
Rusts Result and Option
6
Structs - Your First Struct
7
Structs - Using Type Impl
8
Traits Introduction
9
Polymorphism with Traits and Generics
10
Lifetimes - Introduction
11
Lifetimes - Generics and Structs
12
Pattern Matching - Integer, Option and Result
13
Pattern Matching - Mixed Data Enum
14
Pattern Matching - Match Guards and Structs
15
Your First Async API Call
16
Handling Errors
17
Collections Revisited - HashMaps and HashSets
18
Project Cleanup

Rust Crash Course - Advanced

1
Declarative Macros - Introduction
2
Declarative Macros - With Repetitions
3
Declarative Macros - Note on Module Exporting
4
Procedural Macros (Theory) - Introduction to Derive
5
Procedural Macros (Theory) - Function Like Macro
6
Procedural Macros (Theory) - Attribute Like Macro
7
Procedural Macros (Practice) - Building an AI Function
8
Smart Pointers - Box
9
Smart Pointers - Reference Counting with RefCell
10
Smart Pointers - Reference Counting with Weak
11
Rust Concurrency with Mutex and Arc
12
Publish Packages to Crates

Build Web Server Template - First Project

1
Theory - Introduction to Web Servers and Actix Web
2
Theory - Actix Web REST API Docs Walkthrough
3
Project Setup
4
Struct Definitions
5
Database Implementation
6
Creating AppState with Mutex Provided Safety
7
Writing Our Initial Web Server
8
Testing Create Task Rest API Endpoint With Postman
9
Create and Test GET Task Request
10
Complete Task CRUD
11
User Registration and Login
12
Mutation Adjustment
13
Next Steps

Auto GPT Project - Supporting Functions

1
Supporting Functions - Section Introduction
2
Project Setup
3
User Interaction with Command Line
4
Extract API Keys
5
OpenAI Call - Key Provisions
6
OpenAI Call - Create Client
7
OpenAI Call - Test API Call
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.7
4.7 out of 5
252 Ratings

Detailed Rating

Stars 5
169
Stars 4
59
Stars 3
14
Stars 2
3
Stars 1
1