A.I. Agents: ChatGPT Can Write Its Own Code And Execute It

  • October 16, 2023
You cannot conceive the evil that will be wrought by ChatGPT and its derivatives. Programmers are creating A.I. “agents” that spontaneously write code for any task and then automatically executes it.  “If A.I. can do anything we can do, it does not just replace the boring tasks. It replaces all the tasks.”

In other words, it replaces all the jobs. All of them! ⁃ TN Editor

The widely used chatbot ChatGPT was designed to generate digital text, everything from poetry to term papers to computer programs. But when a team of artificial intelligence researchers at the computer chip company Nvidia got their hands on the chatbot’s underlying technology, they realized it could do a lot more.

Within weeks, they taught it to play Minecraft, one of the world’s most popular video games. Inside Minecraft’s digital universe, it learned to swim, gather plants, hunt pigs, mine gold and build houses.

“It can go into the Minecraft world and explore by itself and collect materials by itself and get better and better at all kinds of skills,” said a Nvidia senior research scientist, Linxi Fan, who is known as Jim.

The project was an early sign that the world’s leading artificial intelligence researchers are transforming chatbots into a new kind of autonomous system called an A.I. agent. These agents can do more than chat. They can use software apps, websites and other online tools, including spreadsheets, online calendars, travel sites and more.

In time, many researchers say, the A.I. agents could become far more sophisticated, and could replace office workers, automating almost any white-collar job.

“This is a huge commercial opportunity, potentially trillions of dollars,” said Jeff Clune, a computer science professor at the University of British Columbia who previously worked on this kind of technology as a researcher at OpenAI, the San Francisco start-up that built ChatGPT. “This has a huge upside — and huge consequences — for society.”

Nvidia’s agent plays a game. Similar agents can schedule meetingsedit files, analyze data and build multicolored bar charts. The idea is that these automated systems will eventually act as personal assistants able to handle a wide range of tasks across the internet.

Today’s agents are limited, and they can’t exactly organize your life. ChatGPT can search the travel site Expedia for flights to New York, but you still have to book the reservation on your own.

This technology, as researchers improve it, could make office workers and consumers more efficient. It could also change the nature of video games, providing a new wave of bots that gamers can play alongside and chat with.

GPT-4, the technology that underpins ChatGPT, is what researchers call a large language model. It is an A.I. system that learns skills by analyzing huge amounts of data.

Over the past several months, the technology has wowed hundreds of millions of people with the way it generates emails, writes speeches and riffs on almost any topic. But its most important skill may be its knack for writing computer programs.

It can instantly generate a program that draws a unicorn or drops digital snow across your laptop screen. Professional software developers can ask for code that they can fold into larger programs, including everything from social media apps to search engines. But that is only part of what this technology can do. It can also generate computer code that taps into other software apps and websites.

This is how Dr. Fan and other Nvidia researchers taught GPT-4 to play Minecraft. “The most important word here is code,” Dr. Fan said. “Code can take actions.”

People use software apps and websites by touching buttons, menus and other graphical widgets. A.I. agents use apps and websites by accessing their application programming interfaces, or A.P.I.s — the underlying software code that lets them communicate with other online services.

If you ask an agent to upload a video to the internet, for instance, it could generate code that called an A.P.I. offered by YouTube. “An A.P.I. is just text used to talk to a machine,” said Silen Naihin, a researcher who helps run an independent A.I. agent project, AutoGPT.

In theory, a chatbot can write code for access to any A.P.I. on the internet. But today’s chatbots are not yet adept enough to do more than just simple tasks. And even if they were, letting them freely roam the internet would be an enormous security risk. So companies are starting small.

A few months after OpenAI unveiled ChatGPT, it quietly released a way for the chatbot to do more than generate text. After installing various plug-ins — software that augments what the bot can do — you could ask it to search travels sites like Expedia for available flights, grab a map of your hometown from Google Earth or even transform a spreadsheet detailing your yearly spending into a multicolored bar chart.

Equipped with a plug-in called code interpreter, ChatGPT could not just write code but also run it. This allowed the technology to instantly perform tasks it could not in the past, including editing spreadsheets and transforming still images into videos. Google, Microsoft and other companies are exploring similar technologies

Read full story here…

Spread the love