HomeVideos

Chip Huyen: Building when it feels like there's nothing left to build - The Pragmatic Summit

Now Playing

Chip Huyen: Building when it feels like there's nothing left to build - The Pragmatic Summit

Transcript

557 segments

0:04

Okay.

0:06

See, it's very uplifting. Um,

0:09

[laughter]

0:11

who here thinks that the job won't be

0:14

automated by AI in the next five years?

0:17

Wow. What do you do? How do I get a job?

0:22

So, who here thinks that your job will

0:23

be automated in the last in the next

0:26

five years? Okay. Okay. So, how about

0:28

the rest of you? Like you you like don't

0:30

have a job or something like [laughter]

0:34

Yeah. So, so I just did this um question

0:36

yesterday. It was just curious like what

0:38

people online would think and it seems

0:41

like a lot of people think that the jobs

0:44

are going to be automated.

0:48

So, don't despair. I think I think I was

0:50

trying to end the talk on a very

0:52

uplifting note. Uh but I think like

0:55

recently I I launched something as a

0:57

side project. It's small. I'm happy

1:00

about it. Uh it got like some some eyes

1:02

on it, right? It's like a week. It's

1:03

like 300,000 views. And um within a day,

1:07

I got an email from someone saying like,

1:09

"Hey, I love what you you built." So I

1:12

use Clico to recreate exactly that and

1:15

here's a link. And I'm just like I'm

1:18

flattered, but also like what? like

1:21

[laughter]

1:22

so so so and so like made me realize

1:24

that

1:27

whatever exists can be replicated.

1:31

So I think like it's it makes me feel

1:34

weird because at the same time like I

1:36

just fluctuate between excitement and

1:39

despair because on on one hand right I

1:42

feel like now I can build anything I

1:43

want but at the same time anyone can

1:46

build anything I want. So what is the

1:48

incentive structure for me to do

1:51

anything right? Like I think I have

1:53

stopped using a lot of what I call like

1:56

SAS light like some some products I feel

1:58

like s a very small problem and charge

2:01

me like a lot of money like per se for

2:02

example like I don't know $50 per seat

2:05

per month for single like and I feel

2:06

like why should I keep paying for you

2:08

when I could just recreate exactly that

2:10

um like with with AI um and of course

2:14

people can tell me that like okay it's

2:15

not quite the same there are things

2:18

that's like harder to build right you

2:19

can't just get AI to do like a Google

2:22

like in a day. Of course, it takes

2:24

longer, but I also noticed that like um

2:28

AI just get better and better over time.

2:30

Maybe it cannot create recreate Google

2:32

in a day, but maybe like over time it

2:34

can. And I think there about research by

2:37

um people showing that AI can accomplish

2:39

tasks like expo exponentially more

2:42

complex. So what AI can do today is

2:45

already way way more powerful than what

2:47

I imagined it could do like just a year

2:49

ago or like way way more than three

2:52

years ago. Uh so so maybe it's just a

2:54

matter of time and people used to tell

2:56

me that like okay there are like

2:57

different modes like data is a mode but

3:00

it turns out that like data is not a

3:02

mode it's just like expensive like you

3:04

have seen how easy it is for people to

3:06

replicate dips or like GBD5 it's just

3:09

it's not it's not it's not really a mode

3:11

if somebody can just throw money at it

3:13

and acquire data and build it then what

3:16

exactly a mode here like why should I

3:18

continue building uh so sometime I call

3:20

it like I call it like the deeply moment

3:22

of software

3:23

Uh so the idea is that like a few years

3:24

ago like everyone was excited about hey

3:26

you can use AI Jared pictures in any

3:30

star and somehow the Gibly studio star

3:32

became the star that people really like

3:34

and I think was by that point I realized

3:37

that if you can describe a star AI can

3:41

generate it and just sending software if

3:44

you can describe a software then AI can

3:46

build it for you and the more you build

3:49

like the more put things out there you

3:50

remove the need for imagin ation you can

3:52

say okay now I like that website do that

3:55

for me uh and and this is quite weird so

3:58

the question I want you to understand is

4:00

like so why should I continue building

4:02

so um I'm curious here like why why do

4:06

you think that we should continue

4:08

building if whatever we build can be

4:10

copied in like very very short amount of

4:12

time

4:14

>> learning process

4:16

>> learning process that's great and then

4:18

what

4:20

>> sense of purpose

4:23

So is this make you feel like he has

4:24

purpose but if I don't do it somebody

4:26

else will do it you know like it's

4:28

somehow not needed anymore.

4:29

>> It feels great.

4:30

