Summarize the following text in less than 50 words. Let's think step by step: a realistic look at autogpt (agent ais) no they are not 'changing everything overnight' but they are interesting and potentially powerful. hello from rainy switzerland! i love traveling by train. today let's talk about autogpts aka agent ais. "civilization advances by extending the number of operations we can perform without thinking about them" alfred north whitehead. if you follow any ai people or newsletters you might have seen 'autogpt' and 'babyagi' demos this past month. thanks for reading mythical ai! subscribe for free to receive new posts and support my work. agent ais exploded onto the scene with the usual predictions of 'changing everything' and 'mindblowing'. soooo. why are people so excited about autogpts or agent ais? the one currency we never have enough of is time. therefore, machines and processes that free up our time and or increase our ability to get work done are by nature, valuable. washing machines are valuable because you don't have to sit there scrubbing clothes. tractors are valuable because one person can now plow an entire field in hours instead of days. computers are valuable because they can do tasks that would take humans a long time. computers can do math really well, really fast. millions of calculations a second have been harnessed to create programs that save us time. but the one problem with computers is they are dumb and you have to tell them exactly what to do. agent ais are a new experimental method of getting computers to figure out how to achieve a set objective without a human having to tell the computer exactly what to do. if you could tell a computer what to do, and it could accomplish that task without you having to outline each and every step, that would save a ton of time and therefore be extremely valuable. that is the promise and allure of agent ais. so what are they exactly? what are agent ais? agent ais are a computer program that take the language capabilities and 'reasoning' capabilities of an large language model (like gpt4), pair it with an ai database like pinecone, and an internet connection. a user sets an agent up, and gives it an objective. the agent goes into a simple loop trying to complete that objective. the agent does a few things like: create tasks for themselves reprioritize their task list complete* the top priority task store the results of tasks and human feedback in a database loop until their objective is reached* agent ais do not involve training new large ai models, they just use existing llms (gpt4, or an alternative) and prompt patterns in a potentially infinite loop. this is extremely cutting-edge, because agent ais are very new. agent ais are extremely new (went viral in the last month) agent ais went viral at the beginning of april with autogpt and babyagi. auto-gpt, and babyagi are independently developed python projects that do basically the same thing. they shot to the top of githubs popular projects and in the couple weeks since release, community members have built extensions and clones and agent managers and frameworks and chatgpt plugins and visual toolkits. for the non-technical person, github is a widely-used web app where people store their code. github provides a collaborative environment where multiple people can work on the same project without conflicting with each other's changes. a project reaching the top charts on github means tons of people are using it, looking at it, and downloading it. but why all the attention? what can agent ais actually do? what can ai agents do? hypothetically, agent ais could do any digital task a human could. currently, agent ais are much more limited. the running joke is agent ais are really only good at creating new lists of tasks, and skyrocketing your openai monthly bill. the biggest roadblock to ai agents actually completing tasks, is any digital task a human can do spans a huge range of abilities, and agent ais currently only have certain abilities. for example, to get to the level of a capable virtual assistant or intern, agent ais would need to be able to: access data on the internet browse the internet (simulating clicks, and form fills) remember things long-term and short-term control a computer operating system use apps on your computer access a credit card or other form of payment access large language models (llms) like gpt access apis here is where we are with the various capabilities agent ais would need. access the internet computers can access the internet by scraping, crawling etc. openai has demonstrated openai webgpt and other providers like dustt allow it as well. a few of the agent ai programs allow it to access information from the internet as well. the new plugin system for chatgpt has many plugins that access information from the internet. bing chat only can read meta data but should be able to access the internet soon. while not every system has it, most ai systems can or will be able to pull data from the internet soon. browse the internet (clicking, filling forms) getting info from the internet and using the internet like a human, clicking, scrolling, selecting are different. nat friedman showed a demo of gpt3 browsing the internet back in sep, 2022 but it is not a solved problem. trying to get computers to browser the internet has been an issue for a long time. quality assurance teams and software use software to simulate humans clicking and interacting with websites. the problem is, it is usually brittle. if a company changes their blue buy button to a red purchase now, the software sometimes breaks and can't find the button. gpt could make this easier, with more advanced reasoning but there is still not an easy way to connect an agent to robust browsing capabilities. some demos show it can be done, but it is brittle and difficult still. remember things long-term and short-term databases enable this, and embedding or vector databases enable this for ai specifically. if you want to know what embeddings are, read this section of this post. pinecone, vespa and other databases are built to store similar items close to each other so you can take the output of an agent, store it in the db, then query for similar items and pass them into the prompt of an llm. if none of those words made sense, read this article. however since the ai has no real short term or long term memory, it has to remember to query the database for what it was doing, what it should be doing and what it did. like a forgetful person leaving themselves notes, this can be problematic. control a computer while there are ways to automate control of your computer like windows power automate and applescript, they suffer the same issues as browsing. the solution can be brittle, and if the app changes at all or something goes wrong, the automation fails. there is no easy way to automate using a computer by a software agent currently. demos exist but nothing off the shelf makes this easy or robust today. use apps same issue as controlling a computer and browsing. if something goes wrong the agent can't recover and if apps update or change, the automation breaks. there is no easy way to automate using apps on your computer currently. demos exist but nothing off the shelf makes this easy or robust today. access a credit card or other form of payment a credit card is a number. computers can enter numbers in forms, so yes they could use a credit card or payment method. legally it will be interesting how this shakes out. if you agent goes rogue and orders $10,000 worth of fish, can you blame anyone but yourself? giving a computer full control of your money is scary and so there few have done this so far but it should be technically feasible if the browsing capabilities are taken care of. access large language models (llms) like gpt considering agent ais are build on llms, yes they can access llms. llms have their own issues (which we discuss below) but yes agent ais can use llms. access apis apis stand for application programming interface. apis let you get restaurant locations, send real letters, and control your smart thermostat. ai agents are ideally placed to use apis because an ai is a repeatable, computer-y way of getting things done. sending emails, sending texts, generating images etc, anything that is available via an api, an agent could potentially do. so while agent ais show great promise to be able to complete any digital task a human can, there are many important abilities they struggle with or lack a robust solution. this lack of abilities leads to a few serious issues with agent ais. problems with agent ais hallucinations because the large language models like chatgpt have issues with hallucinations, agent ais also struggle with hallucinations. i assigned my agent ai the task of increasing heat pump adoption in the united states. it happily planned a list of tasks. one of which was contact trade groups to prompt heat pumps. the agent ai then happily reported that it had done so and marked that item as complete. this is impossible because it not have access to an email client, a texting api, or any form of communication. trouble staying on task agent ais have trouble staying on task. they often will create a reasonable task, then re-prioritize a new task above it. there is currently no way to set a priority framework. you can give it various prompts to try and address this and developers are working on solutions but agent ais are like a hyperactive intern that likes to create new tasks rather than complete tasks. lack of recall even after successfully completing a task, agent ais often do not remember how to perform it again, or know how to store it for later use. and when agent ais do take some action to enable task reuse like creating a python program, it will often forget to use the program it created later. embedding databases are a way to get around this, but at its core the agent ai has no current working memory. large language models are trained on an existing dataset and to integrate new data they need to be trained. you can inject stored in formation from a database, but that is like the main character in memento who doesn't remember anything so he writes himself a note while he does remember it but then can't figure out his own note. struggles to decompose tasks agent ais struggle to effectively decompose tasks. it can generate task lists but each task will often contain a multitude of tasks. again developers are working on this, and you try to give it prompts to 'break things down' or 'thing through things step by step' but it can be a struggle. i believe we can and will solve most of these issues with agent ais. but the promise of everyone having their own personal jarvis is still a ways into the future. that being said there are some exciting use cases for agent ais that could happen sooner. real life use cases for agent ais right now there are no killer apps with agent ais. they are a bit flaky and require some amount of programming and python knowledge to get them to do anything. but there are lots of potential and fun demos out there. of course, if agent ais actually could complete any digital task a human could do, the potential use cases could be infinite. but i am going to only talk about use cases that are in the proximate or near future. research assistant paperwork financial assistant npcs in games shopping assistant chat moderator research assistant this use case seems like the most promising since it only involves accessing data, and then summarizing, re-writing etc. for super simple research that doesn't need a lot of synthesis or analysis, this could work well. others have recognized this and have already started to productize the research abilities of agent ais. paperwork filling out paperwork seems like a clear use case. the agent ai would need access to your personal information (birth date, address, order number, etc) but that seems easy enough to put into a vector db. it would also need to be able to find and download and understand the forms. none of these seem impossible and i would love to fill out fewer forms at the doctor's. connecting an agent ai to a pen robot would enable filling out paper forms as well. financial assistant having an assistant analyze every transaction and ask for corrections, refunds, and solutions would be nice. npcs in games nonplayer characters in games are famous for doing, well, nothing until the player interacts with them. hooking them up to an agent ai could enable the npcs to become real characters with stories and goals that happen even when the player is not there. a stanford research project connected a bunch of agent ais and let them loose in a town. nothing groundbreaking but it is interesting and could make game environments much richer and more interesting. shopping assistant if you know exactly what you want it to buy, you could have an agent ai buy it for you. hyperwrite, a tool for connecting an agent ai to the browser, has a demo where it appears to be able to order a pizza. chat / community moderator as communities grow, moderators have more and more work. just ask the overworked and mostly cranky reddit moderators. having an agent ai do the easy stuff (blocking and banning spam accounts etc) would be great for communities. if you are excited by the possibilities and want to dive in, here is how to get started using agent ais. how to use agent ais build it yourself: look at the framework and build it from scratch. you can ask chatgpt for help even. use openai's gpt-4 for the llm, pinecone vector database for the long term memory, and langchain's framework for linking up apis. download and run auto-gpt: this is the popular open source option created by toran richards. it includes options to connect to the internet, use apps, long-term and short-term memory, and other functions. download and run babyagi: this is the popular open source option, created by yohei nakajima. while babyagi doesn't connect to the internet yet people are working on extending it. download and run microsoft's jarvis: very similar to auto-gpt and babyagi, but much more robust and brought to you by microsoft and huggingface. use a service. matt has a list on his autonomous agents directory - https://www.mattprd.com/p/autonomous-agents-directory here are a few agent services that stuck out to me. superagent: too that tries to make it easier to build your own autonomous agent. spellpage: a todolist that tries to do the tasks itself for you. ibabyagi: autogpt on your iphone. more limited. salesgpt: autonomous agent for reaching out to new clients. toliman ai: autonomous agent for research. focused on research. agentgpt website: agent ai in the browser. more limited than other options. godmode website: agent ai in the browser. more limited than other options. there is a lot of hype around agent ais. i don't think they are going to change everything right away. but i do have a few predictions. agent ai prediction agent ais will find limited narrow use cases. you can't trust a self-driving car if it randomly crashes. you can't trust a self-driving ai if it randomly forgets to complete a task, hallucinates that it did complete it, or fails to complete a task because a button text and color changed. just like self-driving cars seemed to be solved 80% of the way, the last 20% will take 80% of the time. apps and tools will take the idea of agent ais and make them accessible to people who don't want to run python code. a loop to complete a task will become a common technique for ai tools. thanks for reading. see you next week! -josh thanks for reading mythical ai! subscribe for free to receive new posts and support my work. loved the simplicity with which you've explained the technical concepts.