How AI Can Help You Turn an Idea Into the Next Great App | Amjad Masad | TED

91,879 views ・ 2024-01-08

TED


Please double-click on the English subtitles below to play the video.

00:04
You know, one of my earliest memories
0
4292
3045
00:07
as a kid growing up in Jordan
1
7379
2627
00:10
was watching my father,
2
10048
1835
00:11
who was a government engineer at the time,
3
11925
2169
00:14
set up a new computer.
4
14135
1377
00:16
I was just a kid, but that machine really gripped me.
5
16388
4796
00:21
It felt like it was magic.
6
21226
2169
00:23
We couldn't really afford it, but my father had a feeling
7
23395
2711
00:26
that this thing is going to be transformational
8
26106
2752
00:28
for the world and for our lives.
9
28858
2128
00:31
At first, like most kids, I started playing video games.
10
31653
3587
00:35
I figured out how to boot up video games and play them for hours.
11
35240
3712
00:38
But then I had a radical thought.
12
38952
2002
00:40
What if I could make my own video games?
13
40954
1960
00:44
The very notion that I could take a concept in my head
14
44040
4088
00:48
and make it a reality that I and other people can explore
15
48169
5256
00:53
was something that was really gripping.
16
53466
2628
00:56
Now fast-forward to my teenage years
17
56136
2878
00:59
and the internet has just arrived.
18
59055
2378
01:01
And I thought it was going to change everything.
19
61474
2711
01:04
I was bursting with business ideas.
20
64227
3337
01:07
But there was a problem.
21
67564
1376
01:08
I didn't know where to start.
22
68940
1460
01:10
Which language do you use?
23
70400
1835
01:12
How do you even share your creations with the world?
24
72235
3003
01:15
And these questions sent me down a rabbit hole.
25
75238
2669
01:19
The first thing I attempted doing at solving these problems
26
79409
3629
01:23
is putting a code editor in the browser.
27
83038
3003
01:26
Can you make it so that you can code anything really easily
28
86082
4380
01:30
and share it with the world?
29
90503
1627
01:32
So eventually I had a breakthrough.
30
92172
1710
01:33
I built the world's first online programming sandbox
31
93923
3921
01:37
with a lot of different languages,
32
97886
1668
01:39
and that went viral.
33
99596
1668
01:41
A bunch of companies in Silicon Valley started using it,
34
101306
3295
01:44
and they hired me.
35
104643
1251
01:46
I got a visa to the United States and I came to New York.
36
106853
3003
01:51
A few years later, I set eyes to go west
37
111399
3837
01:55
and I came to Silicon Valley to start a company.
38
115236
2670
01:57
And that was Replit.
39
117906
1251
02:00
Our dream is to make it so that anyone can turn an idea into software quickly.
40
120033
5547
02:06
Our vision is to empower a billion software creators.
41
126373
4504
02:12
But giving people an editor was not going to be enough
42
132671
3461
02:16
to get a billion people coding on it.
43
136174
2669
02:18
We've signed up millions of people
44
138885
1668
02:20
and today we have 25 million developers registered on our site.
45
140595
3295
02:24
But we need an order of magnitude jump.
46
144849
2878
02:27
And a couple of years ago I stumbled on this technology.
47
147769
3587
02:31
That's the reason we're all here.
48
151356
2085
02:33
Large language models.
49
153441
1961
02:35
And I thought this was the unlock
50
155402
2919
02:38
that's going to make it possible for anyone to become a software creator.
51
158321
3962
02:42
The interesting thing about large language models
52
162283
3295
02:45
is that you can transform any thought in any language,
53
165578
3295
02:48
any human language,
54
168915
1960
02:50
into software.
55
170917
1251
02:53
And this, I thought, is how we bring a billion software creators online.
56
173628
3921
02:58
So right now I want you to imagine something.
57
178633
2336
03:01
Let's say you're traveling in a new city.
58
181010
2211
03:04
And you're walking around and seeing these magnificent landmarks.
59
184431
4504
03:10
But you're interested in the stories around these landmarks.
60
190311
3671
03:13
Now it kind of takes you out of the moment to pull up your phone
61
193982
3086
03:17
and Google and find a Wikipedia page for that particular landmark.
62
197068
4046
03:22
Wouldn't it be easier if you had a map
63
202699
2627
03:25
with the Wikipedia links superimposed on the map?
64
205326
3295
03:28
Typically, an app idea like that will be just a fleeting thought,
65
208621
4421
03:33
and maybe you just forget about it and continue with your life.
66
213084
3879
03:37
Maybe you'll buy a domain.
67
217005
1668
03:39
And I know I've been guilty of buying tons of domains
68
219758
2502
03:42
that never turn into anything.
69
222302
2210
03:44
But in the world that I'm envisioning,
70
224554
3212
03:47
you could actually do something about it in that moment.
71
227807
3128
03:50
You pull out your phone and you talk to your AI assistant.
72
230977
3462
03:55
And the AI assistant is not just a passive listener.
73
235732
3920
03:59
It's going to start brainstorming with you.
74
239652
2211
04:01
It's going to make connections.
75
241863
1543
04:03
It'll find projects you've worked on in the past
76
243406
2836
04:06
that kind of look like this idea.
77
246242
1961
04:09
And let's say you want to give a clearer picture.
78
249537
2336
04:11
Well, pull out a napkin. Draw a mark.
79
251915
2669
04:14
Snap a picture
80
254626
1376
04:16
and boom, you send it to your agent.
81
256044
2669
04:20
Let's start strategizing and thinking of a road map.
82
260131
3087
04:23
Now you don't have a lot of time to chat with it, you're on the go.
83
263259
3254
04:26
So you send it a voice note.
84
266554
1710
04:30
Now you head home.
85
270183
1251
04:34
And you have a prototype.
86
274187
1376
04:35
You have a tangible thing that you could actually play with.
87
275563
3087
04:38
You have a starting point to make an application out of.
88
278650
3128
04:42
But it's not just a prototype. You also have a plan.
89
282904
3837
04:46
You have a plan of action that could turn this prototype
90
286741
3045
04:49
into a production app that you can share with the world.
91
289786
2627
04:54
Now, apps take time and they take money.
92
294249
2961
04:57
So we're going to set a budget of how much money we're going to spend
93
297252
3253
05:00
and how much time we're going to spend on this app.
94
300547
2419
05:05
To take a look behind the scenes,
95
305760
2377
05:08
it's not just magic, although it'll feel magical.
96
308179
3337
05:11
The plan editor becomes a plan source.
97
311558
3044
05:14
It recursively expands all the different tasks.
98
314644
3420
05:18
It goes out and assembles the tools.
99
318064
2044
05:20
And these are tools that, as developers, we use every day.
100
320108
3211
05:23
There's your code editor, your source control
101
323319
2795
05:26
and everything that we're used to.
102
326114
1626
05:28
And you have, of course, the code.
103
328741
1627
05:32
Now this is not just about coding.
104
332036
1836
05:33
It's about a new way of communicating with technology.
105
333872
3169
05:37
Being able to talk and draw and work with AI
106
337083
5005
05:42
to make your visions reality.
107
342130
2377
05:45
Let's go back to our plan.
108
345174
2336
05:47
We're going to run it.
109
347552
1626
05:49
It has four feature ideas.
110
349220
2419
05:51
The first one is user auth.
111
351681
3003
05:54
Every app needs that.
112
354726
1459
05:56
The second one is a way to collect feedback from users.
113
356936
4797
06:01
And the third one is a way to like places you've been to.
114
361733
3378
06:05
And the fourth one is a navigation.
115
365111
2044
06:08
The first branch is kind of easy.
116
368364
2211
06:10
The AI has seen login pages a trillion times and knows how to code it.
117
370575
4504
06:15
We'll take a look at the code. We'll merge it.
118
375079
2670
06:17
The second one is a little bit hard. Maybe it's a novel task.
119
377790
3504
06:21
But the AI here is prompting us
120
381336
2377
06:23
to add more compute.
121
383755
1877
06:26
So the easiest way to solve this problem
122
386424
2503
06:28
would be to pump in more compute.
123
388968
2044
06:31
Maybe that means a larger model,
124
391054
1751
06:32
or additional contacts or additional tokens
125
392847
2044
06:34
in order to solve this problem.
126
394933
1501
06:37
And the problem is solved.
127
397352
1543
06:38
The third branch is kind of easy.
128
398937
1584
06:40
Smooth sailing.
129
400521
1669
06:42
I look at it, it works, I merge it.
130
402190
2961
06:46
Now the fourth one is kind of difficult.
131
406444
2503
06:50
The AI seems confident
132
410073
2210
06:52
that it's not going to be able to solve this problem with more compute.
133
412283
3921
06:56
So it prompts me with an increased budget.
134
416204
2043
06:58
Now it's a hefty number,
135
418289
1919
07:00
and that's because it's not just going to recruit AIs.
136
420249
3212
07:03
It's going to go out and recruit people. It's going to post a bounty.
137
423503
3420
07:07
So in this case, we need a human in the loop.
138
427548
2378
07:09
And until we get AGI,
139
429968
1918
07:11
today, natural intelligence is going to be really, really important.
140
431928
3503
07:16
So we go out, we get a human.
141
436975
2502
07:20
That quota is going to also be assisted by AI,
142
440311
3212
07:23
and they're going to help me solve the problem.
143
443523
2836
07:26
I merge everything together
144
446359
1793
07:28
and it's just a matter of hours and 50-60 dollars or so,
145
448152
5756
07:33
I have an app I can deploy.
146
453908
1585
07:35
I deploy it, I share it with the world.
147
455493
2961
07:38
Now to step back a little bit,
148
458454
1752
07:40
notice that I didn't write a single line of code.
149
460248
3336
07:43
I was basically the creative heartbeat of the project.
150
463626
3420
07:47
I manage the project,
151
467088
1251
07:48
I manage both AI and people,
152
468381
2127
07:50
mediated by AI
153
470550
2919
07:53
in order to build this application.
154
473511
2544
07:56
And that fleeting thought that you had is suddenly an application.
155
476097
5714
08:02
So, you know, I can almost hear some of you thinking, like,
156
482562
4337
08:06
"OK, Amjad, this is this is great and all.
157
486899
2294
08:09
This is a fascinating vision
158
489193
1961
08:11
but it kind of looks too fantastic, two futuristic."
159
491154
3628
08:14
Well, I'm here to tell you it's kind of already happening.
160
494782
3379
08:18
So just a couple of weeks ago, an entrepreneur on Replit, Yoeri --
161
498161
5046
08:23
he's a technical recruiter by training, he's not a software engineer --
162
503249
3337
08:26
he learned enough code to start building his startup.
163
506627
2503
08:29
And thousands of miles across the world we have Akashdeep.
164
509172
3712
08:32
Akashdeep, a student in India, he comes from a farming family
165
512925
4004
08:36
and he can't afford a PC.
166
516971
1418
08:38
He has never had a PC. All he's had was his Android phone.
167
518431
3378
08:41
He started learning to code in Replit just a few months ago,
168
521851
4296
08:46
and then decided to go and start making money on the platform.
169
526147
4338
08:50
Now he makes more money than his entire family
170
530485
3795
08:54
and he can afford a lot of different computers, not just one.
171
534280
2878
08:57
And now he's joined forces with Yoeri to build that startup.
172
537158
4588
09:01
You know, today we talk about the Fortune 500,
173
541746
3086
09:04
and it takes a ton of employees to build a big company like that.
174
544832
3087
09:08
But I think in the future,
175
548836
2211
09:11
when AI is helping everyone build their dreams,
176
551089
4629
09:15
we’re going to be talking about the Fortune 5000000.
177
555760
2836
09:18
And again, this is not just --
178
558638
1877
09:21
This is not just a fantasy.
179
561849
1961
09:23
We're already building this.
180
563851
1835
09:25
Last week we announced that we're open-sourcing our AI models,
181
565728
4922
09:30
and we're making it free for all our users
182
570650
3378
09:34
because we think that's a massive step up for all of humanity.
183
574028
5214
09:39
AI is not just a tool, it's a ladder that equalizes opportunity.
184
579242
4337
09:43
And that opens up horizons for people that are typically on the sidelines.
185
583579
4838
09:48
So I'll leave you with this.
186
588459
1960
09:50
Imagine that
187
590461
1669
09:52
the American dream,
188
592171
2294
09:54
not just --
189
594507
1627
09:56
not just in one place,
190
596175
3420
09:59
but actually in the cloud.
191
599637
1585
10:02
Thank you.
192
602682
1251
10:03
(Applause)
193
603975
1585
About this website

This site will introduce you to YouTube videos that are useful for learning English. You will see English lessons taught by top-notch teachers from around the world. Double-click on the English subtitles displayed on each video page to play the video from there. The subtitles scroll in sync with the video playback. If you have any comments or requests, please contact us using this contact form.

https://forms.gle/WvT1wiN1qDtmnspy7