>> It feels great. Okay you stole my punch

4:33

line. It was supposed to be like the end

4:35

of the talk. [laughter]

4:37

Um but I do think that's one thing

4:39

that's like make me want to build is

4:41

that I built because I want to s problem

4:44

right build you create a product and it

4:46

doesn't exist in a vacuum. The product

4:48

you build is your son a problem. So that

4:51

like the more you do that the better you

4:53

become at problem solving. And one thing

4:55

I do believe that it will never change

4:58

that there wouldn't always be problems

5:00

to solve. I don't think AI will just

5:02

instantly makes me a happy person or h

5:05

like I don't think AI will like

5:07

magically make me stop being annoyed at

5:10

like customer support agents like I

5:11

don't think it's going to go away ever.

5:13

Um so I think there a lot of problems to

5:16

solve and when I look at the world of

5:18

like problem I do believe that problems

5:20

like follows a longtail distributions

5:23

and just by how AI is trained it's it

5:26

will be able to do a lot of things that

5:28

like see a lot right so I think of them

5:31

as the top of the long long tail problem

5:34

like something very common issues that a

5:36

lot of people experience AI wouldn't get

5:38

really good at it and over time AI would

5:40

cover more and more edge cases but the

5:42

edge cases this would never go away. So

5:44

there are a lot of things I consider

5:46

longtail problem. Um by the way anyone

5:48

here into prediction market

5:51

>> prediction market like anyone into

5:54

betting gambling

5:56

it will never go away.

5:58

>> Huh?

5:59

>> Other than without.

6:01

[laughter]

6:02

>> Yeah. So so I'm thinking so it was so so

6:04

it was thinking about so so I I did

6:06

build a bot to do trading. Everyone has

6:09

some of my friend was like I'm shocked

6:11

that your trading phase comes so late in

6:13

life because I feel like if you're into

6:15

engineering and math at some point in

6:16

your 20ies you just have to get into

6:18

trading. Um so so I got into trading and

6:21

I realized it's like the the bigger the

6:23

market like if some higher trading

6:25

volume the more efficient it is. Like if

6:27

you get into sport um prediction, it's

6:29

almost like impossible to compete with

6:31

like all the sport um uh trading firm or

6:34

if you get into like I don't know like

6:36

um um you cannot compete with like hedge

6:38

funds because anything when when it

6:40

becomes big enough so people with a lot

6:42

of money and amazing investors get in.

6:44

So I found out like the sweet spot it

6:46

was something that's like that is a

6:48

market that is big enough to make some

6:51

profit but not too big that like the

6:53

sharks are you know ready. So, so I

6:56

think of it as the same thing as a

6:57

problem that I want to solve, right?

6:58

Like if it's a big problem like everyone

7:01

can see then only this big companies

7:03

would get into it but where is this like

7:05

there are a lot of problems it's like

7:06

smaller then maybe open AI won't be

7:09

motivated to solve it but maybe I can

7:12

like a lot of people can and I think

7:13

like what what what do these problems

7:15

look like and I think it's like human

7:17

preference is one thing I don't think

7:20

that human preference is just an

7:22

equations that people can just like

7:24

package nicely and like hey ask people

7:26

hey which of these two answers

7:29

people would prefer. It's very very

7:32

personal, very culturally dependent,

7:34

geographically dependent, age dependent.

7:37

So, uh I'm from Vietnam and recently I

7:39

came to I went back to Vietnam and talk

7:41

with a bunch of people doing AI there

7:43

and I noticed something very

7:44

interesting. So, here when a lot of

7:47

companies deploy customer support

7:49

chatbot agent stuff, right? They usually

7:51

go the text route first. Like you do

7:53

text and be and and text is easier and

7:56

then they do voice bots because like

7:58

voice is like so much more complicated.

8:00

Like instead of having like text uh in

8:02

and then text out, you first have like

8:04

transcribe from like speech to voice and

8:07

then oh sorry voice to speak oh sorry

8:10

speech to text and then you input the

8:12

text the question from users into the LM

8:15

get back the answers and then synthesize

8:17

into the voice and then get back to the

8:19

people. So it's a lot more complicated.

8:21

So it's natural that people here do tax

8:23

first. But in Vietnam and also in a lot

8:26

of other Asian countries, people are on

8:28

the move all the time. Like people are

8:30

on the motorbike all the time. So

8:32

actually really don't like typing. So

8:34

the voice like a lot of the companies in

8:36

Vietnams actually deploy voice bots

8:38

before they do uh do chatbot. And then I

8:41

talk to them and there a lot of like

8:42

cultural nuances. Uh so for example like

