[00:00] (0.16s)
This is the ultimate Codex guide for
[00:02] (2.16s)
beginners. My name is David Andre and
[00:04] (4.00s)
I've spent well over a thousand hours
[00:06] (6.16s)
coding with AI. I also used Codex to
[00:08] (8.64s)
build Vectal, my AI startup, which got
[00:11] (11.20s)
acquired last year for seven figures.
[00:13] (13.12s)
And I'm one of the first people on
[00:14] (14.64s)
YouTube to begin teaching Codex. I've
[00:16] (16.96s)
helped hundreds of thousands of people
[00:18] (18.88s)
learn how to use Codex. So, if they can
[00:21] (21.52s)
do it, so can you. Now, to start using
[00:23] (23.84s)
Codex, you don't need any coding
[00:25] (25.84s)
experience. I'm going to walk you
[00:27] (27.36s)
through everything step by step. And by
[00:29] (29.44s)
the end of this course, you'll be able
[00:31] (31.28s)
to build anything. You will have the
[00:32] (32.96s)
skills to turn any idea into a real
[00:35] (35.68s)
software application that's fully
[00:37] (37.68s)
deployed on the internet in less than an
[00:39] (39.92s)
hour. Codex will also make you a lot
[00:41] (41.92s)
more productive. And not just in coding,
[00:44] (44.24s)
in most areas of life and business. And
[00:46] (46.88s)
I know that because I'm speaking from
[00:48] (48.80s)
experience. So here is what we're going
[00:50] (50.40s)
to cover. First, the fundamentals.
[00:52] (52.72s)
installing Codex, setting up your
[00:54] (54.56s)
environment, my personal codec setup,
[00:56] (56.88s)
and understanding how it works within
[00:59] (59.44s)
IDE. Then we'll build a real app
[01:01] (61.60s)
together from scratch and deploy it live
[01:04] (64.24s)
so it's available on the internet to
[01:06] (66.00s)
your friends, family or potential
[01:07] (67.76s)
customers. And we will do all of that
[01:09] (69.76s)
just by speaking in plain English to
[01:12] (72.08s)
Codex. After that, we'll go into the
[01:14] (74.08s)
advanced stuff. Sub agents, skills,
[01:16] (76.96s)
automations, git workshries, MCP
[01:19] (79.76s)
servers, cloud agents, and more. Yeah,
[01:22] (82.64s)
this really is the ultimate Codex guide.
[01:25] (85.36s)
So, let's get into it. Now, there are
[01:27] (87.04s)
actually four different ways to use
[01:28] (88.88s)
Codex. But the first one I'm going to
[01:30] (90.96s)
show you, which is the one that
[01:32] (92.40s)
absolutely anybody can use, no matter
[01:34] (94.48s)
how bad your computer is, is the Codex
[01:36] (96.88s)
CLI. This is the official documentation
[01:39] (99.28s)
by OpenAI. I'm going to link it below
[01:41] (101.20s)
the video. And luckily, there's a simple
[01:43] (103.52s)
oneline install command, right? So if we
[01:45] (105.44s)
copy this and open your terminal, which
[01:47] (107.68s)
you can do by typing terminal on
[01:49] (109.44s)
spotlight search on Mac OS or on
[01:51] (111.60s)
Windows, press Windows plus R and type
[01:53] (113.84s)
in cmd. So open the terminal, copy this
[01:56] (116.88s)
command and paste this in. Boom. This
[01:59] (119.20s)
will install Codex CLI on your machine.
[02:01] (121.44s)
And yes, it really is that easy. After
[02:03] (123.84s)
that, what we need to do is simply type
[02:05] (125.36s)
in the word CEX to launch the Codex CLI.
[02:09] (129.20s)
So first, it shows you that there's
[02:10] (130.48s)
update. So obviously we want to use the
[02:12] (132.24s)
latest version. So we're going to
[02:13] (133.12s)
update. And usually these updates are
[02:15] (135.36s)
very fast. There we go. Those 2.4
[02:17] (137.52s)
seconds. So I'm going to type clear
[02:19] (139.28s)
again and type Codex again to launch the
[02:22] (142.00s)
Codex CLI. Now it will want you to login
[02:25] (145.28s)
and we have three different options. If
[02:27] (147.12s)
you have CHBD subscription, that is the
[02:29] (149.04s)
best, right? It works on Go as well.
[02:31] (151.60s)
That's like $8 a month, but ideally you
[02:33] (153.92s)
would have plus or pro. But again, even
[02:36] (156.40s)
the $8 a month subscription works. If
[02:39] (159.04s)
you don't have a chair GB subscription,
[02:41] (161.12s)
I highly recommend you getting one. It's
[02:43] (163.12s)
one of the most efficient ways to spend
[02:45] (165.44s)
money in AI. In fact, I think this $20
[02:48] (168.08s)
subscription is probably the single most
[02:51] (171.12s)
valuable $20 subscription in all of AI.
[02:53] (173.04s)
Also, you can see that there's a new
[02:54] (174.48s)
plan, Pro. Before, the Pro plan costed
[02:56] (176.80s)
$200, but now they have two different
[02:59] (179.20s)
versions, $100 and $200 a month, just
[03:02] (182.32s)
like Cloud Code. You know, OpenAI got
[03:04] (184.40s)
inspired by Enthropic. So, if you want a
[03:06] (186.88s)
bit more usage than the plus plan, this
[03:09] (189.36s)
is the best time in history to begin
[03:11] (191.60s)
using Codex because the pro plan now
[03:13] (193.84s)
starts at $100 a month. That said, if
[03:16] (196.56s)
you don't have any of the plans, you
[03:18] (198.24s)
have two more options. Signing up with
[03:19] (199.92s)
device code or API key. Now, honestly,
[03:22] (202.40s)
device code only works if you have
[03:23] (203.84s)
another device that's signed in. So,
[03:25] (205.68s)
really the only two relevant options are
[03:27] (207.76s)
signing in with your CI GBD subscription
[03:29] (209.92s)
or the API key. Now, since most people
[03:32] (212.96s)
already have CHIGD subscription and if
[03:35] (215.04s)
you're watching this channel, hopefully
[03:36] (216.56s)
you have some form of Chad GBD
[03:38] (218.72s)
subscription, I'm going to show you
[03:40] (220.08s)
this. So, hit enter and it's going to
[03:41] (221.68s)
redirect you to a website where you need
[03:43] (223.52s)
to authenticate with the same account
[03:45] (225.36s)
you use as in Chad GBD. Now, if you have
[03:47] (227.92s)
multiple subscriptions, for example, I
[03:50] (230.08s)
have a CH GBD teams account where I
[03:52] (232.40s)
have, you know, my team, my people, my
[03:54] (234.00s)
employees, and then I have a personal
[03:55] (235.92s)
one which I have the $200 a month pro
[03:58] (238.72s)
plan. If that's you, then just select
[04:01] (241.04s)
the plan which has higher usage. So for
[04:03] (243.20s)
me, obviously the pro plan is the
[04:04] (244.88s)
highest plan. So I'm going to select
[04:06] (246.08s)
that and click continue. Boom. There it
[04:08] (248.00s)
is. Sign into COX. We can close this
[04:09] (249.76s)
page. So if we open the terminal again,
[04:12] (252.32s)
we should be logged in. Sign in with
[04:14] (254.16s)
your CHP account. Okay. So we can hit
[04:17] (257.04s)
enter and we should be able to access
[04:20] (260.80s)
the CEX agent. There we go. And let me
[04:22] (262.80s)
try sending a prompt to see if it works.
[04:25] (265.12s)
Hey, there it is. Who are you? So we are
[04:28] (268.56s)
chatting with Codex through the Codex
[04:30] (270.32s)
CLI. This is the command line interface
[04:32] (272.24s)
and this is like the OpenAI's competitor
[04:35] (275.20s)
to CL code. But Codex is without a doubt
[04:39] (279.44s)
more powerful at building complex
[04:41] (281.20s)
applications, solving deep errors and
[04:44] (284.80s)
running for longer without making
[04:47] (287.04s)
mistakes than cloud code. So, if you
[04:49] (289.60s)
aren't using Codex in 2026, you really
[04:52] (292.24s)
are missing out because Cloud Code,
[04:54] (294.08s)
while it's good, it's not as powerful as
[04:57] (297.36s)
Codex at many of the use cases. And by
[04:59] (299.52s)
the way, if you're having any troubles
[05:01] (301.28s)
with the Codex install if the oneliner
[05:04] (304.32s)
doesn't work or, you know, is is
[05:06] (306.00s)
throwing some errors, then you might
[05:07] (307.92s)
need to check if you have Node.js
[05:09] (309.60s)
installed on your system. So, again, I'm
[05:11] (311.28s)
going to link this below the video, but
[05:12] (312.80s)
this is super simple. Here, you just
[05:14] (314.40s)
select the latest version. You you don't
[05:16] (316.00s)
have to change that. here. Select your
[05:17] (317.60s)
operating system and then run these
[05:19] (319.36s)
terminal commands one by one in your
[05:21] (321.36s)
terminal. Now to check if you have
[05:23] (323.76s)
Node.js, just open the terminal and type
[05:26] (326.88s)
in Node-V. And there we go. This is how
[05:29] (329.68s)
you know whether NodeJS is installed on
[05:31] (331.68s)
your system. If it's not showing any
[05:33] (333.28s)
version, then you need to install it.
[05:35] (335.12s)
That said, let me show you what I've
[05:36] (336.96s)
built for my team and my business with
[05:38] (338.96s)
the help of Codex. So, here is one app.
[05:41] (341.60s)
I call it YouTube alpha that we use for
[05:43] (343.76s)
titles, thumbnails and analyzing outline
[05:46] (346.16s)
videos. As you can see, this is very
[05:48] (348.32s)
advanced way to create uh thumbnails.
[05:51] (351.36s)
You upload an image and you can do
[05:52] (352.88s)
prompts and based on Nanobana 2 and
[05:56] (356.24s)
Nanobana Pro, it generates variations
[05:58] (358.16s)
and you can get to a thumbnail like
[05:59] (359.84s)
that. Something that inside of Google
[06:02] (362.96s)
Studio, it would take you a lot of time
[06:05] (365.20s)
because it constantly fails. It can only
[06:06] (366.96s)
generate one variation at a time. And we
[06:09] (369.20s)
have these different canvases that you
[06:10] (370.96s)
can share with other people on the team
[06:12] (372.80s)
that allow you to simply create
[06:14] (374.96s)
variations of uh different thumbnails.
[06:17] (377.92s)
And this is super efficient and we use
[06:19] (379.60s)
it for every single video. And uh it was
[06:22] (382.40s)
built largely with Codex. Here's another
[06:25] (385.12s)
application that we use for tracking
[06:27] (387.20s)
some of our funnels and seeing the
[06:28] (388.88s)
metrics. It's integrated with type form
[06:31] (391.20s)
and Calendarly. It was built mostly with
[06:33] (393.28s)
Codex like probably 90% Codex, 10% cloth
[06:36] (396.40s)
code. And this is allowing us to see
[06:40] (400.08s)
where the biggest drop off is in our
[06:42] (402.64s)
business and what we need to fix. Also
[06:45] (405.52s)
known as datadriven decisions. So stuff
[06:48] (408.40s)
like this is absolutely invaluable to me
[06:50] (410.24s)
as the CEO. And these are the types of
[06:52] (412.32s)
applications that we're able to build in
[06:54] (414.40s)
one two three hours and get it fully
[06:57] (417.20s)
deployed on the internet with the help
[06:59] (419.36s)
of Codex. So if you stick through this
[07:01] (421.36s)
entire video, you will have the skills
[07:03] (423.36s)
to build app like this for your own life
[07:05] (425.68s)
and business. And the obvious advantage
[07:07] (427.28s)
of this is that number one, you don't
[07:09] (429.68s)
have to pay for other people's software
[07:11] (431.60s)
that might be mediocre and not
[07:13] (433.92s)
specialized to your use case. And number
[07:16] (436.00s)
two, you can turn any idea you have into
[07:18] (438.64s)
a real application in a matter of couple
[07:21] (441.36s)
hours. This is the power of Codex. Okay,
[07:24] (444.00s)
so let's go back to the terminal. I'm
[07:25] (445.44s)
going to type in Codex again to launch
[07:27] (447.04s)
it. And the very first thing you need to
[07:28] (448.64s)
do is select the AI model. Now, you can
[07:31] (451.52s)
see that I already have GBD 5.4 for
[07:33] (453.60s)
selected. But if you don't, just make
[07:35] (455.76s)
sure to type in /model. Boom. And make
[07:38] (458.88s)
sure to select the latest one. Okay? Do
[07:41] (461.28s)
not use GPD 5.2. Do not use 5.3 Spark or
[07:45] (465.28s)
5.3 Codex. And definitely do not use a
[07:47] (467.92s)
mini model. Like, god forbid, please do
[07:50] (470.32s)
not use mini models. Use the best model,
[07:53] (473.44s)
okay? Which is the latest one, which is
[07:55] (475.28s)
GPT 5.4 as of the time of this
[07:57] (477.36s)
recording. If you watch this maybe in a
[07:59] (479.28s)
month, in in two months, maybe it's GPD
[08:01] (481.44s)
5.5. Whatever is the latest model by
[08:03] (483.44s)
OpenAI, you'll see it right here in the
[08:05] (485.28s)
description. They tell you what is the
[08:07] (487.04s)
latest model. So use the best one. Hit
[08:09] (489.44s)
enter. And then you need to select the
[08:11] (491.28s)
reasoning effort. How much time does it
[08:13] (493.36s)
spend on thinking, right? So there's
[08:15] (495.36s)
four options. Low, medium, high, and
[08:17] (497.68s)
extra high. Medium is default. And I
[08:19] (499.92s)
would say that's actually a good default
[08:21] (501.44s)
because for most things, you don't need
[08:24] (504.32s)
it to run for many minutes, right? Low I
[08:26] (506.96s)
would suggest you never use. This is
[08:29] (509.28s)
simply uh too little reasoning and it
[08:31] (511.60s)
will underperform. So I would never use
[08:34] (514.08s)
low. Medium is good default especially
[08:36] (516.48s)
if you don't want to burn your limits
[08:37] (517.92s)
too fast. High is also a great starting
[08:41] (521.28s)
point. Most of the time I do have it set
[08:43] (523.36s)
to high actually. And the beauty of high
[08:46] (526.08s)
is that if it needs to, it can run for
[08:48] (528.48s)
two, three, four minutes if it if the
[08:51] (531.04s)
task requires it. But if it's a simple
[08:52] (532.72s)
change, it'll just do it in five
[08:54] (534.16s)
seconds. Now then we have extra high.
[08:56] (536.88s)
This I would only use for the most
[08:58] (538.80s)
complex errors, right? When you when
[09:00] (540.96s)
you're struggling with a deep bug that
[09:02] (542.40s)
you haven't been able to fix, use extra
[09:05] (545.12s)
high. Or if you're doing a massive
[09:06] (546.88s)
refactor, like a very risky refactor of
[09:09] (549.04s)
your entire back end, use extra high.
[09:11] (551.92s)
But for most things, I think high is the
[09:13] (553.84s)
sweet spot and that's what I'm going to
[09:15] (555.28s)
select. Now, the way we did it right
[09:16] (556.96s)
now, Codex is running on the root of my
[09:20] (560.40s)
machine. So, if I tell it where on our
[09:23] (563.28s)
MacBook are you running, it's going to
[09:26] (566.40s)
run the pwd command and it's going to
[09:28] (568.80s)
check where it's running. You can see
[09:30] (570.00s)
it's user/david. So, this is the root
[09:32] (572.96s)
level of my MacBook, which is not
[09:34] (574.96s)
recommended unless you want to do
[09:36] (576.24s)
changes like cleaning up your downloads
[09:38] (578.08s)
folder or deleting some old
[09:39] (579.68s)
applications. Yeah, for these it would
[09:41] (581.60s)
be good running it on root level. But if
[09:43] (583.76s)
you want to build something like an
[09:45] (585.04s)
application, you know, do some AI
[09:46] (586.56s)
coding, it's much better to launch it in
[09:48] (588.48s)
a specific folder. So what I'm going to
[09:49] (589.92s)
do is I'm going to press Ctrl C a few
[09:52] (592.32s)
times and this will kill the process.
[09:54] (594.16s)
Right? So again Ctrl C even on Mac OS
[09:56] (596.88s)
not command C and this will kill COX
[10:00] (600.16s)
process and I'm just going to type clear
[10:01] (601.60s)
and then we need to go into a specific
[10:03] (603.04s)
folder which means changing the
[10:05] (605.04s)
directory cd. This is a very simple
[10:07] (607.60s)
terminal command that all of you should
[10:09] (609.04s)
learn. Even if you're not a developer
[10:11] (611.68s)
there's no disadvantage to knowing this
[10:13] (613.28s)
command, right? So CD and you can go for
[10:15] (615.20s)
example to documents and if you press
[10:16] (616.88s)
tab it's going to prefill the rest of
[10:18] (618.96s)
the folder name. Right now if you want
[10:20] (620.96s)
to go back up you can do CD dot dot and
[10:23] (623.52s)
it goes one level up. So to go to a
[10:25] (625.44s)
specific folder just type in CD and the
[10:27] (627.68s)
folders name. But if you want to go back
[10:29] (629.44s)
up type in CD dot. Now you might be
[10:32] (632.32s)
thinking okay David but what if I don't
[10:34] (634.24s)
know all the folders right? We're on the
[10:36] (636.32s)
root level. I just open the terminal. I
[10:38] (638.40s)
don't know where this is located in my
[10:40] (640.24s)
MacBook. First if you want to know where
[10:42] (642.08s)
this is located. Type in pwd. This is
[10:44] (644.32s)
what Codex did to check where we are.
[10:47] (647.52s)
Let's do clear. But if you want to see
[10:49] (649.76s)
what is in this directory, like what are
[10:51] (651.52s)
the different files here and folders,
[10:53] (653.36s)
you can type in ls and this will list
[10:55] (655.76s)
out everything in this directory. So you
[10:58] (658.24s)
can see that we have desktop documents
[11:00] (660.40s)
downloads. So for a project like this,
[11:02] (662.08s)
you probably want to go into documents,
[11:03] (663.44s)
right? So you do ls to see everything on
[11:07] (667.20s)
this level, all of the folders that are
[11:08] (668.64s)
available. And you do cd and you start
[11:10] (670.56s)
typing the ones you want to go to. Boom.
[11:13] (673.44s)
And now I'm in documents. Let me type in
[11:15] (675.04s)
clear again. LS to list out everything
[11:17] (677.44s)
in documents, right? There's a lot, but
[11:19] (679.60s)
I know where I want to go to. I'm going
[11:21] (681.20s)
to go to CD David.
[11:24] (684.56s)
Boom. David. That's my personal folder
[11:26] (686.32s)
for my YouTube channel. And then I'm
[11:28] (688.64s)
going to do ls again. Okay. I have a
[11:30] (690.48s)
bunch of stuff. So I'm going to go cd
[11:31] (691.92s)
into video files. Okay, that's clear.
[11:34] (694.24s)
And then I'm going to CD.
[11:36] (696.80s)
And then I'm going to ls again. And I'm
[11:38] (698.80s)
going to CD into the Codex beginner
[11:41] (701.36s)
course, which is the video you're
[11:42] (702.80s)
watching right now. Now that we're in
[11:44] (704.64s)
this specific folder, we can finally
[11:46] (706.80s)
launch Codex with restrictions of it
[11:49] (709.44s)
being in this folder. I'm going to do
[11:51] (711.20s)
that right now. Codex. Now, it will ask
[11:53] (713.92s)
you, do you trust the contents of this
[11:55] (715.44s)
directory? Right. So, make sure you're
[11:57] (717.12s)
on your computer and you trust it. I'm
[11:58] (718.88s)
going to hit yes because it's my
[12:01] (721.20s)
computer and I trust it. And this is
[12:02] (722.88s)
something that you might think, okay, do
[12:04] (724.56s)
I need to be using the terminal? You
[12:06] (726.00s)
know, is this too advanced? I literally
[12:07] (727.76s)
showed you two commands, ls and cd. ls
[12:11] (731.44s)
to list out the files and folders. CD
[12:13] (733.84s)
stands for change directory. Go into a
[12:16] (736.08s)
specific folder. That's all you need to
[12:17] (737.76s)
know because for each project you build,
[12:19] (739.84s)
you should be in a separate folder.
[12:21] (741.60s)
Don't be one of these people that like
[12:23] (743.04s)
saves everything on the desktop. That's
[12:25] (745.28s)
completely amateur and you should avoid
[12:26] (746.72s)
that at all cost. Just have a specific
[12:28] (748.80s)
folder for each coding project you're
[12:30] (750.80s)
going to build and you're good to go.
[12:32] (752.32s)
Now, the very first thing you want Codex
[12:34] (754.32s)
to do, no matter what you're building,
[12:36] (756.24s)
is to create agents.mmd file. So, I'm
[12:38] (758.96s)
going to say create an agents.mmd
[12:42] (762.08s)
file in this project
[12:46] (766.32s)
keep it empty for now. Just put a
[12:48] (768.96s)
header.
[12:50] (770.48s)
This is the ultimate system prompt that
[12:52] (772.72s)
all of the agents follow. In fact, this
[12:54] (774.80s)
is not just for Codex. This is a global
[12:56] (776.64s)
convention used by over 60,000 different
[13:00] (780.08s)
open source projects. Basically, it's
[13:02] (782.24s)
like a readme file for agents. Now, if
[13:04] (784.64s)
you use cloud code, you will know the
[13:06] (786.08s)
cloud MD file and that's basically the
[13:08] (788.64s)
only project that doesn't follow
[13:10] (790.48s)
agents.mmd. all the other agents whether
[13:12] (792.88s)
that is AM VS Code, Gemini CLI, Cursor,
[13:16] (796.72s)
Warp, Kilo Code, Ader, Factory, Codeex,
[13:21] (801.28s)
Rue Code, Windsurf, all the other ones
[13:25] (805.20s)
use agents.mmd. And here's what that can
[13:27] (807.76s)
look like. It's basically a single
[13:29] (809.20s)
markdown file that is a system prompt,
[13:33] (813.04s)
right, that the agents should follow.
[13:34] (814.40s)
Now, you might be saying, "Okay, David,
[13:35] (815.76s)
but how do I know where to start? Like,
[13:37] (817.44s)
I don't have agents.md file." Don't
[13:39] (819.36s)
worry, I created a free one for all of
[13:41] (821.84s)
you. This is a preset that I use that
[13:44] (824.40s)
you can just build up on top of, right?
[13:46] (826.64s)
So, I'm going to link this as a free
[13:48] (828.48s)
GitHub gist below the video and you can
[13:51] (831.20s)
just copy it, you know, click, you can
[13:52] (832.72s)
click raw, get the raw file and just
[13:55] (835.04s)
copy control A. Boom. Then you can go
[13:57] (837.36s)
into your codeex in the terminal and say
[13:58] (838.96s)
like now put in the following text.
[14:03] (843.12s)
Going to wrap it with XML tags like
[14:05] (845.20s)
this. This is a pro tip for context
[14:07] (847.20s)
engineering. any large paste you're
[14:09] (849.52s)
going to do, just wrap it with XML text
[14:11] (851.36s)
like this. Boom. Text text and it allows
[14:14] (854.40s)
the agent to better see where's the
[14:16] (856.80s)
start and where's the end. So, I just
[14:18] (858.72s)
literally took the preset from GitHub
[14:21] (861.52s)
gist. And as you can see, there needs to
[14:23] (863.28s)
be a bit updated like the project name,
[14:25] (865.20s)
target user, your skill level, and stuff
[14:27] (867.20s)
like that so that it's relevant to your
[14:29] (869.44s)
project. But this is already a very
[14:31] (871.92s)
decent agentmd file that's going to make
[14:34] (874.80s)
the agent behave better, respond in a
[14:37] (877.20s)
more friendly way, and follow best
[14:38] (878.96s)
practices. So again, this is going to be
[14:40] (880.56s)
linked below the video. It's completely
[14:42] (882.00s)
free. Take it and use it. And by the
[14:43] (883.84s)
way, if you want to access more presets
[14:45] (885.52s)
and resources like this that I use
[14:47] (887.44s)
myself for coding and that I use to
[14:49] (889.44s)
build vectal and sell it for $1.8
[14:51] (891.44s)
million, make sure to join the new
[14:53] (893.44s)
society inside of the classroom. We just
[14:55] (895.52s)
released a brand new course, a 3-week
[14:57] (897.92s)
outline that's going to take you from a
[14:59] (899.68s)
complete beginner to master AI coding.
[15:02] (902.00s)
That includes cloth code, codex, cursor,
[15:05] (905.28s)
deployments to versel, superbase, and
[15:07] (907.52s)
anything else you need to truly be able
[15:10] (910.00s)
to build any type of software with AI.
[15:12] (912.96s)
In these three weeks, you will go from a
[15:14] (914.72s)
complete beginner to someone who has the
[15:17] (917.20s)
skills to build anything with AI. In
[15:19] (919.68s)
fact, let me show you just how the
[15:21] (921.04s)
outline looks like. Each week is split
[15:23] (923.28s)
into these granular modules between one,
[15:25] (925.84s)
three, sometimes four minutes. And these
[15:27] (927.68s)
modules are as step by step as it goes,
[15:30] (930.08s)
showing you every single step of the
[15:32] (932.00s)
setup, all the mistakes to avoid, giving
[15:34] (934.40s)
you all the presets, so you can just
[15:35] (935.84s)
copy paste them and start using them
[15:37] (937.28s)
yourself. And this is designed for
[15:38] (938.80s)
people who've never built anything with
[15:40] (940.96s)
any coding background, no experience
[15:43] (943.76s)
with AI coding agents, nothing. You will
[15:45] (945.92s)
learn absolutely all the things you need
[15:48] (948.24s)
to know to not only be able to build any
[15:50] (950.40s)
type of software you want, but also
[15:52] (952.32s)
deploy it on the internet and start
[15:53] (953.84s)
getting users. And in these three weeks,
[15:56] (956.16s)
you will have the skill set to do that.
[15:57] (957.92s)
So again, if you're serious about AI and
[16:00] (960.24s)
if you want to master AI coding, make
[16:02] (962.00s)
sure to join the new society. It's going
[16:03] (963.52s)
to be linked below the video. Okay. So
[16:05] (965.04s)
the next thing I'm going to show you is
[16:06] (966.64s)
image input. You can actually attach
[16:09] (969.28s)
images, screenshots directly into the
[16:11] (971.92s)
Codex CLI. Now we should start building
[16:15] (975.04s)
something right because right now so far
[16:16] (976.80s)
we created agents.mmd but we haven't
[16:18] (978.96s)
really chosen a project what to build
[16:21] (981.52s)
now for apps the woman targeting apps
[16:25] (985.92s)
are insane like it sounds bad but women
[16:29] (989.28s)
do spend a lot more money and you can
[16:31] (991.44s)
build the dumbest [Β __Β ] imaginable and it
[16:34] (994.40s)
will work. So this girl got to 300k MR
[16:38] (998.96s)
with a manifestation app. I don't even
[16:41] (1001.20s)
know what that means, but I know what
[16:42] (1002.88s)
300K MR means. And what I'm trying to
[16:45] (1005.36s)
say is that this is the biggest
[16:47] (1007.12s)
opportunity to build apps is stuff like
[16:51] (1011.04s)
that's not really obvious to us because
[16:53] (1013.52s)
each instinct, you know, most of my
[16:55] (1015.20s)
audience like 98% are men. The instinct
[16:57] (1017.76s)
is to build something for yourself. you
[16:59] (1019.20s)
know, you you want to build a tool that
[17:01] (1021.28s)
you would use and you go into these
[17:03] (1023.12s)
highly competitive industries, but
[17:04] (1024.64s)
there's so much potential building these
[17:06] (1026.80s)
mobile apps or or it doesn't have to be
[17:08] (1028.24s)
a mobile app, could be a web app as
[17:10] (1030.24s)
well, but targeting women and you don't
[17:13] (1033.52s)
even need to add that much AI. I
[17:15] (1035.52s)
guarantee you this app is like the
[17:16] (1036.80s)
simplest thing imaginable
[17:18] (1038.88s)
architecturally, but it's just branded
[17:21] (1041.04s)
in a way that works and it clicks and
[17:23] (1043.36s)
300K MR something that will be
[17:24] (1044.96s)
absolutely life-changing to all of us,
[17:27] (1047.12s)
right? So we're going to take this
[17:28] (1048.80s)
approach and actually I have a really
[17:30] (1050.64s)
good idea which is proven by being in
[17:34] (1054.80s)
the field let's just put it that way of
[17:38] (1058.24s)
showing seeing how we would look like.
[17:39] (1059.76s)
So AI images are much newer,
[17:44] (1064.00s)
especially since the rise of Nanobana
[17:46] (1066.08s)
Pro and Nanobana 2, than AI text, right?
[17:49] (1069.68s)
Most people understand AI text. So what
[17:51] (1071.44s)
we're going to do is we're going to use
[17:52] (1072.80s)
the untapped potential of AI images to
[17:55] (1075.28s)
build an app. And this is something that
[17:56] (1076.72s)
literally every single woman or girl is
[17:59] (1079.36s)
wondering how she would look like if she
[18:01] (1081.60s)
had a bit smaller nose or if she had a
[18:03] (1083.44s)
lip fill or stuff like that, right? And
[18:04] (1084.96s)
whether this type of stuff should be
[18:06] (1086.00s)
promoted or not, that's an entirely
[18:07] (1087.60s)
different conversation. But I think it's
[18:09] (1089.52s)
a good idea from the technical
[18:11] (1091.92s)
standpoint because it's going to allow
[18:13] (1093.60s)
us to use AI images and it's a pretty
[18:15] (1095.44s)
interesting project to build. Let's put
[18:16] (1096.88s)
it that way. So I will say I want to
[18:20] (1100.16s)
build an app where you can upload an
[18:24] (1104.40s)
image of yourself and see how you would
[18:28] (1108.16s)
look like with different facial changes.
[18:33] (1113.04s)
Smaller nose, lip filler, foxy eye lift,
[18:40] (1120.32s)
faceelift,
[18:42] (1122.56s)
Botox,
[18:44] (1124.80s)
different skin tone,
[18:48] (1128.08s)
and at least 10 plus other things that
[18:51] (1131.44s)
women often do or would like to see how
[18:55] (1135.68s)
they would look on them before doing
[18:58] (1138.80s)
anything.
[19:00] (1140.48s)
The target audience
[19:03] (1143.20s)
is women 18 to there's no limit really
[19:07] (1147.52s)
but let's say 18 to 55 years old.
[19:10] (1150.96s)
Update agents.md accordingly and also
[19:14] (1154.40s)
create readme.md
[19:16] (1156.64s)
file. This is something you should have
[19:17] (1157.92s)
in the root of every project is what's
[19:19] (1159.84s)
called a readme file. This is what
[19:21] (1161.84s)
displays on GitHub right away. And later
[19:24] (1164.08s)
in the video I'll also show you how to
[19:25] (1165.60s)
actually get this on GitHub because
[19:27] (1167.28s)
that's essential. There we go. Codex has
[19:29] (1169.60s)
updated it. And now I'm going to do the
[19:31] (1171.92s)
visual style. So what's another thing
[19:33] (1173.28s)
that women like is Pinterest. So I'm
[19:36] (1176.16s)
going to just say that you know whatever
[19:38] (1178.24s)
this I'm going to copy this. I'm going
[19:40] (1180.32s)
to shoot a visual input. You can do Ctrl
[19:42] (1182.00s)
+V. Not command V. Control V. Command V
[19:45] (1185.76s)
doesn't work. I don't know why. So just
[19:46] (1186.96s)
do Ctrl +V to attach this image. And I'm
[19:48] (1188.88s)
going to say this is what the layout of
[19:52] (1192.72s)
the app should look like after the user
[19:56] (1196.32s)
uploads her face.
[19:59] (1199.12s)
It should generate all kinds of
[20:02] (1202.16s)
different predefined
[20:05] (1205.04s)
changes to her face. Again, at least 15
[20:10] (1210.00s)
to 20 different images.
[20:14] (1214.56s)
Study this layout and save it into both
[20:18] (1218.80s)
MD files. Okay. So, this is how image
[20:21] (1221.20s)
input looks like. You can literally take
[20:22] (1222.80s)
a screenshot of something maybe of a
[20:24] (1224.56s)
website you like some style you want to
[20:26] (1226.56s)
copy even an error or the layout you
[20:28] (1228.88s)
don't want to you don't like the layout
[20:30] (1230.32s)
of your current site take an image and
[20:31] (1231.92s)
attach it with your prompt. This is
[20:33] (1233.60s)
something that so many people are
[20:35] (1235.12s)
underutilizing. The ability to attach an
[20:37] (1237.44s)
image input is very very OP. And by the
[20:40] (1240.64s)
way if you don't know how to take a full
[20:42] (1242.16s)
screenshot here is how on Mac OS command
[20:45] (1245.04s)
shift and free takes a screenshot of the
[20:47] (1247.44s)
whole screen. So you can just copy and
[20:49] (1249.36s)
paste it into an AI chatbot or into
[20:52] (1252.16s)
Codex itself. On Windows it's print
[20:55] (1255.44s)
screen key. You should have a dedicated
[20:57] (1257.20s)
key for that or win plus print screen.
[21:00] (1260.08s)
And on Linux it's print screen as well.
[21:02] (1262.00s)
So this is how you take screenshots. And
[21:03] (1263.92s)
when I code with AI, I attach
[21:05] (1265.68s)
screenshots all the time. Like every
[21:07] (1267.84s)
other prompt includes at least one
[21:09] (1269.76s)
attached image. It really is underrated
[21:12] (1272.16s)
thing that beginners are not doing. Now
[21:13] (1273.76s)
another thing I'm going to show you is
[21:15] (1275.20s)
web search. This is one of the built-in
[21:16] (1276.64s)
tools into Codex, but again, very
[21:18] (1278.96s)
underutilized. So, I'm going to say use
[21:20] (1280.64s)
the web search tool to find the 20 plus
[21:24] (1284.00s)
most common
[21:25] (1285.92s)
facial cosmetic
[21:28] (1288.24s)
surgeries
[21:30] (1290.00s)
women do and save them into a single
[21:34] (1294.40s)
bullet list into readme.md file. Boom.
[21:39] (1299.84s)
So, now Codex will browse the web,
[21:42] (1302.08s)
right? It has a lot of knowledge built
[21:43] (1303.52s)
in because the model has a lot of it
[21:46] (1306.32s)
baked into the training data. But for
[21:48] (1308.16s)
stuff like this or maybe you want to
[21:49] (1309.60s)
check the latest documentation, maybe
[21:51] (1311.44s)
you are using like a obscure framework
[21:54] (1314.00s)
and you want to make sure that you are
[21:56] (1316.00s)
using the correct docs then tell it to
[21:58] (1318.16s)
do web search right it can it's not
[22:00] (1320.24s)
going to be a deep research but the web
[22:02] (1322.24s)
search here is pretty solid like opens
[22:04] (1324.24s)
web search is on the level of normal
[22:06] (1326.32s)
complexity search I would say. So this
[22:08] (1328.56s)
is another thing is like telling it to
[22:10] (1330.80s)
do web search to find more information.
[22:14] (1334.08s)
Don't just rely on it with the training
[22:15] (1335.92s)
data. It knows a lot in the training
[22:17] (1337.44s)
data, but for stuff that's up to date,
[22:19] (1339.68s)
it can do customer research. This is
[22:21] (1341.28s)
actually less of a coding, more of a
[22:23] (1343.76s)
marketing. I'm learning more about that
[22:25] (1345.60s)
my target avatar for this build project
[22:28] (1348.32s)
to make the app better, right? And this
[22:30] (1350.56s)
is something you can do when writing a
[22:32] (1352.00s)
landing page, when writing email copy.
[22:33] (1353.84s)
Use these AI agents to understand the
[22:36] (1356.00s)
industry more, to understand your users
[22:38] (1358.08s)
more, to write better copy, to do
[22:40] (1360.00s)
competitor research. There's so much you
[22:42] (1362.32s)
can do with tools like Codex. People
[22:44] (1364.72s)
think it's only for coding because it's
[22:46] (1366.48s)
in the name Codex, but it's not. You can
[22:49] (1369.60s)
absolutely use it for marketing, for
[22:51] (1371.36s)
hiring, for growing your business in all
[22:53] (1373.28s)
kinds of various ways, for managing your
[22:54] (1374.96s)
personal productivity. There's literally
[22:57] (1377.20s)
an endless ways you can use Codex.
[22:59] (1379.04s)
Anything that you as a human can do on a
[23:02] (1382.16s)
computer, you can use AI agents like
[23:04] (1384.32s)
Codex to help you save time or even do
[23:07] (1387.20s)
it fully autonomously. Okay, so there it
[23:09] (1389.20s)
is. It spent a solid minute and now it
[23:15] (1395.04s)
created the list.
[23:17] (1397.12s)
I would say uh I did not tell you to
[23:21] (1401.44s)
remove any of the things we already had
[23:25] (1405.20s)
just to add to it.
[23:27] (1407.68s)
So please do not remove the stuff I told
[23:30] (1410.88s)
you earlier.
[23:32] (1412.72s)
Aka different facial changes. Okay. So
[23:35] (1415.04s)
here Codex did multiple different web
[23:36] (1416.96s)
searches until it had enough info and
[23:39] (1419.68s)
then it saved the results into our files
[23:42] (1422.72s)
that is much more accurate than what I
[23:44] (1424.40s)
could think you know women want to see
[23:46] (1426.48s)
on their face. This is based on multiple
[23:48] (1428.48s)
web searches. So I'm going to trust that
[23:50] (1430.08s)
a lot more. Okay. Let me show you
[23:51] (1431.52s)
another cool feature inside of Codex.
[23:52] (1432.88s)
Let's say you accidentally shut it off
[23:54] (1434.56s)
or maybe you don't use the computer for
[23:56] (1436.72s)
a few days and then you want to go back
[23:57] (1437.92s)
to previous session but you start Codeex
[24:00] (1440.16s)
and it's a new session, right? Every
[24:01] (1441.68s)
time it creates a new session. Well,
[24:03] (1443.20s)
guess what? There's a command slash
[24:04] (1444.56s)
resume where you can resume a saved
[24:06] (1446.64s)
chat. And here it is. We can see that we
[24:08] (1448.56s)
have this one chat here and hit enter.
[24:10] (1450.48s)
And this is the chat that we were just
[24:12] (1452.48s)
in with the web search and with uh yeah,
[24:14] (1454.88s)
with the app idea that we're building
[24:16] (1456.56s)
right here. So, anytime you want to go
[24:17] (1457.84s)
to a previous conversation, just type in
[24:19] (1459.20s)
slash resume. Now I'm going to ask it
[24:21] (1461.04s)
suggest 10 potential clear names for
[24:24] (1464.40s)
this app idea.
[24:26] (1466.64s)
Let's see what Codex cooks up here.
[24:28] (1468.64s)
Beauty. I like beauty. I like number
[24:30] (1470.96s)
two. Let's go with that. Okay. Amazing.
[24:33] (1473.68s)
So it updated all the references to use
[24:35] (1475.84s)
this new name. And by the way, not every
[24:38] (1478.00s)
time is it good to resume a previous
[24:39] (1479.52s)
session. Sometimes if there's a lot of
[24:41] (1481.76s)
like irrelevant information, a lot of
[24:43] (1483.36s)
noise, it's better to start with a fresh
[24:45] (1485.20s)
session, which by the way, you can also
[24:46] (1486.56s)
do by typing new or clear. Both of these
[24:49] (1489.84s)
will start a new chat. You don't have to
[24:51] (1491.60s)
crash the terminal and start Codex from
[24:54] (1494.16s)
scratch. Type in slash new or slashcle
[24:56] (1496.80s)
and that will completely clear
[24:58] (1498.08s)
everything and begin a new Codex
[25:00] (1500.16s)
session. Now, what I'm going to do is
[25:02] (1502.08s)
I'm going to show you just how powerful
[25:03] (1503.68s)
Codex is by telling it to oneshot this
[25:06] (1506.64s)
whole app. So, ideally, this would
[25:08] (1508.88s)
probably be a mobile app, but I'm
[25:10] (1510.72s)
recording this on a computer, so I'm
[25:12] (1512.16s)
going to show you a web app. So, I'm
[25:14] (1514.24s)
going to say, let's build this MVP as a
[25:17] (1517.36s)
web app. Ask me four concise questions
[25:21] (1521.20s)
to understand my vision for this
[25:25] (1525.92s)
based on what's missing in and then
[25:28] (1528.88s)
tagging files you do to add symbol and
[25:31] (1531.44s)
then you read me or agents IMD I mean
[25:33] (1533.84s)
these are the only two files we have
[25:35] (1535.28s)
right now in this project but tagging
[25:37] (1537.36s)
files is essential because it tells the
[25:39] (1539.52s)
agent look there look into this file
[25:42] (1542.40s)
this is essential context and then I'm
[25:44] (1544.88s)
going to say be concise because um
[25:47] (1547.52s)
context has a tendency to be very
[25:48] (1548.88s)
verbose, you know, and like yap a lot.
[25:52] (1552.72s)
Okay. So, do you want the MVP to use
[25:54] (1554.96s)
real AI images generation editing? So,
[25:57] (1557.28s)
I'm going to use voice prompts.
[26:00] (1560.16s)
Yes, I want the MVP to use real AI image
[26:03] (1563.36s)
editing. We will use the nano banana 2
[26:06] (1566.00s)
model from open router API. In fact, I'm
[26:09] (1569.68s)
going to give it the exact model slug.
[26:12] (1572.56s)
So, there we are. Nano banana 2. Here we
[26:15] (1575.84s)
are. Here
[26:19] (1579.12s)
is the exact mortal slug.
[26:23] (1583.28s)
Save it.
[26:27] (1587.28s)
I think the first version doesn't need
[26:28] (1588.88s)
to have any accounts.
[26:30] (1590.88s)
It should just be upload only. Question
[26:33] (1593.68s)
number three,
[26:36] (1596.32s)
we should store this in local storage
[26:38] (1598.88s)
for now. Question number four, what
[26:42] (1602.32s)
matters for V1 is
[26:45] (1605.52s)
all three of these things. Realistic
[26:47] (1607.28s)
results, fast generation speeds, and
[26:49] (1609.52s)
beautiful gallery style experience. We
[26:51] (1611.60s)
will get fast generation speeds if you
[26:53] (1613.44s)
use the exact models like I gave you
[26:55] (1615.12s)
above. And the realistic results just
[26:57] (1617.44s)
means that the prompts we include cannot
[26:59] (1619.28s)
be too aggressive. And the beautiful
[27:01] (1621.12s)
gallery style experience, we need to
[27:03] (1623.12s)
copy the interface and the layout of
[27:05] (1625.52s)
Pinterest which I sent you earlier. Now
[27:08] (1628.56s)
save my answers into both MD files.
[27:12] (1632.24s)
Okay, so now I think I've given enough
[27:14] (1634.24s)
context. So next I'm going to launch it
[27:16] (1636.72s)
and I'm going to switch to extra high
[27:18] (1638.16s)
and I'm going to try to have it on oneot
[27:20] (1640.24s)
the entire app. I'm adding your MVP
[27:22] (1642.72s)
decisions to both dogs. Real AI editing.
[27:25] (1645.28s)
Okay. And actually I'm going to show you
[27:26] (1646.88s)
one more pro tip. This one is super
[27:28] (1648.40s)
valuable is how to double the speed of
[27:30] (1650.80s)
codeex. You can literally make it faster
[27:34] (1654.32s)
and that is with a single command slashf
[27:36] (1656.80s)
fast. Okay, so it finished typing. So if
[27:38] (1658.80s)
you type in /fast, you can toggle on
[27:40] (1660.96s)
fast mode. Now obviously this will burn
[27:43] (1663.36s)
through your limits sooner. So if you
[27:45] (1665.76s)
only have um Go the $8 subscription or
[27:49] (1669.04s)
the $20 subscription plus,
[27:52] (1672.00s)
you will uh burn through your limits
[27:54] (1674.16s)
fast. But if you have either the $100 a
[27:56] (1676.40s)
month pro plan or the $200 a month pro
[27:58] (1678.80s)
plan, which is what I have, then just
[28:01] (1681.20s)
always be on fast mode. There is no
[28:02] (1682.72s)
reason not to be on fast mode. It's very
[28:05] (1685.60s)
good. It just doubles your inference
[28:07] (1687.12s)
speed. So, it's absolutely addictive.
[28:09] (1689.04s)
And I'm actually going to do /model
[28:10] (1690.72s)
before I deploy it. I'm going to select
[28:12] (1692.40s)
to extra high. Actually, no, I think
[28:15] (1695.04s)
high can handle this. Never mind. I'm
[28:16] (1696.72s)
going to state on high. I'm going to
[28:18] (1698.16s)
make sure I'm in fast mode. You can see
[28:19] (1699.28s)
it also right here at the bottom. I'm
[28:20] (1700.64s)
going to say now get to work and build
[28:22] (1702.96s)
this entire app fully and completely
[28:25] (1705.92s)
like a professional developer would.
[28:28] (1708.64s)
Again, make it a web app and keep
[28:32] (1712.56s)
building until the full app has been
[28:34] (1714.48s)
finished.
[28:36] (1716.00s)
A very simple prompt in plain English
[28:38] (1718.08s)
and I'm just going to have Codex get
[28:39] (1719.84s)
started on this and build a whole app
[28:41] (1721.52s)
for us hopefully in one shot.
[28:44] (1724.80s)
Now, while this is going, I'm going to
[28:46] (1726.40s)
explain to you how to use Codex with
[28:48] (1728.32s)
your own IDE. IDE stands for integrated
[28:51] (1731.04s)
development environment. And this is
[28:52] (1732.96s)
what you need when you're building
[28:54] (1734.64s)
software. Now, obviously, for simple
[28:56] (1736.32s)
stuff, for a simple demo, you can just
[28:58] (1738.72s)
stay in a terminal like this and have
[29:00] (1740.40s)
the agent do everything. But the more
[29:02] (1742.72s)
advanced, the more complex your software
[29:04] (1744.56s)
gets, the more need for a proper ID. You
[29:07] (1747.84s)
can see the code, you can see your file
[29:09] (1749.52s)
structure, you can use Git easily, you
[29:11] (1751.68s)
have integrated terminals. There's many
[29:13] (1753.44s)
benefits of using an IDE, and there is
[29:15] (1755.92s)
no reason to be scared of it. It's just
[29:17] (1757.28s)
like any other app. So, if you're able
[29:18] (1758.96s)
to install Slack or Microsoft Teams or a
[29:22] (1762.56s)
video game on your computer, you can
[29:24] (1764.40s)
absolutely install and set up an IDE.
[29:26] (1766.64s)
It's that simple. Now, if you don't know
[29:28] (1768.48s)
what an IDE is, as I said, it stands for
[29:31] (1771.12s)
integrated development environment. And
[29:33] (1773.44s)
a simple explanation is that's a
[29:35] (1775.28s)
software application that combines
[29:37] (1777.44s)
essential developer tools into a single
[29:39] (1779.60s)
interface. So, this is a great article
[29:42] (1782.16s)
from GitHub. You can read it. But
[29:43] (1783.76s)
basically, IDEs have code editors,
[29:46] (1786.16s)
debuggers, compilers, version control
[29:48] (1788.48s)
systems, and AI capabilities. But the
[29:50] (1790.48s)
beauty of Codex is that it can do most
[29:53] (1793.20s)
of these things for us, right? So we're
[29:54] (1794.88s)
not going to be debugging or compiling
[29:56] (1796.40s)
or doing the version control. Codex can
[29:58] (1798.56s)
do these things, but you still want an
[30:00] (1800.88s)
IDE to see the code and to understand
[30:03] (1803.12s)
it. Now, by far the most popular ID in
[30:06] (1806.72s)
the world is Visual Studio Code, also
[30:09] (1809.84s)
known as VS Code. And this is a great
[30:11] (1811.92s)
IDE because not only is it open source,
[30:14] (1814.24s)
it's also completely free. And u
[30:16] (1816.80s)
everything is built on top of it, right?
[30:18] (1818.56s)
So if you use windsurf, anti-gravity,
[30:22] (1822.08s)
cursor, all of them are built on top of
[30:24] (1824.72s)
VS code. So if you start using any of
[30:26] (1826.96s)
these idees, it's very easy to
[30:28] (1828.96s)
understand other ones because they are
[30:30] (1830.64s)
all forks of VS code. In fact, you can
[30:32] (1832.88s)
literally go to the VS code GitHub and
[30:35] (1835.52s)
you can see it has 184,000 stars and
[30:38] (1838.88s)
this is the official repository by
[30:40] (1840.16s)
Microsoft. So they are the inventors,
[30:42] (1842.96s)
creators of VS Code, but this is one of
[30:45] (1845.28s)
the most popular open source projects of
[30:47] (1847.12s)
all time. And if you have an brilliant
[30:49] (1849.12s)
idea for a unique AI vibe coding tool,
[30:51] (1851.84s)
you can just fork it. You can see there
[30:53] (1853.12s)
is many many forks of VS Code and that's
[30:56] (1856.24s)
because it's not only really really good
[30:58] (1858.08s)
but also very easy to use. Now my
[31:00] (1860.32s)
favorite fork of VS Code is actually
[31:02] (1862.64s)
cursor. This AI powered IDE that right
[31:06] (1866.32s)
now they have some features that VS Code
[31:08] (1868.72s)
doesn't have but uh yeah I've been using
[31:10] (1870.88s)
Cursor for like two years over two years
[31:12] (1872.96s)
now and it's very easy to use and you
[31:15] (1875.36s)
can also get started for free. You don't
[31:17] (1877.36s)
even need to pay for any of these
[31:18] (1878.64s)
subscriptions because we will be running
[31:20] (1880.08s)
codecs inside of Cursor. And they
[31:22] (1882.08s)
actually complement each other very
[31:23] (1883.44s)
nicely. So I'm going to click on
[31:24] (1884.96s)
download for Mac OS. And by the way,
[31:27] (1887.20s)
just go to cursor.com to download it.
[31:29] (1889.84s)
And by clicking this button, it will
[31:31] (1891.44s)
begin downloading the cursor installer.
[31:33] (1893.92s)
Boom, there it is. So double click on
[31:35] (1895.92s)
the installer and simply drag in cursor
[31:38] (1898.40s)
into your applications file. Then you
[31:40] (1900.08s)
can just type in spotlight search and
[31:41] (1901.36s)
type in cursor which will launch the
[31:43] (1903.28s)
cursor app. Now, if you're doing this
[31:44] (1904.88s)
for the first time, it might want you to
[31:46] (1906.72s)
log in and create a cursor account. But
[31:49] (1909.20s)
again, you can do that completely for
[31:50] (1910.64s)
free on their website. So, just do that.
[31:53] (1913.44s)
And then you'll see a screen like this
[31:55] (1915.84s)
where it's telling you to open a
[31:57] (1917.12s)
project, right? So, I can open project.
[31:59] (1919.76s)
And actually, I'm going to open this
[32:00] (1920.96s)
same project right here. Codex beginners
[32:03] (1923.76s)
course. Uhuh. I'm going to open this.
[32:06] (1926.64s)
And this is now we can see, you know, on
[32:09] (1929.68s)
the right. By default, it's on the left.
[32:11] (1931.84s)
So, by default, you're going to have it
[32:13] (1933.44s)
like this. Okay.
[32:15] (1935.44s)
Boom. This is what it's going to look
[32:16] (1936.56s)
like for you by default. In the left,
[32:18] (1938.08s)
you have the files. In the middle, you
[32:19] (1939.60s)
can open any of these files and see the
[32:21] (1941.28s)
actual contents. And on the right, you
[32:23] (1943.36s)
have the cursor agent. As you can see, I
[32:25] (1945.76s)
have Codex here set up, but I'm not
[32:27] (1947.92s)
going to get too ahead of ourselves.
[32:29] (1949.20s)
Right. So, this is the layout, but
[32:30] (1950.80s)
personally, I prefer to have this on the
[32:32] (1952.32s)
right. So, you can just right click in
[32:34] (1954.00s)
the header of the sidebar and click move
[32:36] (1956.80s)
primary sidebar to the right. So don't
[32:39] (1959.52s)
be confused when the sides are swapped.
[32:41] (1961.84s)
This is how I prefer to have it. But you
[32:43] (1963.92s)
can already start to see the benefits of
[32:45] (1965.44s)
having an IDE. Not only do we see the
[32:47] (1967.52s)
actual codebase that we're building, we
[32:49] (1969.20s)
can see the structure of it and what
[32:50] (1970.88s)
folders we have, but also you can click
[32:53] (1973.04s)
on any of these files and you can see
[32:54] (1974.40s)
the code for yourself or maybe see the
[32:56] (1976.16s)
prompt, right? Agents.md see the prompt
[32:58] (1978.16s)
and you can change the system prompt
[32:59] (1979.44s)
easily. And if you do command I, you can
[33:01] (1981.52s)
close the AI sidebar to have a full
[33:03] (1983.92s)
vision. If you do command B, you can
[33:05] (1985.68s)
close the primary sidebar. But there is
[33:08] (1988.00s)
many benefits of using an IDE. But one
[33:11] (1991.28s)
of the main ones in the era of AI coding
[33:13] (1993.60s)
is the integrated terminal. To start
[33:15] (1995.68s)
out, just do command J or control J on
[33:18] (1998.00s)
Windows. And this will open the terminal
[33:19] (1999.84s)
inside of cursor or VS code. Again, all
[33:22] (2002.24s)
of this is literally the same for VS
[33:24] (2004.40s)
code or wind surf or anti-gravity. All
[33:27] (2007.12s)
of these things will be the same. So if
[33:29] (2009.20s)
you learn the basics of VS code, it's so
[33:32] (2012.40s)
easy to switch between these different
[33:34] (2014.00s)
IDEs. Now here what we can do is
[33:36] (2016.32s)
actually we can type in codeex and
[33:38] (2018.56s)
launch codex in this project right and
[33:41] (2021.60s)
then here if you drag in on the node and
[33:43] (2023.44s)
drag it to the top we can have it in the
[33:45] (2025.44s)
main window so we can run multiple
[33:48] (2028.96s)
codexes inside of cursor and this is
[33:52] (2032.48s)
both better for AI because again anytime
[33:55] (2035.12s)
you launch the integrated terminal it's
[33:56] (2036.88s)
already in the correct folder you don't
[33:58] (2038.88s)
have to do cd and ls and navigate into
[34:01] (2041.44s)
the right folder it's already in the
[34:03] (2043.12s)
correct folder so any agent we launch,
[34:05] (2045.12s)
it's going to be working on this
[34:06] (2046.72s)
project. It knows that we're working on
[34:08] (2048.56s)
this project. But another benefit is
[34:10] (2050.40s)
that for you as a human, you see
[34:12] (2052.08s)
everything and you can easily manage
[34:13] (2053.44s)
agents and you don't have to, you know,
[34:15] (2055.84s)
wonder what they're creating and what
[34:17] (2057.84s)
files you have and don't have. It's much
[34:20] (2060.08s)
better for everybody involved basically.
[34:22] (2062.40s)
So, let's switch to the terminal and
[34:23] (2063.68s)
let's see what's happening.
[34:26] (2066.56s)
It wants to allow installing. Okay. So,
[34:28] (2068.64s)
I'm going to do yes.
[34:30] (2070.80s)
In fact, I'm going to put you on more of
[34:33] (2073.04s)
a tip, more of a game. How to launch
[34:35] (2075.12s)
Codex so you don't have to do these
[34:36] (2076.24s)
constant approvals. And that is by
[34:38] (2078.32s)
putting it in YOLO mode. So, if you type
[34:39] (2079.76s)
in Codex, you can do space dash yolo.
[34:43] (2083.60s)
This starts it with full permissions.
[34:45] (2085.84s)
It's like dangerously skip permissions
[34:47] (2087.60s)
for cloud code, right? If you're
[34:48] (2088.88s)
familiar with that command, cloud code,
[34:50] (2090.72s)
dangerously skip permissions. This is
[34:53] (2093.04s)
the same command but for Codex. So, I'm
[34:55] (2095.76s)
going to drag it up and we're going to
[34:58] (2098.40s)
be using Codex here. I can kill this
[35:00] (2100.80s)
process
[35:03] (2103.20s)
and let's see what's happening in this
[35:05] (2105.36s)
terminal. The app builds verification
[35:07] (2107.12s)
pass two issues current tool. Okay, so
[35:09] (2109.52s)
the llinter found some issues. So it's
[35:11] (2111.12s)
fixing them by itself. So it seems like
[35:13] (2113.60s)
it built a full app in one shot. Look at
[35:15] (2115.84s)
this. Hundreds and hundreds of lines of
[35:17] (2117.52s)
code without me having to intervene or
[35:20] (2120.08s)
guide it or anything. This is the power
[35:22] (2122.16s)
of Codex. It is the most persistent AI
[35:24] (2124.32s)
agent that can run for longest and it
[35:26] (2126.48s)
makes the least mistakes. So I'm not
[35:29] (2129.36s)
joking when I say people who don't use
[35:31] (2131.28s)
codeex are missing out because it really
[35:33] (2133.76s)
is essential for building software.
[35:35] (2135.44s)
Okay. So now it's fixing some of these
[35:37] (2137.44s)
issues and we should be able to start
[35:39] (2139.76s)
the app. So I'm going to say study the
[35:42] (2142.56s)
code base and tell me
[35:46] (2146.08s)
how I can start this app. Again with AI
[35:49] (2149.60s)
you can be as stupid sounding as
[35:51] (2151.68s)
possible. No prompt is too dumb. The
[35:54] (2154.48s)
worst thing you can do is not send a
[35:55] (2155.84s)
prompt and not ask. Right? So it's going
[35:58] (2158.16s)
to analyze the codebase. It's going to
[35:59] (2159.84s)
see what text tag we have and see okay
[36:01] (2161.52s)
this is the next JS project. So we need
[36:03] (2163.60s)
to do npm rundef. Can the app start even
[36:06] (2166.96s)
without the envir
[36:10] (2170.16s)
let's ask that question. Yes the app can
[36:13] (2173.28s)
start. Okay let's see if the terminal is
[36:14] (2174.56s)
running here. It build the beauty mirror
[36:17] (2177.12s)
like it ran for like 8 minutes or
[36:18] (2178.56s)
something. The app is okay. Is the front
[36:21] (2181.44s)
end actually what I'm going to do is I'm
[36:23] (2183.76s)
going to kill the terminal here. I'm
[36:25] (2185.60s)
going to resume the same codeex but
[36:28] (2188.16s)
inside of cursor inside of the IDE. So
[36:30] (2190.56s)
again press command J to launch the
[36:32] (2192.80s)
integrated terminal and I'm just going
[36:34] (2194.72s)
to do arrow up. This is by the way a pro
[36:36] (2196.96s)
tip. If you do arrow up it goes through
[36:39] (2199.60s)
the latest the terminal commands that
[36:41] (2201.68s)
you already typed in. So you don't have
[36:43] (2203.12s)
to type in the same stuff over and over.
[36:45] (2205.04s)
I'm going to do d- yolo again. Boom.
[36:48] (2208.00s)
Drag it up again all the way to the
[36:49] (2209.84s)
left. And actually for your convenience
[36:51] (2211.76s)
you can rename it. So you can do like
[36:53] (2213.20s)
rename codex 01. Boom. Let's go here.
[36:57] (2217.44s)
You can right click, rename codex
[37:04] (2224.64s)
And here I can do / resume to resume the
[37:07] (2227.28s)
chat that we did earlier.
[37:10] (2230.48s)
Here we go. And now we have our own chat
[37:12] (2232.40s)
which we were running in the Mac OS
[37:14] (2234.48s)
dedicated terminal, you know, like this.
[37:16] (2236.80s)
But now we're running it inside of the
[37:18] (2238.08s)
IDE. So it's uh all in one place. It's
[37:20] (2240.72s)
way way more convenient, way better.
[37:24] (2244.40s)
So, I'm going to say uh is the front end
[37:27] (2247.68s)
running? Ask a super blunt question
[37:31] (2251.44s)
checking whether it's running.
[37:34] (2254.00s)
It gave us these steps,
[37:36] (2256.40s)
but it should be able to do all of these
[37:37] (2257.92s)
steps by itself.
[37:40] (2260.80s)
No, nothing is listening. Okay.
[37:44] (2264.16s)
So, I'm going to say start locally. I'm
[37:46] (2266.64s)
going to copy this whole thing.
[37:50] (2270.48s)
There we go. I'm going to copy that. I'm
[37:52] (2272.64s)
going to say please do these steps
[37:55] (2275.44s)
yourself. Steps.
[37:58] (2278.64s)
Boom. Steps. I'm going to wrap it up
[38:00] (2280.72s)
with the XML tags. Most of these it
[38:03] (2283.04s)
should be able to do itself.
[38:05] (2285.28s)
U except for the open router API key.
[38:07] (2287.52s)
We're going to do that in a moment. But
[38:09] (2289.60s)
I wanted to launch the app to see what
[38:12] (2292.24s)
it looks like. Okay, so it created an
[38:14] (2294.16s)
inv key and let's see if I can start the
[38:17] (2297.28s)
server. I'm actually going to start
[38:18] (2298.72s)
myself npm rundev
[38:21] (2301.36s)
go local 3000. There we go. This is not
[38:23] (2303.76s)
bad at all. Wow. Okay, so in the next
[38:27] (2307.28s)
section we're going to add open router
[38:29] (2309.28s)
and we're going to actually start
[38:30] (2310.24s)
testing this. Okay, so the app is
[38:31] (2311.84s)
running and we can upload a file. This
[38:34] (2314.08s)
works nicely. However, before I add the
[38:37] (2317.20s)
opener API key, I want to show you one
[38:39] (2319.12s)
more thing and that is another way to
[38:41] (2321.20s)
use codeex inside of an IDE and that is
[38:43] (2323.92s)
the IDE extension. So, inside of VS Code
[38:46] (2326.96s)
and most other IDEs, you will see this
[38:49] (2329.52s)
button right here. This is the
[38:50] (2330.72s)
extensions button. When you go here and
[38:52] (2332.88s)
type in Codex,
[38:54] (2334.96s)
you'll go to the marketplace and you
[38:56] (2336.56s)
will find the OpenAI codeex extension.
[38:59] (2339.44s)
It should have over 3 million installs
[39:02] (2342.32s)
and make sure to install it, right? So
[39:04] (2344.64s)
it's completely free and it works the
[39:06] (2346.40s)
same way. You can use the same account
[39:08] (2348.72s)
and this is another way to use Codex.
[39:11] (2351.12s)
Now you might be thinking okay David but
[39:12] (2352.56s)
why do we need this? Why are we like why
[39:14] (2354.80s)
are you showing me the extension when we
[39:16] (2356.72s)
already have the CLI? Well inside of
[39:19] (2359.04s)
cursor if you press command I or control
[39:22] (2362.24s)
I on uh Windows you'll see the primary
[39:26] (2366.16s)
agent sidebar or the secondary sidebar
[39:28] (2368.80s)
whatever you should see button at the
[39:30] (2370.88s)
top once you install the extension. Make
[39:32] (2372.80s)
sure to click enable. Right? If you
[39:34] (2374.40s)
don't see it, you should click these
[39:35] (2375.76s)
three dots or these three dots and click
[39:38] (2378.72s)
open C codeex sidebar. So this is this
[39:40] (2380.96s)
right now. Here we can use CEX just the
[39:45] (2385.68s)
same way but with a nicer user
[39:47] (2387.36s)
interface. So if you prefer to use CI
[39:49] (2389.04s)
GBD and you kind of don't like the CLI,
[39:51] (2391.76s)
you know, which a lot of people don't
[39:53] (2393.68s)
like the terminal interface because, you
[39:55] (2395.76s)
know, it's not as beginner friendly,
[39:58] (2398.40s)
then the extension will probably be more
[40:00] (2400.48s)
for you. In fact, the extension is my
[40:02] (2402.56s)
favorite way to use Codex. And again,
[40:04] (2404.96s)
there's four different ways to use this.
[40:07] (2407.04s)
And I'm going to show you the other two.
[40:08] (2408.64s)
So far, I've only seen two ways to use
[40:10] (2410.32s)
Codex. The CLI command line interface
[40:12] (2412.48s)
and the extension. But I'm going to show
[40:14] (2414.00s)
you more two more later in the video. So
[40:16] (2416.40s)
here, you can use Codex the same, right?
[40:18] (2418.72s)
We have the models right here. Select
[40:20] (2420.32s)
the model, select the reasoning effort,
[40:22] (2422.00s)
and you can type in /fast to turn off or
[40:24] (2424.72s)
turn on fast mode. Obviously, I do want
[40:27] (2427.60s)
to turn it on. So this is how we can use
[40:29] (2429.76s)
it with uh two agents at once, you know,
[40:32] (2432.16s)
one running in the CLI and one running
[40:34] (2434.72s)
in the extension.
[40:37] (2437.76s)
So let's add the open router API key.
[40:40] (2440.64s)
That way
[40:42] (2442.64s)
um the app actually works. So what
[40:45] (2445.36s)
remains
[40:47] (2447.36s)
just adding the
[40:49] (2449.76s)
open router API key. Yes, we're local.
[40:55] (2455.20s)
there we go. All right, so we need to do
[40:56] (2456.88s)
that. So, let's go to open router.ai.
[40:59] (2459.36s)
Click on top right. Make sure to create
[41:00] (2460.88s)
an account if you don't have one. Again,
[41:02] (2462.72s)
you can get started completely for free.
[41:04] (2464.64s)
Then, when it comes to credits, charge
[41:07] (2467.20s)
up couple dollars. You don't need $300
[41:09] (2469.20s)
or like I have. Just $5, $10 is enough.
[41:12] (2472.72s)
And the beauty of open router is that
[41:14] (2474.40s)
you can use any model you want, right?
[41:18] (2478.00s)
let's say a new model drops. Okay, we
[41:20] (2480.24s)
have entropic opus 41.6 fast. That is
[41:22] (2482.32s)
crazy. I didn't know that's, you know,
[41:23] (2483.52s)
open router. Well, we can use this or we
[41:26] (2486.40s)
can use GLM 5.1 which is one of the best
[41:28] (2488.64s)
open source models right now or maybe
[41:30] (2490.48s)
the latest version of Gemini 3.1 Pro or
[41:33] (2493.36s)
if you want GPD models, GBD 5.4. The
[41:36] (2496.32s)
point is Open Router has all of the
[41:38] (2498.32s)
models. So, you only need a single API
[41:40] (2500.56s)
key for your app to work with
[41:42] (2502.48s)
everything. Now, we specifically want to
[41:45] (2505.04s)
use Nano Banana 2. This is uh Google's
[41:48] (2508.64s)
fastest image editing model and it's
[41:52] (2512.00s)
much cheaper than Nanobana Pro and much
[41:54] (2514.00s)
faster than Nanobana Pro. So this is the
[41:57] (2517.28s)
official name Gemini 3.1 flash image
[41:59] (2519.20s)
preview but it's also popularly known as
[42:01] (2521.92s)
Nanobana 2. So again, create an account.
[42:04] (2524.56s)
Go to top top right on the settings.
[42:06] (2526.48s)
Click on settings. On the left, click on
[42:08] (2528.96s)
API keys. And then click this blue
[42:11] (2531.28s)
create button in the top right. You can
[42:13] (2533.20s)
name it something like a beauty mirror
[42:16] (2536.80s)
API key. You know, it's the name of our
[42:18] (2538.48s)
app. Let's put some limit like $20. This
[42:20] (2540.80s)
is good practice. Always put a limit. If
[42:22] (2542.80s)
you use something more, then just put
[42:24] (2544.64s)
like a weekly limit, you know, if you
[42:26] (2546.24s)
don't want it to run out. But definitely
[42:28] (2548.00s)
put a limit on every API key. It's good
[42:30] (2550.08s)
practice. then create and never share
[42:33] (2553.36s)
your API keys with anyone. Okay, it's
[42:35] (2555.60s)
like passwords. Keep them private. I'm
[42:38] (2558.08s)
going to rotate my API key before
[42:40] (2560.24s)
uploading this video. But for now, I'm
[42:42] (2562.16s)
going to copy switch back into cursor
[42:44] (2564.72s)
and we need to put this in the env.
[42:48] (2568.08s)
So, uh, env.
[42:51] (2571.76s)
Okay, I'm just going to send it to
[42:53] (2573.04s)
agent. This is not the best practice.
[42:54] (2574.24s)
Here's the API key. Create the env file.
[42:59] (2579.20s)
This is definitely not best security
[43:01] (2581.28s)
practice, but it is the simplest. I'm
[43:03] (2583.60s)
just going to send it to agent and he's
[43:05] (2585.60s)
going to replace it in the env.lo, which
[43:08] (2588.48s)
we should be able to find if we close
[43:10] (2590.08s)
some of these things. Yeah, there it is.
[43:12] (2592.48s)
Yeah. So, this is why you also should u
[43:15] (2595.36s)
use an IDE because you can actually
[43:17] (2597.12s)
access these files. Also, I'm also going
[43:19] (2599.44s)
to say create a detailed git ignore for
[43:23] (2603.28s)
this project because we are getting to
[43:26] (2606.24s)
the point where this makes sense. uh to
[43:28] (2608.96s)
throw this up on GitHub and we should
[43:30] (2610.88s)
actually initialize a G repository even
[43:32] (2612.88s)
before uploading this to GitHub which we
[43:34] (2614.64s)
can use our extension for start a new
[43:38] (2618.56s)
Git repo in this project and do the
[43:41] (2621.44s)
first commit. Boom. The agents already
[43:44] (2624.40s)
know what Git is. They know how to work
[43:46] (2626.48s)
with it and um yeah they know they know
[43:49] (2629.84s)
what to do and you can use Git even
[43:51] (2631.60s)
without GitHub. So even when you're
[43:53] (2633.36s)
building a project locally and you're
[43:55] (2635.04s)
like, okay, this, you know, I don't know
[43:56] (2636.80s)
if this is going to continue. I don't
[43:58] (2638.40s)
know if it's worth throwing up on
[43:59] (2639.68s)
GitHub, you should still use Git, right?
[44:02] (2642.96s)
So Git and GitHub are not the same
[44:04] (2644.64s)
thing. They're not the from the same
[44:06] (2646.56s)
company. Git is a open source thing,
[44:08] (2648.72s)
open source project that is built for
[44:10] (2650.96s)
version tracking. It's created by LOS,
[44:13] (2653.36s)
the same guy who created Linux, and you
[44:15] (2655.04s)
can absolutely use it locally. It's for
[44:16] (2656.48s)
version control. You should use it in
[44:18] (2658.48s)
any project. In fact, I should have
[44:19] (2659.92s)
created the Git repo way sooner. There's
[44:22] (2662.40s)
no point to wait. Even if you don't plan
[44:24] (2664.48s)
uploading it and pushing it to GitHub,
[44:26] (2666.40s)
you should absolutely use Git for every
[44:28] (2668.88s)
project. Anyways, uh let's I guess
[44:32] (2672.64s)
reload and let's see if this works. So,
[44:39] (2679.28s)
what I'm going to do because I don't
[44:40] (2680.48s)
want to disrespect anybody, I'm going to
[44:42] (2682.48s)
take a AI girl New York. Okay. So, I'm
[44:45] (2685.60s)
going to zoom in a lot. I'm going to
[44:48] (2688.48s)
screenshot her face because that's what
[44:51] (2691.04s)
our app does. Save it into downloads.
[44:53] (2693.84s)
Save to documents. There we go. And then
[44:56] (2696.24s)
let's go back to our app. Let's reload
[44:57] (2697.76s)
this. And let's choose a selfie here.
[45:02] (2702.00s)
There we go. So the image is on the
[45:04] (2704.32s)
left. And uh we can select. Okay, these
[45:09] (2709.60s)
are already all selected. Okay, let's
[45:11] (2711.04s)
click on generate beauty mirror. Let's
[45:13] (2713.84s)
see how this look with fuller lips.
[45:17] (2717.04s)
Smile line softening. Okay, generation
[45:20] (2720.00s)
failed. We're getting a bunch of
[45:20] (2720.96s)
failures. So, I'm going to screenshot
[45:22] (2722.32s)
this. Actually, great. I'm glad it
[45:23] (2723.60s)
didn't work on the first try. I'm going
[45:24] (2724.64s)
to screenshot this. Copy to clipboard.
[45:26] (2726.48s)
Back to cursor. And I'm going to paste
[45:28] (2728.64s)
this in. And by the way, you can also
[45:30] (2730.00s)
paste in into the uh extension. It looks
[45:32] (2732.96s)
better. But, uh I'm going to paste it
[45:35] (2735.76s)
into the same codeex because um it has
[45:39] (2739.28s)
all the context. Or wait, was it this
[45:40] (2740.88s)
one? Which one was the builder one?
[45:45] (2745.76s)
Okay. Yeah, this one. 01. That's the
[45:47] (2747.52s)
builder one. I'm going to paste this in
[45:49] (2749.20s)
and say investigate why I'm getting this
[45:52] (2752.56s)
error and fix it.
[45:56] (2756.24s)
So obviously we can also open the
[45:58] (2758.72s)
console with F12 or command option I and
[46:03] (2763.44s)
see if there's any errors here. There
[46:05] (2765.20s)
are not. We can close that.
[46:08] (2768.64s)
Uh um maybe we can look into the
[46:11] (2771.04s)
terminal. I don't know. The terminal is
[46:13] (2773.84s)
running in this guy I think. Okay. Yeah.
[46:17] (2777.28s)
One background terminal running. So I
[46:19] (2779.20s)
should have probably sent it to the same
[46:24] (2784.96s)
same agent because this one is seeing
[46:27] (2787.68s)
the outputs of terminal. Do you see any
[46:31] (2791.20s)
errors in the terminal logs?
[46:35] (2795.04s)
But right now I'm not debugging in the
[46:37] (2797.12s)
best way because I'm running checking
[46:40] (2800.64s)
the current dead server directly. If
[46:41] (2801.84s)
there any runtime errors they should
[46:43] (2803.60s)
show there
[46:46] (2806.16s)
what I see.
[46:48] (2808.40s)
H maybe we can reload. No generation
[46:51] (2811.52s)
failed. Everything is getting generation
[46:54] (2814.00s)
failed.
[46:55] (2815.76s)
Okay. I'm going to let this agent run.
[47:02] (2822.88s)
Okay. Actually this is good. So to debug
[47:05] (2825.92s)
this, I would use perplexity deep
[47:07] (2827.60s)
research.
[47:09] (2829.36s)
Research the proper way to use nano
[47:11] (2831.60s)
banana 2 model inside of open router.
[47:13] (2833.92s)
And then I'm going to give it the exact
[47:15] (2835.28s)
slug model slug. Right? So nano banana
[47:18] (2838.16s)
2. Here we go.
[47:21] (2841.20s)
This exact model. Boom.
[47:24] (2844.64s)
And how to properly attach images to it
[47:26] (2846.56s)
and send text prompts. Check the
[47:29] (2849.12s)
official documentation and give me a
[47:30] (2850.96s)
detailed report as a single markdown
[47:34] (2854.48s)
So probably what happened is um Codex
[47:38] (2858.16s)
messed up the open router formatting. So
[47:40] (2860.56s)
I'm going to do a deep research and you
[47:42] (2862.24s)
can use CH GBD research. You can use
[47:44] (2864.80s)
Gemini DB research doesn't matter. I
[47:46] (2866.88s)
think perplexity has the right balance
[47:48] (2868.56s)
of depth and u quickness. So I'm going
[47:52] (2872.88s)
to use this to figure out what's
[47:54] (2874.48s)
happening. This Codex is running. It's
[47:56] (2876.48s)
doing some web search itself. But again
[47:58] (2878.40s)
web search is not deep research, right?
[48:00] (2880.64s)
This is good for a quick info but not a
[48:03] (2883.36s)
docs. So actually I'm going to say do we
[48:06] (2886.24s)
have a good place to store
[48:09] (2889.52s)
different docs or not? I would probably
[48:12] (2892.56s)
create a /doc folder. Okay. So I'm going
[48:15] (2895.36s)
to say
[48:17] (2897.44s)
I'm going to switch to model and medium.
[48:21] (2901.36s)
Create slashdocs folder on the root
[48:23] (2903.68s)
level.
[48:26] (2906.16s)
And in there create open router nano
[48:29] (2909.60s)
banana
[48:34] (2914.88s)
syntax.mmd.
[48:36] (2916.72s)
Keep the file empty for now. Just add
[48:39] (2919.84s)
header.
[48:41] (2921.60s)
And I'm going to put in the output of
[48:43] (2923.12s)
the deep research in there. And I'm
[48:45] (2925.36s)
switching to medium because u most
[48:47] (2927.20s)
changes don't require high. And now what
[48:49] (2929.04s)
we can do is do we can do command P or
[48:52] (2932.48s)
control P on Windows to look up this
[48:54] (2934.24s)
specific file. Right? So I can do nano.
[48:56] (2936.24s)
Boom. Here we go. Open our run two. And
[48:58] (2938.24s)
we can open it directly. This is the
[48:59] (2939.68s)
beauty of an ID. You can open these
[49:01] (2941.28s)
files directly and paste stuff in.
[49:02] (2942.96s)
Right? So we don't have to interact with
[49:04] (2944.56s)
the agent every time because perplexity
[49:06] (2946.40s)
here is going to give me the results of
[49:07] (2947.60s)
a deep research. And I just want to
[49:09] (2949.20s)
paste the results into the file, not
[49:10] (2950.88s)
have the agent rewrite them. Okay. So
[49:12] (2952.64s)
it's creating the markdown file. Here it
[49:16] (2956.08s)
We can click on download. Download as
[49:17] (2957.68s)
markdown.
[49:22] (2962.16s)
Actually open that. Double click. It's
[49:24] (2964.64s)
going to open in some text editor. It
[49:27] (2967.68s)
chose anti-gravity for me. It doesn't
[49:29] (2969.12s)
matter. Can even use notepad. But I'm
[49:31] (2971.36s)
going to copy the contents. I'm going to
[49:32] (2972.72s)
replace this here. Now I'm going to say
[49:35] (2975.60s)
read. I'm going to tag the file. Open
[49:37] (2977.76s)
it. Now there it is. I'm going say and
[49:42] (2982.64s)
analyze our codebase to see what is
[49:45] (2985.60s)
different
[49:48] (2988.24s)
and fix it. So this contains 520 lines
[49:52] (2992.32s)
of official documentation from open
[49:54] (2994.72s)
router on how to use this specific model
[49:56] (2996.40s)
and how to attach images
[49:59] (2999.12s)
and uh yeah now I'm just going to
[50:00] (3000.56s)
dispatch codeex
[50:02] (3002.56s)
to fix it right so this is one of the
[50:04] (3004.96s)
essential prompt engineering techniques
[50:06] (3006.72s)
is providing enough context another
[50:08] (3008.72s)
thing about prompt engineering
[50:10] (3010.88s)
especially for AI agents like codex is
[50:13] (3013.20s)
clarity you need to be clear in what you
[50:15] (3015.12s)
want a lot of you are being too vague
[50:17] (3017.76s)
now you don't like the mid mid with
[50:19] (3019.36s)
curve right okay this meme I want to
[50:21] (3021.36s)
show you this meme because it's exactly
[50:22] (3022.96s)
applicable to prompt engineering the
[50:26] (3026.32s)
people here the complete beginners
[50:28] (3028.16s)
complete dummies they are too vague
[50:29] (3029.84s)
their prompts are too short and they
[50:31] (3031.44s)
don't tell the AI agent enough the agent
[50:33] (3033.76s)
doesn't know what the user aka you is
[50:36] (3036.96s)
trying to do agent is confused in the
[50:40] (3040.24s)
middle the people around 100 IQ they are
[50:43] (3043.68s)
like spending five minutes on every
[50:45] (3045.36s)
single prompt they use like some
[50:46] (3046.72s)
advanced templates prompting templates,
[50:49] (3049.60s)
you know, they have everything prepared.
[50:51] (3051.28s)
They're using like 10 different things.
[50:53] (3053.12s)
They're copying prompts. They're
[50:54] (3054.56s)
purchasing prompts from others, doing
[50:56] (3056.32s)
crazy stuff, right? The people at 100
[50:58] (3058.80s)
for the IQ, the best people at
[51:00] (3060.64s)
prompting, they write concise prompts,
[51:03] (3063.04s)
but they're super clear. They're very
[51:05] (3065.04s)
clear in terms of what they want, what
[51:06] (3066.88s)
they want the agent to do. And they
[51:09] (3069.36s)
don't spend 10 minutes writing a prompt.
[51:11] (3071.20s)
They just build, they just build and
[51:13] (3073.28s)
refine over time and just send it. So,
[51:15] (3075.20s)
this is absolutely applicable to pro
[51:17] (3077.36s)
engineering. So obviously you don't want
[51:18] (3078.64s)
to be at the beginning where like your
[51:20] (3080.64s)
prompts are confusing and the agent
[51:22] (3082.00s)
doesn't even know what you want, but you
[51:23] (3083.44s)
also don't want to be in the middle
[51:25] (3085.20s)
where you're like spamming the agent
[51:27] (3087.04s)
with unnecessary information and the
[51:28] (3088.88s)
prompts are too long and too confusing
[51:30] (3090.48s)
and everybody is confused, right? And
[51:32] (3092.80s)
you're just taking 15 minutes writing
[51:35] (3095.04s)
every single prompt. So this remember
[51:38] (3098.00s)
this because it's applicable to prompt
[51:39] (3099.60s)
engineering. Now another thing is like
[51:41] (3101.52s)
once you have git established you can
[51:43] (3103.04s)
just tell Codeex to push you know. So
[51:45] (3105.20s)
like I don't have GitHub connected but I
[51:46] (3106.80s)
can say stage all changes and do a get
[51:50] (3110.08s)
commit. Boom. And it will check what
[51:52] (3112.64s)
changed and it will fix it and will do
[51:54] (3114.64s)
the commit for us. You don't even have
[51:56] (3116.24s)
to write your own commits now because AI
[51:58] (3118.00s)
can do get status. It can look into the
[52:00] (3120.48s)
files to see what changed and then it
[52:02] (3122.56s)
can just do the commit yourself allowing
[52:04] (3124.88s)
you to do comets a lot more frequently.
[52:06] (3126.72s)
And that's another mistake people make
[52:08] (3128.72s)
when they get into AI coding is they
[52:10] (3130.48s)
don't do enough comets. You should be
[52:12] (3132.48s)
doing a commit every 10 to 15 minutes on
[52:15] (3135.20s)
average. I'm certain of that. So, what
[52:17] (3137.68s)
is happening here though?
[52:20] (3140.56s)
Uh, let's try again.
[52:24] (3144.48s)
Reload our app.
[52:28] (3148.48s)
We're going to clear session.
[52:30] (3150.88s)
Choose the girl again.
[52:33] (3153.52s)
Boom. Attach.
[52:36] (3156.16s)
And let's generate. Let's see if this
[52:37] (3157.60s)
works or if we get failures again.
[52:44] (3164.00s)
All generations failed. Provider
[52:46] (3166.32s)
returned error.
[52:51] (3171.68s)
Okay, it's making changes. So what I'm
[52:54] (3174.32s)
going to do is I'm going to start here
[52:55] (3175.92s)
with high read open router.
[53:00] (3180.56s)
Boom. And analyze
[53:03] (3183.28s)
the error we are getting on the
[53:06] (3186.08s)
screenshot.
[53:08] (3188.96s)
Yeah, let's see. Wait, it it's I'm going
[53:11] (3191.60s)
to say kill the
[53:13] (3193.92s)
whatever is running on local host 3000
[53:17] (3197.76s)
and start our front end again.
[53:21] (3201.20s)
You might need to reset hard reset the
[53:23] (3203.68s)
server. Okay, so our front end is
[53:26] (3206.40s)
running. Let's reload. It's suspicious
[53:28] (3208.72s)
that all of these are taking same. Make
[53:31] (3211.84s)
sure that our app does all of the
[53:36] (3216.16s)
different API calls. open router in
[53:40] (3220.40s)
parallel totally
[53:44] (3224.08s)
disconnected from one another. That way
[53:47] (3227.28s)
if one fails the others are not
[53:50] (3230.64s)
affected.
[53:53] (3233.92s)
It's crazy. It should not be taking that
[53:59] (3239.04s)
and make sure we are using this exact
[54:03] (3243.60s)
and following the official
[54:07] (3247.36s)
docs in open router. Boom.
[54:12] (3252.08s)
Get to work and implement the necessary
[54:15] (3255.60s)
fixes.
[54:17] (3257.20s)
Boom. We're going to have this running
[54:18] (3258.48s)
because uh Oh, wait. It works. Never
[54:21] (3261.20s)
mind. I'm going to stop it. Uh, okay.
[54:24] (3264.88s)
There's a massive massive issue, though.
[54:26] (3266.56s)
It's waiting for all of them to be
[54:27] (3267.76s)
finished.
[54:28] (3268.88s)
But it works. Look at this. So smaller
[54:31] (3271.52s)
nose. Uh we should have like the
[54:34] (3274.00s)
original image displayed.
[54:36] (3276.64s)
But this is like a Pinterest layout.
[54:38] (3278.00s)
This is already really solid front end
[54:39] (3279.52s)
by the way. Brighter skin tone, chin
[54:42] (3282.40s)
refinement.
[54:44] (3284.08s)
Yeah. Fuller lips. Definitely this
[54:47] (3287.76s)
works. Smile line softening. This is
[54:50] (3290.72s)
really nice. Okay. So we managed to fix
[54:55] (3295.44s)
the error. I'm not sure what it is. What
[54:57] (3297.52s)
was it? because codex exit. So I'm just
[54:59] (3299.84s)
going to say stage all files and do a
[55:02] (3302.56s)
get commit. Actually this is how I like
[55:05] (3305.36s)
to work as well having one agent on the
[55:08] (3308.16s)
left which serves as a advisor of sorts
[55:10] (3310.96s)
and then these codex u you know agents
[55:14] (3314.00s)
here they can be on high or extra high.
[55:16] (3316.40s)
So let's switch this one back to high
[55:18] (3318.88s)
and this one is usually on medium and
[55:20] (3320.48s)
just answers changes and it sort of more
[55:23] (3323.36s)
like adviser. you are going to be my
[55:25] (3325.92s)
advisor. Now, even better than this
[55:28] (3328.40s)
because both are same model, right? Both
[55:30] (3330.00s)
are GPD 5.4. This is already really good
[55:33] (3333.04s)
using CEX in the extension here on the
[55:35] (3335.20s)
left and then having the these powerful
[55:38] (3338.24s)
codexes in the CLI on high or extra high
[55:42] (3342.08s)
solving the problems and running, you
[55:44] (3344.16s)
know, for 20 minutes straight. However,
[55:46] (3346.64s)
if we want even more power and even more
[55:48] (3348.96s)
variety, we can use the built-in agent
[55:50] (3350.96s)
in cursor. So remember we are using the
[55:52] (3352.88s)
codex extension but cursor has his has
[55:56] (3356.80s)
their own agent right. So in the chat
[55:58] (3358.88s)
you can click here you can select
[56:01] (3361.28s)
different models. So you click add
[56:02] (3362.56s)
models going to take you to cursor
[56:04] (3364.32s)
settings and you can enable like opus
[56:07] (3367.04s)
4.6. There it is. And then we can select
[56:10] (3370.00s)
it here or maybe Gemini 3.0 pro maybe
[56:12] (3372.24s)
composer 2. That's model from cursor.
[56:14] (3374.40s)
But the beauty of this is that you can
[56:15] (3375.60s)
use a different model. It says fast mode
[56:17] (3377.76s)
expensive.
[56:19] (3379.28s)
Using fast mode is six times more
[56:20] (3380.80s)
expensive than regular mode. That is
[56:22] (3382.40s)
pretty crazy. But whatever the point is
[56:24] (3384.72s)
that like you can chat with different
[56:27] (3387.36s)
models. So Opus 4.6 currently is the
[56:29] (3389.36s)
best available infropic model because
[56:31] (3391.44s)
they have the mythos which they didn't
[56:33] (3393.20s)
release. But I can say like explain the
[56:36] (3396.32s)
structure of this code base and the text
[56:41] (3401.20s)
tag we are using in simple and plain
[56:44] (3404.96s)
English. Enthropic models are much
[56:47] (3407.04s)
better at talking, at explaining things,
[56:49] (3409.52s)
at being conversational. So
[56:52] (3412.80s)
this is much better model for being
[56:54] (3414.32s)
advisor. I say like remember to be a lot
[56:57] (3417.04s)
more concise with your responses. Save
[57:00] (3420.48s)
this into memory. So this is how I
[57:03] (3423.36s)
prefer to work at least one opus 4.6 and
[57:06] (3426.64s)
then GBD 5.4 agents for
[57:10] (3430.80s)
advanced tasks, right? And the benefit
[57:12] (3432.40s)
of this is that on some things Opus is
[57:14] (3434.64s)
going to be better. On others, GPD 5.4
[57:16] (3436.80s)
is going to be better. So this is
[57:17] (3437.84s)
another reason why you should install
[57:20] (3440.00s)
cursor as your IDE is because of the
[57:22] (3442.08s)
built-in agent that allows you to use
[57:23] (3443.92s)
all models. So cursor is like the open
[57:26] (3446.48s)
route version of IDE. They have no bias.
[57:29] (3449.52s)
They let you use OpenAI models, Gemini
[57:31] (3451.84s)
models, XAI models, enthropic models.
[57:34] (3454.72s)
They don't care. So you know you you can
[57:36] (3456.96s)
have opus here and use it more like a
[57:39] (3459.36s)
like a asker like a consultant and
[57:42] (3462.08s)
understanding the changes right so like
[57:44] (3464.16s)
explain the last three comets
[57:48] (3468.16s)
to this git repo study them
[57:52] (3472.16s)
and explain in simple terms how they
[57:55] (3475.36s)
fixed the issue we were facing because I
[57:58] (3478.72s)
want to know you know how was this fixed
[58:00] (3480.80s)
and this is how you reduce technical
[58:02] (3482.40s)
debt technical debt is a term when
[58:04] (3484.48s)
you're building something faster than
[58:06] (3486.40s)
understanding it. So let's see. Okay,
[58:08] (3488.96s)
this is too long to say make your answer
[58:10] (3490.80s)
simpler and shorter. Boom.
[58:14] (3494.64s)
Initial commit created. The app was
[58:17] (3497.44s)
showing useless generic errors. Fix digs
[58:19] (3499.92s)
into the nested API response to find
[58:21] (3501.28s)
real error messages. Bomb image quality
[58:23] (3503.28s)
from 0.5K to 1K. Close the models text
[58:26] (3506.24s)
explanation when no image is returned.
[58:27] (3507.84s)
Okay, so I'm actually going to start
[58:29] (3509.68s)
another um task here. I will say
[58:32] (3512.24s)
refactor the way our app works. so that
[58:35] (3515.44s)
the resulting images from open router
[58:41] (3521.20s)
are shown one at a time, not all at
[58:44] (3524.16s)
once. Right now, the app waits until it
[58:48] (3528.40s)
receives the slowest generation
[58:54] (3534.00s)
until it shows everything.
[58:56] (3536.64s)
Also, I want the API calls to be totally
[59:01] (3541.44s)
separate and modular so that each of the
[59:05] (3545.52s)
variations we are creating is a separate
[59:11] (3551.04s)
open router API call so that if one
[59:13] (3553.92s)
fails the others are not affected.
[59:17] (3557.76s)
Make these changes.
[59:20] (3560.40s)
All right, we're going to launch this.
[59:21] (3561.92s)
Now while Codex is working on those
[59:23] (3563.44s)
changes, let me explain the concept of
[59:25] (3565.52s)
local host because if you recall this is
[59:27] (3567.92s)
running on local host. This is not
[59:29] (3569.20s)
deployed anywhere. It's not on any
[59:31] (3571.04s)
server. It's running locally on my
[59:33] (3573.76s)
MacBook. So local host is just a way to
[59:36] (3576.96s)
turn your machine into a server. So when
[59:38] (3578.72s)
we go can see the agent run npm rundev
[59:42] (3582.16s)
earlier, you know, npm run lane build.
[59:44] (3584.64s)
If we scroll up, you'll see the npm
[59:46] (3586.24s)
rundev command which is starting the
[59:48] (3588.16s)
development server. It's using local
[59:50] (3590.32s)
host as a temporary server, turning my
[59:52] (3592.80s)
computer into a server. And another nice
[59:55] (3595.44s)
thing of local host is that it has
[59:57] (3597.60s)
what's called a hot reload anytime Codex
[60:00] (3600.40s)
makes any changes to the app. So maybe I
[60:02] (3602.88s)
can say like keep the original photo
[60:06] (3606.08s)
visible u more like more visible, right?
[60:09] (3609.92s)
Or maybe this text is too big. I'm going
[60:11] (3611.76s)
to tell it to make this text a bit
[60:13] (3613.60s)
smaller. update the front end so that
[60:17] (3617.12s)
this text is a bit smaller font size.
[60:20] (3620.48s)
Okay, I'm going to paste it in. You will
[60:22] (3622.32s)
see that this is hot reloaded. I'm going
[60:23] (3623.68s)
to lift my hands. I'm not going to do
[60:25] (3625.28s)
any changes. And hold reload means that
[60:27] (3627.44s)
the changes are automatically implied
[60:29] (3629.04s)
without you having to kill the server
[60:30] (3630.88s)
and restart it from scratch. Let's see
[60:33] (3633.52s)
if the codex okay searching for it. And
[60:35] (3635.84s)
any second now, this text should be made
[60:38] (3638.16s)
smaller. There it is. It was made
[60:39] (3639.84s)
smaller by itself. And I didn't have to
[60:42] (3642.40s)
reload anything. It's auto reloaded
[60:44] (3644.64s)
which obviously makes it a lot easier to
[60:46] (3646.88s)
make changes and develop. However, since
[60:49] (3649.04s)
this is on local 3000, it's taking up
[60:51] (3651.36s)
the 3000 port. So, if I were to start a
[60:53] (3653.36s)
different app with npm rundev, it would
[60:55] (3655.84s)
go to 3001. Avoid any port conflicts
[60:58] (3658.72s)
because the 3000 port is already taken.
[61:01] (3661.04s)
And another nice thing about the local
[61:02] (3662.72s)
server is that Codex can do it for you.
[61:04] (3664.72s)
If you look at here, we have one
[61:05] (3665.84s)
background terminal running, which means
[61:08] (3668.08s)
Codex is running the server in itself. I
[61:10] (3670.88s)
didn't even have to open a terminal and
[61:12] (3672.56s)
type in mp run defaf. Obviously, if you
[61:14] (3674.48s)
want to do it yourself, you can, but
[61:16] (3676.80s)
Codex is running it inside of itself.
[61:19] (3679.20s)
So, it can see the logs, it can kill it,
[61:21] (3681.20s)
it can restart it. It's just easier.
[61:23] (3683.20s)
Like, you don't even have to start the
[61:24] (3684.56s)
front end. That's how easy it has become
[61:26] (3686.72s)
to build software with AI. And by the
[61:28] (3688.64s)
way, if you enjoy this step-by-step
[61:30] (3690.40s)
style of teaching and you want to learn
[61:31] (3691.92s)
more about AI coding, then make sure to
[61:33] (3693.76s)
join the new society because this is
[61:35] (3695.60s)
exactly what you're going to find
[61:36] (3696.72s)
inside. Inside of the classroom, you
[61:38] (3698.96s)
will find everything you need to master
[61:40] (3700.72s)
AI coding within three weeks. And each
[61:42] (3702.56s)
of these weeks is full of step-by-step
[61:44] (3704.24s)
modules on different concepts all
[61:46] (3706.40s)
related to building with AI. So again,
[61:48] (3708.80s)
if you're serious about AI and you want
[61:50] (3710.64s)
to get the skill of being able to build
[61:52] (3712.56s)
anything with AI agents, make sure to
[61:54] (3714.80s)
join the new society. It's going to be
[61:56] (3716.24s)
the first link below the video. So now
[61:58] (3718.08s)
that our project is pretty decent, I
[61:59] (3719.84s)
mean, it works.
[62:01] (3721.84s)
We've proven the demo, we've made some
[62:03] (3723.68s)
changes, let's throw it up on GitHub,
[62:06] (3726.32s)
right? If you want to deploy it, if you
[62:07] (3727.60s)
want to share it with somebody else,
[62:08] (3728.80s)
GitHub is absolutely non-negotiable. So,
[62:11] (3731.76s)
let's go to github.com. And by the way,
[62:13] (3733.44s)
if you want to go deeper on Git, GitHub,
[62:15] (3735.92s)
what are the differences, the purpose of
[62:17] (3737.68s)
each of them, then uh there's a module
[62:20] (3740.00s)
inside of week 2 in the new society,
[62:22] (3742.00s)
module number 17. We have couple of
[62:23] (3743.52s)
modules exactly on this topic. So, I'm
[62:25] (3745.60s)
not going to go too much in depth here.
[62:27] (3747.36s)
Just create a GitHub account and click
[62:28] (3748.88s)
on top right and click on repositories.
[62:30] (3750.72s)
Here we need to create a new repo. So,
[62:32] (3752.24s)
click on new. Let's name it UT mirror
[62:38] (3758.08s)
because that's the name of the project.
[62:40] (3760.00s)
Test project for Codex video.
[62:44] (3764.32s)
Then repository public or private. Most
[62:46] (3766.88s)
of you will probably want to have
[62:48] (3768.24s)
private. So make sure to select private
[62:49] (3769.92s)
here. And then you can click on create
[62:51] (3771.52s)
repository. That's it. It's as simple as
[62:54] (3774.08s)
that. Next, we just need to copy this
[62:55] (3775.84s)
link right here. Copy that and switch
[62:58] (3778.64s)
into cursor. So again, right now
[63:00] (3780.88s)
everything is local. Everything is on
[63:02] (3782.64s)
the laptop.
[63:04] (3784.32s)
Putting it on GitHub makes it accessible
[63:06] (3786.24s)
to servers, makes it accessible to other
[63:08] (3788.08s)
people. If you want to have another
[63:09] (3789.68s)
developer or you are building something
[63:11] (3791.20s)
for a client, you definitely want to
[63:12] (3792.72s)
throw it up on GitHub. So, I'm going to
[63:14] (3794.48s)
say here is a new GitHub repo. Pasting
[63:17] (3797.92s)
the link, please push everything in
[63:21] (3801.20s)
there. Enter. So, the main thing is you
[63:24] (3804.16s)
need a git ignore, right? We already
[63:25] (3805.52s)
created one. We have a git ignore file
[63:27] (3807.44s)
right here. Be pretty comprehensive.
[63:30] (3810.08s)
definitely better than I would have
[63:31] (3811.36s)
written it. So I'm not scared of pushing
[63:33] (3813.52s)
to GitHub um pretty radically here. I
[63:36] (3816.16s)
would say probably um stage all files
[63:38] (3818.96s)
and do a commit. We have some changes.
[63:41] (3821.44s)
This is another beauty of IDE. You can
[63:43] (3823.44s)
see this uh this icon here. You can see
[63:46] (3826.00s)
the different changes to the files based
[63:48] (3828.64s)
on git, right? So I highly recommend you
[63:51] (3831.28s)
use an IDE because if you are just
[63:53] (3833.28s)
running an agent in the terminal or
[63:55] (3835.04s)
using the Codex app, which more on that
[63:57] (3837.20s)
later, you would not see these changes.
[63:59] (3839.76s)
Okay, so everything is pushed to git and
[64:02] (3842.32s)
let's see what's happening. Everything's
[64:03] (3843.76s)
okay. So now if we reload in GitHub, we
[64:06] (3846.08s)
should see our codebase. There we go.
[64:07] (3847.76s)
Our codebase is here on GitHub with
[64:10] (3850.24s)
everything. We have the read me file,
[64:11] (3851.52s)
beauty mirror. Amazing. So
[64:15] (3855.12s)
now we've managed to throw up a local
[64:18] (3858.32s)
project into GitHub, which makes
[64:20] (3860.80s)
everything easier. GitHub allows us to
[64:22] (3862.64s)
deploy to platforms easier. It allows us
[64:24] (3864.40s)
to share the code with others. And in
[64:26] (3866.00s)
fact, we're going to deploy it right
[64:27] (3867.36s)
now. Now let's say you don't know
[64:28] (3868.72s)
anything about deployments. You don't
[64:31] (3871.12s)
know what is the best platform, where to
[64:33] (3873.84s)
host it. Well, guess what? You can ask
[64:36] (3876.00s)
Codex. And this is what I mean. A lot of
[64:37] (3877.84s)
you guys are thinking too
[64:39] (3879.44s)
one-dimensionally about how to use these
[64:41] (3881.28s)
agents. You think, okay, it's a coding
[64:42] (3882.88s)
agent. I'm only going to use it for
[64:44] (3884.48s)
coding. But that's a huge mistake. Codex
[64:47] (3887.52s)
can help you with all the other parts.
[64:48] (3888.80s)
So, so I can say I want to deploy my app
[64:52] (3892.32s)
somewhere so that it is accessible
[64:56] (3896.40s)
on the internet
[64:58] (3898.48s)
for others. What are
[65:01] (3901.84s)
the best hosting platforms
[65:04] (3904.96s)
for our app specifically?
[65:08] (3908.16s)
Analyze the text stack.
[65:11] (3911.36s)
Again, think harder. Give me top three
[65:15] (3915.92s)
options. Be very concise.
[65:19] (3919.52s)
you can consult it, right? This is the
[65:21] (3921.12s)
beauty of having one consultant and I
[65:23] (3923.04s)
actually I can copy the prompt. So,
[65:24] (3924.24s)
right here there's a copy button below
[65:25] (3925.92s)
every message and I can use the use the
[65:29] (3929.36s)
cursor agent. I'm definitely going with
[65:31] (3931.36s)
Opus. It tried to switch me
[65:32] (3932.96s)
automatically but I'm going with Opus
[65:35] (3935.12s)
fast and we can check both of them
[65:37] (3937.12s)
right.
[65:39] (3939.60s)
So both of them are going to give me a
[65:40] (3940.96s)
response and can say okay best versel
[65:43] (3943.60s)
why because it's the simplest and
[65:45] (3945.12s)
because we have nextjs and versels are
[65:47] (3947.36s)
literally developers of nextjs and as
[65:50] (3950.24s)
you can see opus 4.6 agrees so both opus
[65:53] (3953.20s)
and gbd 5.4 for agree. So we're going
[65:55] (3955.36s)
with Versell. So now I can say okay
[65:59] (3959.20s)
let's go with Versel.
[66:01] (3961.92s)
Give me stepby-step instructions of what
[66:04] (3964.80s)
I must do. Be very concise because if
[66:08] (3968.32s)
you don't include be very concise these
[66:10] (3970.40s)
agents are super they yap a lot super
[66:13] (3973.92s)
right. So we already pushed it to
[66:15] (3975.28s)
GitHub. Then we need to deploy Versell.
[66:17] (3977.04s)
So let's follow these instructions. Go
[66:18] (3978.08s)
to versell.com and create an account. So
[66:20] (3980.32s)
let's do that. Boom. Okay. Okay, so on
[66:22] (3982.96s)
Versel again you can get started
[66:24] (3984.40s)
completely for free. You'll see
[66:26] (3986.72s)
something like this once you log in. Now
[66:28] (3988.72s)
obviously I already have some projects
[66:30] (3990.56s)
because Versell is what I use for vectal
[66:32] (3992.56s)
and for all of the internal software
[66:34] (3994.08s)
that is running NexJS. But if you don't
[66:36] (3996.72s)
just go to top right and click on add
[66:38] (3998.24s)
new and project the when you're creating
[66:41] (4001.12s)
a versell account you should consider
[66:42] (4002.88s)
using GitHub as authentication method
[66:45] (4005.20s)
because here you can literally see the
[66:46] (4006.96s)
repositories and that's how easy it is
[66:48] (4008.80s)
right I can see beauty mirror right
[66:50] (4010.00s)
here. So I can click on import and here
[66:53] (4013.68s)
we can do some advanced settings. Now
[66:55] (4015.84s)
it's probably good as it is and if
[66:57] (4017.44s)
you're not sure just take a screenshot
[66:59] (4019.20s)
again image inputs are so OP. I'm going
[67:01] (4021.52s)
to copy the screenshot. Go back into
[67:03] (4023.84s)
cursor and I'm going to paste it in and
[67:08] (4028.72s)
obviously I'm using opens here but we
[67:10] (4030.08s)
can be using codex in the extension or
[67:12] (4032.24s)
codex cli here doesn't matter. We say
[67:15] (4035.20s)
I'm here. All good. Answer in short.
[67:20] (4040.08s)
Provide the image as necessary context.
[67:22] (4042.64s)
Okay. So, actually we should add the uh
[67:24] (4044.32s)
environment variables. That's good. It's
[67:25] (4045.76s)
good tip here. Boom. That's why I use
[67:28] (4048.72s)
the AI agents. Like I'm using it to help
[67:30] (4050.48s)
me deploy. It has nothing to do with
[67:32] (4052.00s)
coding, but it's still extremely
[67:33] (4053.60s)
helpful. So, I'm going to go into the
[67:35] (4055.04s)
ENV local file. Copy the name of the
[67:38] (4058.24s)
variable aka key value. And then I'm
[67:40] (4060.96s)
going to copy the actual API key itself.
[67:43] (4063.44s)
Make sure to not include or exclude any
[67:46] (4066.24s)
characters. Boom. And again, do not
[67:48] (4068.32s)
share API keys. Okay, I'm going to
[67:50] (4070.00s)
rotate this one after uploading the
[67:52] (4072.00s)
video or before uploading the video
[67:54] (4074.08s)
hopefully. Okay, let's click on deploy.
[67:56] (4076.48s)
And just like that, we are deploying our
[67:58] (4078.40s)
project on Versell. It really is that
[68:00] (4080.32s)
easy, right? So, if you've never
[68:01] (4081.68s)
deployed anything on the web, you have
[68:03] (4083.44s)
nothing to be afraid of. Deployments in
[68:06] (4086.56s)
2026 have become so effortless. And this
[68:09] (4089.76s)
is why you need to get familiar with
[68:11] (4091.36s)
GitHub because when you push your
[68:13] (4093.44s)
project to GitHub, all these platforms
[68:15] (4095.36s)
have integrations with GitHub. So
[68:17] (4097.52s)
whether it's Netifi, Railway,
[68:19] (4099.52s)
Render.com, RCL, Superbase,
[68:23] (4103.20s)
doesn't matter. These platforms make it
[68:25] (4105.52s)
super easy. And there it is. It was like
[68:26] (4106.96s)
20 seconds and we now have our project
[68:29] (4109.52s)
deployed. So I'm going to click continue
[68:31] (4111.12s)
to dashboard. And Versell even gives us
[68:34] (4114.56s)
custom domain. And here we are. This is
[68:37] (4117.04s)
a This is a custom URL. This is no
[68:39] (4119.76s)
longer a local host. This is fully
[68:41] (4121.36s)
deployed. So, I can use the selfie
[68:43] (4123.20s)
again. Boom. Boom. I can run it. Maybe.
[68:48] (4128.72s)
Let's unselect some of these. Whatever.
[68:51] (4131.44s)
Let's just run all of them. Generate. I
[68:53] (4133.44s)
want to see if the changes work actually
[68:55] (4135.04s)
where it was uh like separate because we
[68:57] (4137.92s)
did a small refactor there. I was
[68:59] (4139.68s)
telling it to show the results
[69:01] (4141.36s)
separately rather than waiting for
[69:03] (4143.04s)
everything. I'm kind of curious if that
[69:05] (4145.12s)
worked or not. I don't think we've
[69:06] (4146.56s)
tested that.
[69:09] (4149.12s)
And yeah, we we're deployed just like
[69:11] (4151.44s)
that. Oh, there it is. All the changes
[69:14] (4154.48s)
are here. And as you can see, it works.
[69:18] (4158.16s)
Amazing. Our app is fully deployed on
[69:20] (4160.48s)
the web thanks to Codex. I mean, it has
[69:24] (4164.64s)
built has been fully built by Codex.
[69:26] (4166.56s)
Now, before we go into the Codex app,
[69:28] (4168.72s)
which is becoming super popular, I want
[69:30] (4170.80s)
to explain the different sandbox modes
[69:32] (4172.72s)
inside of Codex. So layer one is the
[69:34] (4174.88s)
sandbox mode and this is what codex can
[69:36] (4176.80s)
do technically and there are three
[69:38] (4178.56s)
different options. Workspace write which
[69:40] (4180.80s)
is the default one. This only lets codex
[69:42] (4182.80s)
write into your project folder. It
[69:44] (4184.80s)
cannot do anything on the network and it
[69:46] (4186.48s)
cannot access other folders on your
[69:48] (4188.48s)
computer. Then there is read only. This
[69:51] (4191.12s)
lets it read files but it cannot write
[69:53] (4193.12s)
anything. So this is available in the
[69:54] (4194.80s)
chat or plan mode. So another thing I
[69:57] (4197.20s)
haven't shown you yet is the plan mode
[69:58] (4198.56s)
inside of codex. Right? So when you have
[70:00] (4200.40s)
let's say ox extension again you can
[70:03] (4203.20s)
create a new chat here or in the CLI you
[70:05] (4205.36s)
can do / new you can do what's called a
[70:07] (4207.52s)
plan mode. So you can do slash plan to
[70:09] (4209.28s)
switch into plan mode and you can see
[70:10] (4210.64s)
the purple text here or do slash plan
[70:13] (4213.44s)
here toggle plan mode and you can see
[70:15] (4215.28s)
these icons here. This is really good
[70:17] (4217.36s)
for starting a new project or doing
[70:19] (4219.44s)
larger changes. Codex will interview
[70:22] (4222.00s)
you. It will figure out okay the user
[70:23] (4223.84s)
wants to refactor the back end to be
[70:27] (4227.60s)
rust and it will interview you like okay
[70:29] (4229.68s)
why are we doing this how it should look
[70:31] (4231.44s)
like you know do you want to refactor
[70:33] (4233.28s)
everything or only the files where speed
[70:35] (4235.28s)
matters it's going to start asking you
[70:36] (4236.80s)
questions and basically planning the
[70:38] (4238.16s)
project so if you are a beginner and if
[70:40] (4240.00s)
you don't have a clear idea of what you
[70:41] (4241.36s)
want to build definitely start with plan
[70:43] (4243.04s)
mode just type in / plan to toggle it
[70:46] (4246.64s)
either inside of the extension or inside
[70:49] (4249.04s)
of the CLI and you'll see it right here
[70:50] (4250.88s)
and before it gets to building it will
[70:52] (4252.56s)
analyze the entire codebase do a lot of
[70:54] (4254.56s)
reasoning a lot of thinking to figure
[70:56] (4256.48s)
out what you want and how the app should
[70:58] (4258.72s)
actually look like. So when Codex is
[71:01] (4261.04s)
inside of plan mode, the sandbox only
[71:03] (4263.44s)
allows it to read only which means it
[71:05] (4265.68s)
cannot write anything. It cannot change
[71:07] (4267.04s)
anything. It can only read files. Then
[71:09] (4269.28s)
there's a danger full access. This is
[71:11] (4271.36s)
the sandbox mode level. That's obviously
[71:13] (4273.20s)
the highest one which gives it full
[71:15] (4275.12s)
access, right? And it starts with danger
[71:17] (4277.04s)
because it's dangerous. It can write
[71:19] (4279.28s)
anywhere, access network, use risky
[71:21] (4281.84s)
commands and um do anything without
[71:25] (4285.36s)
asking you for approval. But the second
[71:28] (4288.08s)
layer is actually the approval policy.
[71:30] (4290.40s)
This is just the sandbox mode. So you
[71:32] (4292.16s)
have untrusted, on request, never, and
[71:34] (4294.00s)
granular. Untrusted means it asks before
[71:36] (4296.80s)
every single action. And this is very
[71:38] (4298.56s)
annoying, right? Like obviously it's the
[71:40] (4300.56s)
safest, but also it's not autonomous at
[71:43] (4303.04s)
all. Like if you had to approve every
[71:44] (4304.80s)
single command, we would still be
[71:46] (4306.48s)
building the prototype, right? We
[71:48] (4308.32s)
wouldn't have the app fully deployed on
[71:50] (4310.16s)
Versel and on GitHub and fully working
[71:53] (4313.36s)
with open router and with some changes,
[71:55] (4315.68s)
right? Definitely not. We would still be
[71:58] (4318.16s)
stuck building the MVP. So that would
[72:00] (4320.64s)
obviously be very annoying, but it is
[72:02] (4322.40s)
there as approval policy. Then you have
[72:04] (4324.16s)
on request. This works freely inside of
[72:06] (4326.48s)
the sandbox and asks it when you want to
[72:08] (4328.48s)
go beyond. So I think this is the
[72:10] (4330.24s)
default where if you are in certain
[72:12] (4332.40s)
certain folder, it doesn't ask you. It
[72:14] (4334.96s)
just builds stuff right in that folder.
[72:16] (4336.64s)
But if it wants to go into your
[72:18] (4338.00s)
downloads or your documents or do
[72:20] (4340.40s)
something else that might be risky, you
[72:23] (4343.20s)
know, run a terminal commands, then it
[72:25] (4345.84s)
would ask you for permissions. Then
[72:27] (4347.68s)
there is never,
[72:29] (4349.52s)
which uh, you know, never asks you,
[72:31] (4351.68s)
which is dangerous obviously. And there
[72:33] (4353.60s)
is granular, and this is like per
[72:35] (4355.20s)
category control. Now, here are the
[72:36] (4356.72s)
default combos because these these are
[72:38] (4358.96s)
just concepts, but we care we care about
[72:40] (4360.72s)
the actual combos, right? So the default
[72:42] (4362.96s)
is workspace, right, and on request.
[72:45] (4365.36s)
This is pretty balanced and this is what
[72:47] (4367.12s)
most people use. Then there's full auto
[72:49] (4369.84s)
and you can launch this with the
[72:51] (4371.60s)
parameters, right? So remember by
[72:53] (4373.28s)
default if you type in codeex and just
[72:55] (4375.84s)
hit enter is going to be with these
[72:57] (4377.84s)
permissions this sandbox level. But if
[72:59] (4379.84s)
you do space- full auto
[73:03] (4383.28s)
full- auto spelled like this, you need
[73:06] (4386.48s)
to make sure it's exact proper spelling.
[73:08] (4388.88s)
Then it would launch with a bit more
[73:10] (4390.24s)
permissions. However, as I showed you at
[73:12] (4392.32s)
earlier, the most permissive and the
[73:14] (4394.32s)
most aggressive and the most autonomous
[73:16] (4396.00s)
version of Codex is d- yolo. This makes
[73:19] (4399.60s)
it dangerous full access. So, the
[73:21] (4401.92s)
highest level of sandbox mode and never
[73:24] (4404.72s)
so it never asks for approval policy.
[73:26] (4406.56s)
So, both layers are fully maxed out and
[73:29] (4409.60s)
it's it's like turning a car into sport
[73:31] (4411.68s)
modes or sport plus mode, right? It's
[73:33] (4413.76s)
just like full performance, full all
[73:36] (4416.16s)
out, no checks, nothing. best
[73:38] (4418.64s)
suspension, highest braking, everything
[73:40] (4420.96s)
to the max. This is how COX YOLO works.
[73:43] (4423.52s)
And honestly, I'm going to give you a
[73:45] (4425.52s)
secret of the industry. All of the
[73:47] (4427.52s)
people who achieve stuff with AI agents
[73:49] (4429.92s)
use them in YOLO mode, right? So,
[73:52] (4432.24s)
obviously, this is what it looks like on
[73:53] (4433.44s)
Codex, but on cloth code, it looks like
[73:55] (4435.60s)
this. Clash-
[73:57] (4437.76s)
dangerously skip permissions.
[74:01] (4441.12s)
This is how it looks like for cloth
[74:02] (4442.32s)
code, but for Codex is d- yolo. If you
[74:05] (4445.04s)
want to achieve anything with these
[74:06] (4446.56s)
agents and if you actually want to build
[74:08] (4448.00s)
fast, you need to use a yolo mode
[74:10] (4450.48s)
because uh otherwise you'll just be
[74:12] (4452.40s)
waiting for approvals, you definitely
[74:14] (4454.16s)
cannot manage multiplayer agents because
[74:16] (4456.00s)
they're constantly waiting for you to
[74:17] (4457.44s)
hit enter. And yeah, it's just not
[74:19] (4459.60s)
practical at all. Obviously, it is
[74:21] (4461.12s)
risky, so use it at your own risk. Don't
[74:23] (4463.76s)
blame me if it, you know, delete some
[74:25] (4465.36s)
files or whatever. That's why you should
[74:27] (4467.04s)
use Git, by the way, so that if the
[74:28] (4468.72s)
agent messes up, you still have your
[74:30] (4470.48s)
project on GitHub and you can go to the
[74:32] (4472.24s)
previous version, right? But anyways,
[74:34] (4474.08s)
this is how the sandbox works inside of
[74:36] (4476.80s)
Codex. All right. Now, let me show you
[74:38] (4478.48s)
about the Codex app because this is a
[74:40] (4480.80s)
really next level step up of how to use
[74:43] (4483.52s)
Codex and u it's available for Mac OS
[74:46] (4486.56s)
right now, but it's coming for uh
[74:48] (4488.64s)
actually it's available for Windows as
[74:50] (4490.08s)
well. Okay, Linux. It's not available
[74:52] (4492.08s)
for Linux. So, it started on I don't
[74:54] (4494.80s)
know why it says, look at this. This is
[74:56] (4496.16s)
crazy. It says it's available on Mac OS,
[74:58] (4498.00s)
Apple Silicon, but here it mentions it's
[75:00] (4500.16s)
on Windows and Mac OS. I think they just
[75:01] (4501.60s)
forgot to update it. So, if you have
[75:02] (4502.80s)
Windows or Mac OS, you are chilling. So,
[75:04] (4504.88s)
just go to this. I'm going to link this
[75:06] (4506.32s)
below the video. It's the official OpenI
[75:08] (4508.16s)
documentation. And download it for Mac
[75:10] (4510.16s)
OS. Save the downloader. And again, you
[75:13] (4513.12s)
might be thinking, okay, David, why are
[75:14] (4514.88s)
you showing me another way to use Codex?
[75:17] (4517.04s)
Well, because this probably is the most
[75:19] (4519.28s)
advanced one. This gives you the most
[75:20] (4520.96s)
options and it's the most userfriendly.
[75:22] (4522.64s)
So, drag this into applications folder
[75:25] (4525.52s)
and then open the Codex app like this.
[75:29] (4529.52s)
This is very new. is the newest version
[75:31] (4531.44s)
of Codex and uh it's as you can see it's
[75:34] (4534.80s)
completely different. It's a full
[75:36] (4536.00s)
application. It's not just a extension
[75:38] (4538.08s)
or a CLI and it has a very nice user
[75:41] (4541.04s)
interface and it allows you to do a lot
[75:43] (4543.84s)
more things that normally you cannot do.
[75:45] (4545.92s)
So first of all on the left let's add a
[75:48] (4548.40s)
new project. Click this button right
[75:50] (4550.24s)
here and we're going to add this uh
[75:54] (4554.32s)
project, right? This is the beauty
[75:56] (4556.40s)
mirror that we're building. I say what
[75:58] (4558.96s)
is this project about? Now, you might
[76:01] (4561.20s)
already notice a few things, right? We
[76:02] (4562.56s)
have the model here. We have the
[76:04] (4564.96s)
reasoning effort. Very similar to the
[76:06] (4566.64s)
extension. We have the slashfast. You
[76:08] (4568.88s)
can turn on and turn off fast mode. And
[76:10] (4570.80s)
at the bottom, we have the permissions.
[76:12] (4572.32s)
So, this is the default. No codex uh
[76:15] (4575.28s)
runs in a sandbox. Full access. Boom.
[76:17] (4577.52s)
Obviously, we want full access. On the
[76:19] (4579.52s)
left, you can also see like you can run
[76:21] (4581.04s)
multiple threads in in parallel. So,
[76:23] (4583.52s)
here I can start a new codeex. And by
[76:26] (4586.16s)
the way, these are uh these are the
[76:27] (4587.84s)
sessions. Nice. I actually wasn't aware
[76:30] (4590.24s)
of this. This is very nice. These are
[76:31] (4591.60s)
the different sessions from CLI and
[76:34] (4594.32s)
extension. So, you can continue on them
[76:36] (4596.48s)
inside of the of the Codex app. So here
[76:40] (4600.08s)
you can run multiple agents in parallel
[76:42] (4602.08s)
and all of them each of them has their
[76:43] (4603.92s)
own separate git work tree which is kind
[76:45] (4605.68s)
of like a clone of the folder which
[76:47] (4607.28s)
means they can work on different
[76:48] (4608.40s)
features without interfering. So if I
[76:50] (4610.80s)
wanted this guy to say like go over the
[76:54] (4614.72s)
front end and make it look better
[76:58] (4618.64s)
and and this guy I can say go over the
[77:01] (4621.04s)
backend prompts to open router and make
[77:04] (4624.32s)
them more concise and better prompt
[77:07] (4627.36s)
engineering. Both of these will be able
[77:09] (4629.68s)
to run in parallel. You can see on the
[77:11] (4631.20s)
left they're both running and they will
[77:13] (4633.20s)
not conflict because each of them gets
[77:15] (4635.20s)
their own git work. You can also pin any
[77:19] (4639.04s)
of them. So on the left there's a pin.
[77:20] (4640.96s)
You can you know move them to the top if
[77:22] (4642.64s)
they have priority. And here are like
[77:24] (4644.56s)
your favorites uh threats. They call it
[77:26] (4646.48s)
threats or chats. And yeah you can see
[77:29] (4649.12s)
that I have different folders open here.
[77:31] (4651.04s)
So you can work on multiple projects at
[77:32] (4652.80s)
once very easily from a single app. And
[77:35] (4655.36s)
this is basically OpenAI's response to
[77:37] (4657.68s)
anti-gravity. Anti-gravity is a project
[77:39] (4659.84s)
from Google that was really good at
[77:41] (4661.76s)
managing multiple agents. That's where
[77:43] (4663.20s)
it was revolutionary. Codex with the
[77:45] (4665.76s)
Codex app is really trying to do their
[77:49] (4669.04s)
version of that to make it great and
[77:51] (4671.92s)
managing multiple agents in parallel.
[77:54] (4674.24s)
And this is really what we're going to
[77:55] (4675.52s)
see the future development is
[77:57] (4677.44s)
multi-agent management. orchestrating
[77:59] (4679.60s)
multiple agents because it's inevitable
[78:01] (4681.20s)
that all of us are soon going to be
[78:03] (4683.84s)
running dozens and dozens of agents
[78:06] (4686.16s)
below us and that's coming very soon. So
[78:08] (4688.80s)
these companies are figuring out what is
[78:10] (4690.08s)
the optimal user interface, how to do
[78:11] (4691.76s)
that on a technological level, on
[78:13] (4693.28s)
architecture level, stuff like that. So
[78:15] (4695.20s)
this is the Codex app and for a lot of
[78:17] (4697.12s)
people this is becoming their favorite
[78:18] (4698.96s)
way to use Codex because of how many
[78:21] (4701.44s)
features it is and because of how easy
[78:22] (4702.96s)
it is to use. By the way on top right
[78:25] (4705.12s)
you can see the diff editor. So here you
[78:27] (4707.68s)
can see the changes made in this thread
[78:30] (4710.32s)
and you can see these are unstaged. So
[78:32] (4712.40s)
that has been uh did it push to GitHub?
[78:36] (4716.24s)
Okay. So here we can see the changes
[78:37] (4717.60s)
here. So if you want to review it, you
[78:39] (4719.36s)
can see that and even there's the
[78:41] (4721.04s)
folders they just added that. So they're
[78:42] (4722.40s)
trying to make it more of a IDE. It's
[78:44] (4724.80s)
not a full IDE yet, but they're working
[78:47] (4727.36s)
on it, right? So you can see the the
[78:48] (4728.80s)
files here and the diff editor here, the
[78:51] (4731.52s)
primary panel. It's not as advanced as
[78:53] (4733.44s)
VS Code. Nowhere near. In fact, that's
[78:56] (4736.40s)
why they still have the open in VS Code
[78:58] (4738.08s)
button. In fact, you can open it in
[78:59] (4739.60s)
cursor as well and tag as well. All of
[79:01] (4741.92s)
the main code editors because they
[79:04] (4744.24s)
realize it's not a full ID. So, that's
[79:06] (4746.32s)
why they added that button, you know.
[79:07] (4747.84s)
But anyways, next let me show you how
[79:09] (4749.92s)
skills work inside of the codex app. So,
[79:11] (4751.76s)
let me close the file tree here. Boom.
[79:14] (4754.08s)
Inside of plugins, you can go to in the
[79:16] (4756.24s)
left side and click on skills. At the
[79:18] (4758.72s)
top are different skills which are
[79:20] (4760.64s)
basically sets of instructions for your
[79:22] (4762.32s)
project. And as you can see, I have a
[79:24] (4764.72s)
bunch of Appify ones because I used that
[79:26] (4766.96s)
in the past. But there are a few
[79:28] (4768.88s)
built-in ones here. Image Gen, OpenAI,
[79:31] (4771.12s)
Docs, Plug-in Creator, Skill Creator.
[79:33] (4773.12s)
And you can select them or uninstall
[79:34] (4774.80s)
them. Right? So let's say if we want to,
[79:37] (4777.92s)
you know, uninstall this skill, you can
[79:39] (4779.12s)
just click on that and boom, uh, it
[79:41] (4781.28s)
uninstalls that specific skill. And if
[79:44] (4784.16s)
you want to add more skills like soda,
[79:46] (4786.08s)
PDF, dog, you know, maybe playright,
[79:48] (4788.40s)
playright is great. Actually this one I
[79:50] (4790.08s)
would definitely recommend all of you
[79:51] (4791.92s)
because it gives the agent ability to
[79:55] (4795.44s)
test the app. Playright is a framework
[79:57] (4797.36s)
for browser testing. So if you want a if
[79:59] (4799.84s)
you want codecs to click around the
[80:02] (4802.16s)
front end test different buttons that
[80:04] (4804.00s)
they work install the the playright
[80:06] (4806.08s)
skill for sure. And by the way the
[80:07] (4807.28s)
skills from the CLI and the ID extension
[80:09] (4809.52s)
will automatically show up here as well
[80:11] (4811.36s)
because it's all shared as you've seen
[80:13] (4813.04s)
with the chat. Now invoking skills you
[80:15] (4815.60s)
can do with the dollar sign right. If we
[80:17] (4817.04s)
go into any of these threads and do
[80:18] (4818.88s)
dollar sign and you can see all of the
[80:20] (4820.48s)
skills right here. So if we want to do
[80:22] (4822.24s)
like the GitHub skill for example or
[80:24] (4824.08s)
let's say image gen, right? Say create a
[80:27] (4827.20s)
potential logo for this project and put
[80:32] (4832.24s)
the fabric because right now we still
[80:34] (4834.08s)
have the the default one. You can see at
[80:36] (4836.40s)
the top there's no fabric in the URL. So
[80:39] (4839.68s)
I can use the image gen skill which will
[80:41] (4841.84s)
use the OpenAI image tool. I think it's
[80:45] (4845.36s)
the V1. They they are rolling out the
[80:47] (4847.12s)
V2. So maybe by the time you watch this
[80:48] (4848.64s)
it's going to be the new V2. But it's
[80:49] (4849.92s)
going to use that to generate an image
[80:50] (4850.96s)
and then Codex can use that image to
[80:53] (4853.20s)
either build assets with your app.
[80:55] (4855.12s)
That's another great thing. If you want
[80:56] (4856.24s)
to build graphical apps, you know, like
[80:58] (4858.00s)
a mobile games, video games, um RPG
[81:01] (4861.36s)
games or anything that requires like
[81:03] (4863.76s)
custom graphics and assets, you can use
[81:06] (4866.00s)
the image gen skill to do that. And uh
[81:09] (4869.20s)
Codex will use the built-in model, image
[81:12] (4872.16s)
generated model to create that.
[81:14] (4874.72s)
Okay, it's kind of complaining that it's
[81:16] (4876.08s)
not the right tool, but whatever. Now,
[81:18] (4878.08s)
installing new skills, you have multiple
[81:19] (4879.76s)
options, right? You can use the built-in
[81:20] (4880.96s)
skill installer skill. So, inside of any
[81:23] (4883.28s)
chat, if you do dollar sign skill
[81:25] (4885.76s)
installer, you can install skills with
[81:28] (4888.32s)
this skill. I know it's a bit of a
[81:30] (4890.00s)
mouthful. You can also point the
[81:31] (4891.60s)
installer at any GitHub repo or Codex
[81:33] (4893.68s)
will auto detect newly installed skills.
[81:36] (4896.00s)
Actually, in the in the left, if you go
[81:37] (4897.52s)
to plugins and then click skills at the
[81:39] (4899.44s)
top, you can click the create button and
[81:40] (4900.96s)
create skill. And here it will uh chat
[81:43] (4903.60s)
with you and create a new skill. Another
[81:45] (4905.44s)
huge feature is the automations. This is
[81:47] (4907.04s)
basically advanced chrome jobs. So as
[81:49] (4909.28s)
you can see there are some pre-built
[81:50] (4910.64s)
ones. Summarize yesterday's good
[81:52] (4912.40s)
activity for standup. Synthesize this
[81:54] (4914.56s)
week's PRs. Summarize last week's PRs.
[81:57] (4917.44s)
Bunch of other stuff. And a lot of
[81:59] (4919.28s)
people are saying this is a lot more
[82:00] (4920.72s)
reliable than open claw. So if you have
[82:03] (4923.44s)
something you want to do daily, maybe
[82:05] (4925.44s)
update your documentation or turn the
[82:07] (4927.36s)
latest updates into a article or maybe
[82:09] (4929.92s)
scrape new leads. Again, think beyond
[82:12] (4932.16s)
coding. This could be used to find new
[82:13] (4933.92s)
leads for your business. You can click
[82:16] (4936.08s)
plus new automation. Just give the
[82:18] (4938.32s)
automation title, describe the prompt,
[82:20] (4940.64s)
select either work tree or local, select
[82:23] (4943.20s)
the project, when you want to run it,
[82:25] (4945.04s)
how often. And this is one of the main
[82:27] (4947.92s)
features, one of the main reasons people
[82:29] (4949.44s)
are using the CEX app is the built-in
[82:32] (4952.08s)
automations. And these are way more
[82:33] (4953.76s)
reliable than openclaw chrome jobs. Oh,
[82:37] (4957.20s)
and one more thing I want to show you is
[82:38] (4958.48s)
the sub aents. So I can say launch a sub
[82:42] (4962.48s)
to add header comments to every file in
[82:46] (4966.00s)
our codebase. Just briefly explaining
[82:49] (4969.84s)
what that file does. Okay. So code
[82:52] (4972.80s)
accessibility to start sub aent so that
[82:55] (4975.04s)
you're not blocking the main chat. It's
[82:57] (4977.60s)
it's calling it a worker. But you can
[83:00] (4980.16s)
see here created with GBD 54 mini. Here
[83:03] (4983.60s)
we can click on that and this agent is
[83:05] (4985.60s)
running and you can talk to the main
[83:06] (4986.64s)
agent. You can see here's one background
[83:08] (4988.00s)
agent and it can disport dispatch many
[83:10] (4990.08s)
of them. The beauty of this is that it
[83:12] (4992.08s)
doesn't block the main chat. So you can
[83:13] (4993.36s)
keep talking to it and you can keep
[83:15] (4995.76s)
working with it while smaller agents
[83:18] (4998.08s)
which are using faster models are doing
[83:20] (5000.24s)
some of the easier work on the back end.
[83:22] (5002.32s)
So this has been the ultimate CEX
[83:24] (5004.48s)
tutorial. We've covered a lot I know but
[83:26] (5006.72s)
if you watch until the end then I want
[83:28] (5008.64s)
to congratulate you. You probably know
[83:30] (5010.24s)
CEX better than 99% of people. And
[83:32] (5012.56s)
again, if you want to take this to the
[83:34] (5014.24s)
next level and you want to actually
[83:35] (5015.52s)
master AI coding, then consider joining
[83:37] (5017.60s)
the new society. This is my own AI
[83:39] (5019.84s)
community where in a matter of three
[83:41] (5021.60s)
weeks, I take you from a complete
[83:43] (5023.44s)
beginner to someone who can build
[83:45] (5025.28s)
virtually anything they want with the
[83:47] (5027.12s)
help of AI coding agents such as Codex
[83:49] (5029.68s)
and Cloth Code. And here is what that
[83:51] (5031.52s)
looks like in the classroom. You can see
[83:53] (5033.68s)
that there's step-by-step modules, super
[83:55] (5035.60s)
granular, super easy to follow, split
[83:58] (5038.48s)
across three weeks that anybody can do.
[84:00] (5040.40s)
I don't care if you've never used AI, if
[84:02] (5042.08s)
you're not technical, doesn't matter.
[84:03] (5043.92s)
You can absolutely follow this and you
[84:06] (5046.24s)
will master AI coding in three weeks.
[84:08] (5048.00s)
I'm certain of that. So, if that's
[84:09] (5049.28s)
something that interests you, make sure
[84:10] (5050.56s)
to join the new society right now. It's
[84:12] (5052.16s)
going to be the first link below the