Apple II – Now With ChatGPT

Closeup of an Apple ][ terminal program. The background is blue and the text white. The prompt says, "how are you today?" and the ChatGPT response says, "As an AI language model, I don't have feelings, but I am functioning optimally. Thank you for asking. How may I assist you?"

Hackers are finding no shortage of new things to teach old retrocomputers, and [Evan Michael] has taught his Apple II how to communicate with ChatGPT.

Written in Python, iiAI lets an Apple II access everyone’s favorite large language model (LLM) through the terminal. The program lives on a more modern computer and is accessed over a serial connection. OpenAI API credentials are stored in a file invoked by iiAI when you launch it by typing python3 The program should work on any device that supports TTY serial, but so far testing has only happened on [Michael]’s Apple IIGS.

For a really clean setup, you might try running iiAI internally on an Apple II Pi. ChatGPT has also found its way onto Commodore 64 and MS-DOS, and look here if you’d like some more info on how these AI chat bots work anyway.

10 thoughts on “Apple II – Now With ChatGPT

    1. While not quite the same I recall a coworker (MS Physics) who was denied computer access for a private project. This was in the mid 70’s. he problem was in quantum electrodynamics and involved a thousand step iteration with each step having a thousand step iteration. Finally he programmed the problem into a Vic 20, checked that it was functioning correctly, hid it from his kids in the top of the closet, and let it run for 3 1/2 days! As a check he ran it again for another 3 1/2 days and got he same answer! Multum in Parvo!

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.