8:45

the response time. Uh, so I was like

8:47

just showing um so so I have a niece and

8:49

nephew who's like very young and then I

8:51

have like my godp parents here who like

8:53

a lot older and then I put them on the

8:55

call. I feel like it's a disaster when

8:56

you get like a 60 years old American

8:59

grandparents who like 10 years old

9:01

Vietnamese boys and girls and and and my

9:04

god my godmother right because she want

9:06

to avoid awkwardness she just kept on

9:07

talking and when she asked a question

9:09

didn't answer she just kept on asking a

9:11

lot of questions try to get conversion

9:13

going and then after that I told her

9:15

it's like do you know that there's a

9:17

research that show that um in the US

9:20

people expect you to respond instantly

9:23

so like when you finish sentence people

9:25

only give like 80 second 80 milliseconds

9:28

for the other person to respond

9:29

otherwise you need to continue whereas

9:31

in Asian culture like our respect like

9:33

you we actually wait a lot longer more

9:35

like 200 millisecond or like 300

9:37

millisecond to make sure the person

9:39

finish so if you just keep on throwing

9:41

to erase awkwardness it will become

9:44

awkward because the app was like wait I

9:45

can never get my voice in so the same

9:49

with being chatbot uh voice bot right

9:50

because like voice bot you want to like

9:52

balance our latency and also like

9:54

humanness of it, right? You need to like

9:56

wait for the human to rest to like

9:59

finish. But then you if you wait too

10:01

long, it would be too slow because now

10:03

you had to generate all this like

10:04

process of like parsing and then

10:07

generating. So like all of that is very

10:09

hard to solve. You have to understand

10:10

all these nuances and all the examples

10:12

that I show are just like um they like

10:15

very obvious like cultural differences

10:18

but they are a lot more things that only

10:21

when we go into like specific use cases

10:23

and specific demographics we're

10:26

targeting that we can understand.

10:29

Another thing I think is very important

10:31

is the way humans interact with AI. So I

10:34

I think there's a lot of thing we're

10:35

still trying to imagine what would be an

10:38

AIdriven world look like, right? I think

10:40

people are trying to like retrofit

10:42

whatever exist to fit what they think is

10:44

a new workflow. So for example, um like

10:47

the IDE and the terminal. So who here is

10:50

using a lot of coding in the terminal?

10:54

So who here only started using the

10:56

terminal because of coding?

10:59

Nobody. I guess you are more

11:01

engineering. But I think saw someone

11:03

here. Thank you. Appreciate. [laughter]

11:06

Uh I I have friends who a lot of them

11:08

are like PMs or doing more of like a

11:11

product. They never use terminal before

11:14

but now because of AI they they actually

11:16

like beame like wow what is this like I

11:19

have to do this now and it's terrible

11:20

because like you cannot copy and paste

11:22

you cannot like upload a a file into it.

11:26

It's just like very annoying to use but

11:28

people use it right because that is what

11:29

what we have and people was like okay

11:32

can we have a different terminal like

11:34

why is there separation between like a

11:35

terminal and a VS code for example right

11:37

like why is there's a debate what they

11:39

do is that use they take an instruction

11:41

and they produce code like or like or

11:43

like product like why should there be

11:45

difference what's a fundamentally

11:47

difference between a terminal and and

11:48

and and an IDE so I think like a lot of

11:52

that is still like ongoing questions um

11:54

that we need to figure Wow. Another

11:56

things that I think is so very important

11:58

is the human to human collaborations

12:00

because I do think that AI is getting

12:02

really good at solving like problems for

12:05

each persons but I do think that like to

12:07

build things that are meaningful right

12:08

we need to work together and now the

12:11

human to human collaboration with a

12:13

makes actually very complicated so

12:15

here's an example um so who uses GitHub

12:21

a lot right so who here like collaborate

12:24

with your team on GitHub like via PR,

12:27

right? So who here is still review every

12:29

single PR lie by lie. [laughter]

12:33

So so so like so PR or like the way it's

12:36

like it should go rail the human to

12:38

human collaboration. So the idea that

12:41

somebody could review some like your

12:42

coworker work to make sure that it meets

12:44

the standard before merging. So I talked

12:47

to a team recently and and one of the

12:49

most senior people person on the team

12:51

told me that he still does that live by

12:52

line. Now he does not review his AI

12:55

record code live by line but he reviews

12:57

his team members AIG record live by

12:59

line. And the [snorts] reason he said oh

13:01

it's not just for code quality control

13:03

but also for education like he's

13:05

mentoring his team. So he want to give

13:06

feedback so your team can get better. Uh

