iTerm2 and AI hype overload
Published on , 1001 words, 4 minutes to read

iTerm2 is the most popular terminal emulator for macOS machines. I've used it for years and it has gotten out of my way. It's great software. Recently an update was released that among other things includes new AI integration:
AI
- Add AI-powered natural language command generation. Enter a prompt in the composer and select Edit > Engage Artificial Intelligence. You will need to provide an OpenAI API key since GPT costs money to use.
- A new AI feature in the Toolbelt, "Codecierge", lets you set a goal and then walks you step-by-step to completing it by watching the terminal contents. It requires you to supply an OpenAI API key.
Here's what the first feature looks like:
https://files.xeiaso.net/video/2024/oneoff-iterm2-ai/index.m3u8
It's a text box that you can enter in a description of a command in, then it generates the command for you. It's a lot like the former GitHub Copilot for CLI, but built into your terminal, just a command-y away.
When you use this, you have your choice of the following models:
gpt-3.5-turbogpt-4-turbogpt-4gpt-4o
I wasn't able to get gpt-4o to work, but gpt-3.5-turbo worked fine. I'm not totally wowed by the feature, but it is a thing that exists and I'll probably use it once or twice (mainly when I'm dealing with ffmpeg commands because good god those are hard to remember). I don't think it's a killer feature, but it's a nice-to-have, I guess.
One of the main bits of feedback I've seen from people online is that iTerm2 having AI involved at all is enough to get them to want to switch away to another terminal emulator. They've cited the reason as exhaustion due to overexposure to AI hype.
AI is the current meme among investors and the tech space. Microsoft is putting an AI button on your keyboard, Slack is training AI on your messages, and OpenAI is in hot water with Scarlet Johansson. It's everywhere, and it's exhausting. Part of my job requires me to keep up with the latest advances with AI and I'm unable to. Everything happens so much.
With a lot of these AI tools comes the problem that the AI system itself is very opaque. You put in inputs, you get an output, but nobody is able to explain how or why something came out that way. There's an entire cottage industry of people finding the right combinations of words to get the AI to do something they want. It's like scrying into the unknown, but somehow with trillions of dollars on the line.
This "type the command for me" feature has caused a lot of buzz online, to the point where people I know are just flat out ripping out iTerm2 in favor of programs that don't have AI integrations in them. Hell, even the mention that a tool is going to get an AI integration has people preemptively ripping it out of their systems because of that opacity. A terminal emulator is probably also a fairly bad place to implement this because it's probably one of the most privileged programs on a developer's machine. It deals with all the secrets in the world, and the threat that it could be used to upload them all to a third party is great enough that people are willing to switch away from it sight unseen.
I get why people wouldn't want this in their lives, I really do. I think that one of the greatest errors that was made with putting this in iTerm2 was making a big show of it, and by not letting you use local models (such as with Ollama) instead of having OpenAI be the only option.
It would be really cool if this was distributed as an optional addon with their Python API as an example of how you can extend iTerm2 in arbitrary ways. This would get a lot of the same advantages, but without the whole angry mob thing.
Facts and circumstances may have changed since publication. Please contact me before jumping to conclusions if something seems wrong or unclear.
Tags: