Andrej Karpathy GPT - Advice for building AI agents

Wes Roth · Intermediate ·📰 AI News & Updates ·2y ago

Key Takeaways

Andrej Karpathy discusses building AI agents, drawing inspiration from neuroscience and his experiences at OpenAI, and emphasizes the importance of persistence and interdisciplinary approaches in developing AI agents.

Full Transcript

this is the first time I've seen you in person hi everyone the microphone is working so I was recruited uh to say some words of inspiration on the topic of AI agents um so I actually wanted to begin with a story I think like AI agents are near and dear to my heart to some extent because if you have a story from very early open AI That's when it was like maybe a dozen people and this was 2016 or so and design guys of the day actually where are all agents and so everyone's really interested in building agents but very much at the time it was in the context of the beings primarily so it was the height of excitement around Atari and all the game playing and so on and so my project at open AI was trying to focus the roh but it's not on games and Montezuma's Revenge and so on but on you know using computers using keyboard and mouse and so I wanted to make it useful I wanted to make them do lots of tasks and this project was called a world of bits and I I worked on it together with tinsi and Jim fan there's someone here I think I saw them and so the three of us ended up publishing a paper it's not a super amazing paper because basically at the time all you have as a hammer was convertible and so we have these very simple web pages that we're trying to like order order or apply for order some something to eat in very simple book pages and we were mashing buttons and mouse clicks and so on and we were trying to like stumble our way into the higher Awards and obviously didn't work so the technology was just not ready and that was not the right thing to work on at the time and so it turns out that the right thing to do at the time was actually to forget about AI agents altogether and start building language models and then language models now we're back here five years later I got distracted with self-driving for a bit there again and so the way you would approach these problems today is completely different in fact all of you are working on AI agents but you're not using any reinforcement learning probably and so that's so crazy and I don't think we would have anticipated at the time it's just the way this played out it's very it's very interesting so I want to spend a bit of time on like okay what is causing all this High I think obviously all the reason that all of you are interested in this topic is that I think that very obvious to a lot of people that AGI will take a form factor of some kind of an AI agent and it's not just going to be a single agent thing there's going to be many agents and they're going to be in organizations or civilizations of digital entities and I think it's just extremely inspiring to sort of like thank you it's kind of crazy I also want to pour some water elements too though I think there is a large class of problems that I think are very easy to imagine very easy to build demos for are actually extremely hard to make a product out of and I think many things fall into this category it's all self-driving is an example of it actually uh self-driving is very easy to imagine very easy to build a demo of a car driving around the block but making it into a product takes a decade and the same is true I think for example VR we're used to imagine little demos but getting a tour again takes a decade and I think agents are kind of like that as well very easy to imagine excited to get excited about build demos off but I think if you're in it you should be in it for a decade and actually making work one other thing I want to say is that I think it's kind of interesting to go back to Neuroscience now and take inspiration from it again in some ways I think this was true in the early days of deep learning but it's now true also again for AI agents so it's been kind of interesting for me to think about sort of all the equivalents so in particular I think a lot of us when we're it's clear that language model is a part of a solution but you know how do you build an entire digital entity and that has all of the cognitive tools that humans have so obviously we all think we need some kind of a potential system to to actually like plan ahead and think through and reflect on what we're doing and there's a lot more that you can take inspiration from so for example the hippocampus is important what is the equivalent of the hippocampus for AI agents well well it's uh somehow like recording uh memory traces and maybe indexing them using embeddings and retrieving from them uh something like that so maybe that's kind of like the retrieval kind of thing in the brain we I think understand how to build visual auditory cortex roughly but there's many subtle things that are like what are the equivalents of them in AI agents what is the hazel game we are doing what does it look like in an AI gym like what does the thousands doing sort of integrates all this information together it's kind of like potentially the seat of Consciousness and it's got this very interesting neural circuit where if you think of your brain is sort of like multiple entities fighting for the microphone as to like what you're going to do the thalamus is probably where that happens it's kind of interesting so actually a book that I like the girl says it's called bringing Behavior by David Eagleman and I found this very interesting and inspirational so I leave it here if you'd like to go through it and pace through it and I just think there's some interesting inspiration to again draw from neural science just like we did early on in with respect to how we design an individual neuron we can do that again today me finally I wanted to end with some words of inspiration but what's interesting and not obvious is that you guys building AI agents are actually at the Forefront of capability of the aiation today and all the big laughs like lln Labs opening Ai and so on I suspect are not at the edge of indicator but you are at the program so opening up for example is very good at training massive Transformer language models so as an example one way to put it is if the paper comes out that proposes some different way of training a Transformer the internal socket open AI is something along the rise of oh yeah someone tried that two and a half years ago and here's what happened and here's why it didn't work and it's very well understood and very very well mapped out but when a new agent paper comes out we're all interested in mooncals and we're like oh that's really cool that's novel and that's because you know the team didn't have like five years to spend on it and it's competing now with all of you and the entrepreneurs and actors the song it's really hard to do so yeah I think it's really inspiring that you are at the edge of capability and on something that is obviously very important in transformation and so with those words I think I'm eager to see what you guys build [Applause]

Original Description

#openai #ai #gpt4 🔥 Get my A.I. + Business Newsletter (free): https://natural20.com/ [TIMELINE] [00:00] Intro [00:15] AI Agents [02:08] 10 Year Projects [03:09] Neuroscience & AI [04:53] At the Forefront of AI
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Wes Roth · Wes Roth · 44 of 60

1 Which Vanguard index fund to buy? (hint: it's the one Warren Buffett recommends)
Which Vanguard index fund to buy? (hint: it's the one Warren Buffett recommends)
Wes Roth
2 What does PALANTIR do - Palantir Stock, Founder, Controversy Explained Simply (plus why I'm BUYING).
What does PALANTIR do - Palantir Stock, Founder, Controversy Explained Simply (plus why I'm BUYING).
Wes Roth
3 Paypal misinformation fine ($2,500) - Close Your Accounts ASAP!
Paypal misinformation fine ($2,500) - Close Your Accounts ASAP!
Wes Roth
4 China Was Just Sent Back to the Dark Ages  |  US starts aggressively cutting ties
China Was Just Sent Back to the Dark Ages | US starts aggressively cutting ties
Wes Roth
5 ChatGPT Business Ideas - How I Use ChatGPT to make money
ChatGPT Business Ideas - How I Use ChatGPT to make money
Wes Roth
6 ChatGPT Explained - The AI revolution is happening right now... [ chat gpt ]
ChatGPT Explained - The AI revolution is happening right now... [ chat gpt ]
Wes Roth
7 ChatGPT Banned - New York blocking network access to ChatGPT
ChatGPT Banned - New York blocking network access to ChatGPT
Wes Roth
8 ChatGPT Trading - this [INSANE] tool A.I. built for me
ChatGPT Trading - this [INSANE] tool A.I. built for me
Wes Roth
9 Small Business Grants for ChatGPT and A.I. (similar to PPP and EIDL in 2023) |
Small Business Grants for ChatGPT and A.I. (similar to PPP and EIDL in 2023) |
Wes Roth
10 How to Make Passive Income with ChatGPT AI
How to Make Passive Income with ChatGPT AI
Wes Roth
11 OpenAI’s GPT-4 Artificial Intelligence = AGI? TRILLIONS of Parameters Plus THIS
OpenAI’s GPT-4 Artificial Intelligence = AGI? TRILLIONS of Parameters Plus THIS
Wes Roth
12 How Nvidia AI Robot Trained 42 Years In 32 Hours And Did THIS | Google DeepMind AlphaCode
How Nvidia AI Robot Trained 42 Years In 32 Hours And Did THIS | Google DeepMind AlphaCode
Wes Roth
13 John Carmack | AGI by 2030 | Will John Carmack's AI company be the one to make it?
John Carmack | AGI by 2030 | Will John Carmack's AI company be the one to make it?
Wes Roth
14 AI Small Business Grants
AI Small Business Grants
Wes Roth
15 Elon Musk attacks OpenAI - here's Sam Altman's response
Elon Musk attacks OpenAI - here's Sam Altman's response
Wes Roth
16 Bill Gates on ChatGPT and OpenAI "The Age of AI has begun"
Bill Gates on ChatGPT and OpenAI "The Age of AI has begun"
Wes Roth
17 Sparks of AGI | Microsoft Researchers claim GPT-4 Is showing "Artificial General Intelligence"
Sparks of AGI | Microsoft Researchers claim GPT-4 Is showing "Artificial General Intelligence"
Wes Roth
18 Elon Musk and Others Call for Pause on AI as GPT-4 shows signs of AGI.
Elon Musk and Others Call for Pause on AI as GPT-4 shows signs of AGI.
Wes Roth
19 Comparing GPT-4 and Google's Bard AI - Who is getting closer to AGI?
Comparing GPT-4 and Google's Bard AI - Who is getting closer to AGI?
Wes Roth
20 Sam Altman on UBI, OpenAI to $100 TRILLION and Massive Job Losses from AI Automation
Sam Altman on UBI, OpenAI to $100 TRILLION and Massive Job Losses from AI Automation
Wes Roth
21 25 ChatGPTs play a videogame...
25 ChatGPTs play a videogame...
Wes Roth
22 NVIDIA's new AI: Better Games, Art and... better life?
NVIDIA's new AI: Better Games, Art and... better life?
Wes Roth
23 Google AI Documents Leak about "Google and OpenAI"
Google AI Documents Leak about "Google and OpenAI"
Wes Roth
24 PaLM 2 vs GPT-4 | why Google is having a hard time catching up...
PaLM 2 vs GPT-4 | why Google is having a hard time catching up...
Wes Roth
25 How To Access ChatGPT Plugins | They are LIVE! (but hidden)
How To Access ChatGPT Plugins | They are LIVE! (but hidden)
Wes Roth
26 Sam Altman to Congress "America HAS to lead the world in AI"...
Sam Altman to Congress "America HAS to lead the world in AI"...
Wes Roth
27 Sam Altman Opening Statement to Congress on AI Regulation
Sam Altman Opening Statement to Congress on AI Regulation
Wes Roth
28 Sam Altman Congress Hearing "AI is the Biggest Threat to Human Race"
Sam Altman Congress Hearing "AI is the Biggest Threat to Human Race"
Wes Roth
29 Tree of Thoughts - GPT-4 Reasoning is Improved 900%
Tree of Thoughts - GPT-4 Reasoning is Improved 900%
Wes Roth
30 Governance of Superintelligence | OpenAI proposes measures for safe AI development.
Governance of Superintelligence | OpenAI proposes measures for safe AI development.
Wes Roth
31 Model Evaluation For Extreme Risks of AI | Google DeepMind and OpenAI Paper
Model Evaluation For Extreme Risks of AI | Google DeepMind and OpenAI Paper
Wes Roth
32 Minecraft AI - NVIDIA uses GPT-4 to create a SELF-IMPROVING 🤯 autonomous agent.
Minecraft AI - NVIDIA uses GPT-4 to create a SELF-IMPROVING 🤯 autonomous agent.
Wes Roth
33 AI Human Extinction Risk - Experts Warn of "Serious Risk"
AI Human Extinction Risk - Experts Warn of "Serious Risk"
Wes Roth
34 LoRA - Low-rank Adaption of AI Large Language Models: LoRA and QLoRA Explained Simply
LoRA - Low-rank Adaption of AI Large Language Models: LoRA and QLoRA Explained Simply
Wes Roth
35 99.3% of ChatGPT Performance with OpenSource AI - [QLoRA paper]
99.3% of ChatGPT Performance with OpenSource AI - [QLoRA paper]
Wes Roth
36 AlphaFold2 Explained | Google's DeepMind Solves Protein Folding
AlphaFold2 Explained | Google's DeepMind Solves Protein Folding
Wes Roth
37 Illumina AI - ChatGPT for your genome...
Illumina AI - ChatGPT for your genome...
Wes Roth
38 Text to Video Invasion! Runway AI releases GEN 2 text to video.
Text to Video Invasion! Runway AI releases GEN 2 text to video.
Wes Roth
39 LLMs as Tool Makers [LATM] - GPT-4 *UPGRADES* lower AI Models.
LLMs as Tool Makers [LATM] - GPT-4 *UPGRADES* lower AI Models.
Wes Roth
40 AlphaDev - DeepMind AI Discovers Better Algorithms for Foundational Computing
AlphaDev - DeepMind AI Discovers Better Algorithms for Foundational Computing
Wes Roth
41 OpenAI GPT-4 Function Calling: *HUGE* Potential
OpenAI GPT-4 Function Calling: *HUGE* Potential
Wes Roth
42 GPT-4 leaked! 🔥 All details exposed 🔥 It is over...
GPT-4 leaked! 🔥 All details exposed 🔥 It is over...
Wes Roth
43 Elon Musk announced XAI - the answer to OpenAI = X.AI
Elon Musk announced XAI - the answer to OpenAI = X.AI
Wes Roth
Andrej Karpathy GPT - Advice for building AI agents
Andrej Karpathy GPT - Advice for building AI agents
Wes Roth
45 TEST TO SEE IF AI CAN MAKE $1,000,000   (modern Turing test)
TEST TO SEE IF AI CAN MAKE $1,000,000 (modern Turing test)
Wes Roth
46 ChatGPT custom instructions are *POWERFUL*  Replace AutoGPT and BabyAGI?
ChatGPT custom instructions are *POWERFUL* Replace AutoGPT and BabyAGI?
Wes Roth
47 WORLDCOIN LAUNCH is starting! Backed by Sam Altman of OpenAI.
WORLDCOIN LAUNCH is starting! Backed by Sam Altman of OpenAI.
Wes Roth
48 WORLDCOIN ORB - I went to L.A. to get my eye scanned for WorldCoin [my experience]
WORLDCOIN ORB - I went to L.A. to get my eye scanned for WorldCoin [my experience]
Wes Roth
49 The Biggest Week of AI News In Months!
The Biggest Week of AI News In Months!
Wes Roth
50 Google Deepmind RT 2 - Using LLMs to Build Thinking, Learning Robots
Google Deepmind RT 2 - Using LLMs to Build Thinking, Learning Robots
Wes Roth
51 AI News is Getting *WEIRD* Human Brain Matter in Chips. OpenAI tutorial. Amazon unleashed it's AI.
AI News is Getting *WEIRD* Human Brain Matter in Chips. OpenAI tutorial. Amazon unleashed it's AI.
Wes Roth
52 GPT 5 release date 🔥 might be closer than we think | OpenAI applies for GPT-5 Trademark in the US.
GPT 5 release date 🔥 might be closer than we think | OpenAI applies for GPT-5 Trademark in the US.
Wes Roth
53 AI Agents Simulate a Town 🤯 Generative Agents: Interactive Simulacra of Human Behavior.
AI Agents Simulate a Town 🤯 Generative Agents: Interactive Simulacra of Human Behavior.
Wes Roth
54 Proof that AI Understands? 👀 Andrew Ng on LLMs building mental models, Othello GPT,  Geoffrey Hinton
Proof that AI Understands? 👀 Andrew Ng on LLMs building mental models, Othello GPT, Geoffrey Hinton
Wes Roth
55 OpenAI acquires Biomes 👀 an open-source MMORPG. ChatGPT plus Minecraft? 🔥
OpenAI acquires Biomes 👀 an open-source MMORPG. ChatGPT plus Minecraft? 🔥
Wes Roth
56 OpenAI announces FINETUNING 👀 for ChatGPT
OpenAI announces FINETUNING 👀 for ChatGPT
Wes Roth
57 Autonomous AI Agents - why YOU should be building them... and HOW.
Autonomous AI Agents - why YOU should be building them... and HOW.
Wes Roth
58 ChatGPT Enterprise - OpenAI launches the next BIG thing
ChatGPT Enterprise - OpenAI launches the next BIG thing
Wes Roth
59 HOODWINKED -  AI gets away with MURDER 👀 GPT-4 is an effective killer...
HOODWINKED - AI gets away with MURDER 👀 GPT-4 is an effective killer...
Wes Roth
60 Install Open Interpreter in 2 min | The free, open source CODE INTERPRETER!
Install Open Interpreter in 2 min | The free, open source CODE INTERPRETER!
Wes Roth

Andrej Karpathy shares his experiences and insights on building AI agents, highlighting the importance of neuroscience, persistence, and interdisciplinary approaches. He emphasizes that developing AI agents is a complex task that requires significant time and effort.

Key Takeaways
  1. Draw inspiration from neuroscience
  2. Develop language models
  3. Design agent architectures
  4. Train transformer-based models
  5. Develop multi-agent systems
  6. Test and evaluate AI agents
💡 Developing AI agents is a complex task that requires significant time and effort, and drawing inspiration from neuroscience can be beneficial.

Related Reads

📰
AI Is Waiting for Its Wharton Moment
Learn how the history of business education can inform the development of AI education and training, and why AI needs its own 'Wharton moment'.
Medium · AI
📰
AI Is Our Steel: Why Work Isn’t Ending — It’s Changing Building Material
AI is changing the workforce, but it's not ending work, rather transforming it, just like previous technological advancements
Medium · AI
📰
AI Skills Every College Student Must Learn Before Graduation in 2026
College students must acquire AI skills to enhance their job prospects in 2026, as a degree alone may not be sufficient
Medium · SEO
📰
The Writers AI Replaced in 2026 Already Sounded Like AI
Writers are concerned about AI replacing their jobs, but the writing style of replaced writers already resembled AI-generated content
Medium · SEO
Up next
'Social media needs to change': Gander Social founder
BNN Bloomberg
Watch →