13:08

and then I asked his team member like

13:10

okay do you read his feedback and they

13:13

were like no. Um because the reason is

13:16

that like it's not actionable right like

13:18

because those junior members are not the

13:20

people who write the code like if you

13:23

say okay instead of writing code like

13:24

this write like this they were like yeah

13:25

but I'm not writing the code like how do

13:27

I give that feedback to my AI so you can

13:29

write code like that. So I think that

13:31

the whole workflow of like reviewing

13:33

code is very outdated like I don't think

13:35

the I think the senior member instead of

13:37

like giving feedback on the code they

13:39

should be giving feedback on like how

13:40

you give instruction to AI to produce

13:43

better. So I'm just like another example

13:45

of like how the humanto human

13:46

collaboration is going to be very

13:48

different and another things that is I

13:50

think it's very exciting is to AI

13:53

interaction with the environment. So

13:55

right now we interact with AI mostly uh

13:58

on the computer. So think like we're

14:00

just giving AI more and more access to

14:02

different things right first is a leak

14:04

code on the IDE and then terminal which

14:06

terminal is already getting a bit more

14:07

dangerous because recently for example

14:09

like just two days ago cl just wipe out

14:11

my my postgress locally and the reason

14:14

is that it was trying to create a new

14:15

app and I already have another post

14:17

running locally and was like wait a

14:19

second this port is taken let me just

14:21

remove it so to create this new I was

14:23

like dude like um yeah so so so it's

14:26

it's very scary but luckily I have a

14:29

local backup because I'm not stupid. Uh

14:30

but but yeah, so it was fine. Uh but I

14:33

think like that made me think about like

14:36

a lot of the environments that AI

14:38

currently operate in are reversible. You

14:40

can be they can be snapshot, right? Like

14:42

code if AI mess up, you can revert back

14:45

to the last comet. Like if the even if

14:47

you have a database, okay, you can just

14:48

go back to like the previous backup. But

14:51

like there are a lot of environments

14:52

where the like they where the action

14:55

cannot be reversible by us. So let's say

14:58

that we have like an agent that we

15:00

usually fill a form for us, right? Maybe

15:02

it go to a website, enter a form and

15:05

click submit. Now as a user we cannot

15:07

reverse that action because now it

15:08

belongs to somebody else computer and we

15:10

cannot do that. Or like if we give AI

15:13

like more access outside the digital

15:15

wall like in the real world, right?

15:16

Let's take an example of like a car, it

15:18

runs over a pedestrian, you cannot

15:20

reverse reverse that, right? It's just

15:22

not working. So I do think that we need

15:24

to build out the whole guard rails for

15:26

the reversible actions because that

15:28

actually where things get really really

15:30

scary. Um and another thing that could

15:32

be very interesting is that um I do

15:35

things like AI to environment

15:37

interaction is two-way street on the one

15:39

hand we have also foundation models

15:41

function labs that are making models

15:43

better at interacting with the world but

15:46

who is making the world more agent ready

15:48

right like for example like a lot of the

15:50

website I I do things for the book like

15:52

I I write books and as much I wish that

15:55

books as a format will be like will

15:57

survive I do think that people don't

15:59

read books the same way anymore more

16:01

right like I mean I don't think people

16:03

like read books and I wish they did to

16:05

my book if someone told me that I was

16:07

like you're lying you probably jump

16:08

around a little so so I do think that

16:11

like um the world is changing and we

16:14

need to come up with format like the

16:16

websites is easier for agents or like I

16:17

was reading something else like so a lot

16:20

of the world nowadays is or like digital

16:22

world is control rate limit right and a

16:25

lot of time it makes sense because as

16:26

humans we don't do things that fast

16:30

Right. But with AI now AI can just

16:32

interact with like AI to AI can be

16:35

really really fast. So also whole

16:37

concept of rate limit is quite

16:38

irrelevant to AI like it's can become

16:41

bottlenecket also the whole concept of

16:42

search. So recently I spent a lot of

16:45

time looking into how AI do web search

16:48

and it bother me. So, so when I sent a

16:50

search as uh like uh so I did a bunch of

16:53

benchmark between grock and um Gemini

16:56

and um claude and open and GPT model to

17:00

do web search and I asked a query and I

17:03

saw that for query um some of them do

17:05

like 900 and a thousand URLs visit and

17:09

like that is so much burning my credits

17:12

like crazy um and and then I look at

17:14

like how many of this URLs are unique

17:17

and

17:19

Oh shoot. Yes, [laughter]

17:21

I think that's five. How's already done?

17:24

So, so, so and it's like it was like how

