An AI CLI is not a chatbot in a terminal
Open Claude Code, Codex CLI, or Gemini CLI for the first time and the surface looks like a chatbot — you type, it answers. That framing is the single biggest source of confusion for everyone who comes from web Claude or ChatGPT. An AI CLI is a different category of tool. It is an agent with read access to your real files, write access to your real disk, and an open channel to your real shell. The chat box is the smallest part of it.
The mental model that makes everything click: there's a long-running process holding a conversation, and that conversation is allowed to spawn tool calls. Every tool call lands on your machine — a file read, an edit, a git status, a npm test. The model decides which tools to use; you decide which tools you let it use. That permission boundary is where all the design lives, and you'll see the same boundary repeat across every CLI in this quest.
This shifts what your prompts should look like. In a chat, you ask questions. In an agent, you give a goal and let it work. "Read package.json, find the unused dev dependencies, and remove them" is one prompt — the agent reads, greps, edits, and runs the test suite to confirm. That's not three prompts; it's one autonomous task with a verification loop.