17:26

many of these a thousand URLs are like

17:28

unique, right? And it turned out it's

17:30

like only 20 of them. So the AI kept

17:32

visiting all of these LL's like again

17:34

and again and to me that's stupid and

17:36

then I realized what happened because

17:38

like it first it visited LL it took the

17:40

citations it took the part that relevant

17:43

and then it do another query it found

17:45

the parts that relevant and I feel like

17:46

it's a very human way of doing web

17:48

search right because we enter things in

17:50

the Google and we see all the like

17:51

citations the quotations part but like

17:54

why would we limit AI to that if AI only

17:57

visit a page why just p the entire page

17:59

out why do you keep on doing that again

18:01

and again. It's just stupid to me. So I

18:03

feel like or maybe not stupid, I'm sure

18:05

the people who build that are smarter

18:06

than me. I'm just saying that like my

18:08

mental model is just seem off and I I

18:12

feel like there I think there must be a

18:14

more efficient way of doing things that

18:16

are less humanentric and more AIcentric

18:18

and I think like I hope that somebody

18:20

will do that. So I do think that um

18:23

there are a lot of things you build and

18:25

the question nowadays is usually less

18:26

about like how to build because if you

18:28

can describe the problem and the

18:29

solution you want usually AI can do it

18:32

maybe not today but maybe like two or

18:34

three years from now on they can do a

18:35

lot of those. The question is like what

18:37

you build because we talk about like yes

18:39

if something exists right AI can

18:42

replicate it but like who's going to

18:44

build the things that don't exist yet?

18:46

Who should be like imagining it? like do

18:48

we want AI to be able to like just

18:50

create this solution or like imagine a

18:52

future of how humans should live or like

18:54

we can also propose this idea like think

18:57

about we want to build um and going back

18:59

to like what you said about previously

19:01

like why should we why should I

19:03

contributing is I do think this is like

19:05

because fundamentally I I enjoy building

19:07

like it just bring me joy and I do

19:09

things that um I do think that I hope

19:12

that we can normalize like building

19:14

things for fun because before I found

19:18

out that I spend a lot of energy in

19:19

doing things just like just to get to

19:21

the part of building. But now it's just

19:23

so much more fun. It's so much easier. I

19:24

can do a lot more things. Um and I think

19:27

it's like if you look at our uh a lot of

19:30

economic or like industrial progress uh

19:33

so in early day for example right

19:34

clothes like we did everything by hands

19:36

and then we have like all the mass

19:38

manufacturer clothes which is great

19:40

because like people can access to

19:42

clothes cheaply like anyone can have

19:43

like fast fast fashion but then when

19:46

people have like higher like disposable

19:48

income they start looking oh actually I

19:49

don't want mass-produced stuff I want

19:51

something that's like custom made for

19:52

me. Um, I don't think we would have a

19:55

future where when where like artisan has

19:57

software. I don't think I'm not sure

19:58

people would actually be interested

20:00

like, oh, I like this app more because

20:02

it's built by hand versus like this app,

20:04

right? Um, so I'm not sure if we'll get

20:06

there, but for now, I do actually enjoy

20:09

building apps as a gift for my friends.

20:12

So, for their birthday, instead of like

20:13

buying them something, I'm like I'm

20:15

going to spend like a weekend build them

20:17

like an app because first of all, they

20:18

like tea. I'm going to build them a t

20:20

tracking app, you know, like it's just

20:21

like very very simple and it's a lot of

20:23

fun. So yeah, so I do enjoy building and

20:26

AI does make my life for now happier

20:29

except when I'm feeling very very

20:31

depressed because I'm don't know like

20:32

why should I continue building but I

20:34

think like we can figure it out. Um but

20:37

thank you so much everyone that is that

20:38

is my talk. Um, [applause]

Interactive Summary

The speaker explores the profound impact of AI on work and creation, noting a fluctuating sentiment between excitement and despair regarding automation. They highlight how easily AI can replicate existing software, questioning the incentive for continued building. The talk then pivots to reasons to persist, emphasizing problem-solving, particularly "long-tail problems" and culturally/geographically specific human preferences (e.g., voice bots in Vietnam vs. text bots in the US). The speaker also discusses the evolving nature of human-to-human collaboration in an AI-driven world (e.g., code reviews) and the critical need for guardrails when AI interacts with irreversible real-world environments. Finally, the speaker advocates for making the world "agent-ready" by rethinking current digital paradigms like rate limits and web search efficiency, concluding that the future of building lies in imagining what doesn't yet exist and finding joy in the creative process itself.

Suggested questions

10 ready-made prompts