Back to the CLI: Choosing Between CLI and GUI in the Agent Era

Hyacehila

CLI was a new interactive approach in the Age of Age.

It's a little counterintuitive. The main direction of the tools over the last decade has been to hide complex commands in the interface: Vim, Emacs, followed by VS Code, Jetbrains, and others, who have been able to use them for their own benefit.git The diff panel, branch chart and conflict resolutionr are also added to the command. We spent a long time moving the writing code into the editor from the black box, and then adding plugs, debuggers and re-engineering tools.

But after the AgeCating, the first ones that could run, and that were good enough, were mostly grown from the terminals. Claude Code, Codex, Aider, OpenCode, Hermes, Openclaw, these codes or common Agent, were used almost exclusively by a line of commands.

I don't think it's backwards. It's a reasonable time to put Coding Agen in the CLI at this stage, and it'll be spread out back. But another question is not going to get around: is the CLI going right now, or should it always be the future?

So start with a set of terminals that I think are useful. It explains why CLI is comfortable now; I'll talk about my more important concerns later: When people move from writing codes to review and organize, should it be CLI or GUI.

What I'm using now is the following combination, and the responsibility is clear.

🌿
git worktree

Allows each Agent/ Branch/ Experiment to have a separate directory.

Ghostty official logo
Ghostty

Responsible for fonts, themes, speed of response and long-term terminal perception.

Zellij official logo
Zellij

The blog has been published by the Global Voices Online.

Neovim official logo
Neovim

Quick editing and small range patches in terminal session.

A terminal-centred set of Agenic Coding tool chains

First, tools. If you have placed Claude Code, Codex CLI or Aider in daily life, terminal experience suddenly becomes important: one Agent on a running mission, one window watching tests, one window starting local services, the other is still comparing logs, Zia Git status, temporary configuration, and possibly a window connected to a server, running a long training. The next set of solutions is not so cool, but rather, it is a "parallel task, terminal session, temporary editing, branch isolation" solution.

Git worktree   负责代码上下文隔离
Ghostty        负责现代终端窗口体验
Zellij         负责终端 workspace / pane / tab 管理
Neovim         负责终端内快速编辑文件

git worktree It's Git's own ability, and I think it's particularly useful in the Agenic Coding. We often move AI on different branches at the same time, and then we put the results back together. The same warehouse can be used in different branches of the checkout directory to share the same object database, but the work area is independent of each other. A person named Agent. feature/search Find on top, another Agent is in fix/login-test The overhaul test, the master catalogue remains clean. Don't repeat it. git switch, and not a cline multiple warehouse. Claude Code, Codex, OpenCode is now largely embedded in the worktree support.

Ghostty The most important thing is to look at the outermost window. Agenic Coding often means that long-term staring at stream output, logs and diffs directly affects fatigue. Of course you can continue with iTerm2, WezTerm, Windows Telminal or Kitty, Mac's self-contained terminal. But this layer deserves consideration if it is just in the process of re-establishing a set of end-centred environments. Who doesn't want to see comfort.

Zellij A modern terminal reuser: cut windows into more than one pane, organize tab, save playout, restore session, default UI over tradition tmux Intuitive. Agent output is not mixed with test logs, local services are hanging in a pane for a long time, and the session can be restored without having to reset the window each time. To give every worktree an independent session is a pass-through:

Neovim The scene of "Agent wrote 90%, you just want to change the line immediately." When Agent runs in one pane and tests in another pane, you do not have to cut back to the graphic editor to complete quick fixes and reviews in the terminal. It's more like a knife with a knife, not a whole development.

This combination is not mysterious. It just sorted out the fact that Agent was already at the terminal. The question is: Is this the final form?

Why, Agent, we're back at the terminal.

To answer CLI is not the future, you have to figure out why we're back to CLI.

My judgment is:CLI is the best solution in the present, but mainly because it is the least expensive in the short term, not because it is more human in nature.

In traditional development, the editor is designed for human writing. The cursor, completion, sidebar file tree, and single file focus editorial perspectives are optimized around "one-man-on-one, line-by-line code, bug-by-bug" This design was successful in the past. But Actic Coding changed people's work: you're not the main code producer anymore, more like a few semi-automatic teammates. One Agent is performing functionality, one Agent is fixing tests, you're ready to review diff, add, interrupt the wrong direction, while local services, databases and logs are running.

When people move from writing to reading and organizing, the editor is a little out of step. The sidebar plugin is packed in an interface designed for single-person coding, diff for "the lines I just changed" and not for "five Agents have changed their share." So it's not surprising to return to the terminal: CLI is light, script, Agent can board directly, without having to move to the old way of working the GUI.

It's more like a transitional emergency: the existing GUI doesn't take advantage of it, and the terminal is adequate, fast and flexible. But the existing GUI doesn't take advantage of it, it doesn't mean it can't get through this road.

CLI killed Gui?

And when these judgments are mixed, they're prone to the slogans that spread in 2026. From X to YouTube to Little Red, a fashionable caliber comes out at the same time.One of the same names.

The App Is Dead. Agentic CLI Killed the GUI in 2026.

The most common narratives are essentially the following:

  • IDE border plugin is dead;
  • Desktop App is a product of the previous era;
  • The real AI engineer did everything in the terminal;
  • CLI = Polar/ Efficient/ Future, GUI = White / Inefficiency / Past.

This is a good thing to repeat, because it turns tool selection into identity tags: CLI is for pioneers, and GUI is for old. But looking at the direction of the input, it's not that simple. The AI major plant does not only place CLI, but also does desktop end, browser plugin and Computer Use.

Codex Keep the CLI while making the desktop end and browser more accessible. It's... Chrome ExtensionYou can run directly into your own browser, re-enact a session you already log in. Use only the prompt when accessing Salesforce, Gmail or Intranet tools @Chrome Leave the task to it, and the problems of login, cookies, token, double validation are saved; the local local localhost preview and validation are given to the built-in browser, with no disturbance between the two sides. Codex App is also leaning towards the ChatGPT entrance.

Claude Code From CLI-first in May 2025, it evolved into a family barrel: CLI, multi-desk app (Mac/Windows), Web application and IDE extension. A power like fast Mode can be switched by clicking in the desktop App. It didn't give up on the CLI, but apparently it didn't put all the treasure on the CLI. The slash commands in the CLI will certainly be added, but once you cut to the desktop application, they will no longer be something that users must remember.

So I'd rather see the direction of the investment than the slogan. The owner can shout "Bilm CLI" and the factory's chambers invest money in places where users will stay for long.

And then look at the complex workflow. Most needed is the organization of workflows: one parent needs multiple submodules, with multiple cuts; iOS / Android / Server / Web multiple-end; one or more Agents, plus bug lists, knowledge deposition, sub-agent movements. If this workflow is pure, you have to open a terminal window every module, one end, one end. Three modules, five-end, are a screen full of terminals, and management tools can make you dizzy; GUI can at least fold them into projects, tasks, status panels and filters.

I'm not saying the terminal can't do it. It's just that when the industry starts to count,2026 Best AI Encoding Agent Desktop ApplicationThe reason for the move is very close to here: more Agent is a specialized infrastructure, the mission is longer than "minutes" to "hours" and it is better to have an interface for Agent management and code editing. The IDE borderbar can easily trap Agent in a single context and in a synchronous, editor interaction. None of these are a single end window suitable for carrying it off.

The utility of GUI is not to draw buttons beautifully, but rather to show complexity without being overwhelmed by complexity: multiple windows separate each demand from one another, status panels allow progress, test status, sub-agent output, bug list to be visible, stream output to a section shows a section, which can be read and asked, rather than the context is forgotten long after the screen is over. The more common the tools are, the more easy to use it. CLI can hold the early users, but it's hard to be the main entrance for everyone.

So, custom GUI, can you swallow the whole CLI tool chain?

Back to the beginning of the terminal tool chain.

Worktree + Ghostty + Zellij + Neovim, actually using four scattered CLI tools, spell out four capabilities: "Segregated context + terminal perception + workspace management + quick editing". But one of the four things, a GUI custom-made for Agent, can swallow together:

  • Cut worktree? Without a knock, cut it by two, and even automatically build an independent workspace for every Agent;
  • See? Directly opens a diff panel instead of relying on a fragmented CLI text to return;
  • Multi-end? Multiple terminals are open as editors, and stand alone;
  • - A look? It's customised by designers, and probably more durable and consistent than a manual Ghostty.

Zellij, Ghostty, Neovim solves the problem of experience, a decent GUI that is almost always covered and usually smoother.

There's only one problem: how many advantages do CLI have left, apart from reusing the ready-made command line tools?

I don't think there's much more to this about people and tools interacting. CLI's advantage is now, to a large extent, ecological: stock tools are in the command line, and it's very easy to re-use it directly. Of course it matters. It's just that the advantage is the reuse of tools, not the experience of interactions.

Possible division of labour: CLI Return Tool Reuse Layer, GUI Returner Interactive

Turn the tool back and the machine off. The CLI position actually appeared when Skills was discussed.

I'm here.From MCP to Agent Skills: Why does Agent need a new context work protocol?As you have discussed, Skills is a light-capacity wrapper: a catalogue, a note, some scripts and a number of references, allowing models to read on demand. Skills is basically using CLI to carry out these orders, not MCP, in exchange for a flexible arrangement, which is valuable.

So, CLI will end up more like a tool reuse layer than a human primary interface. It will continue to compete with MCP for the position of "how to hand over the power to the model" as the bottom of the Agent call, script assembly, capacity seal. On this level, the composition of the CLI is a long-term advantage, and no one can easily replace it.

The human plane interacts with this layer, and it is more likely to return to the GUI. The GUI was originally created for the purpose of seeing the state, comparing the differences, and choosing the switch. Now people are monitoring multiple Agents in parallel, and these claims are more appropriate for the graphical interface. CLI is now in the position of human-powered interaction, more so at the top: the editor has not been redesigned for the new "people review, people to organize" approach, and CLI is just enough. Once the GUI, designed specifically for Agent, matures, there is no reason why interaction on this side of the human being should remain at the terminal.

They are not who kills who, but who gets what you want.

Summary

We did return to CLI, but returning to the terminal is not the end.

CLI is the most excellent solution of the Age of Age, which is fine. The editor is designed for old working methods and is not fit after people have turned to review and organize; CLI light, script, Agent can board directly and will naturally be used as a carrier in the short term. The combination of the worktree + Ghostty + Zellij + Neovim in the front is the pragmatic choice that is used today.

But the firm's real input, the organized workflow experience cap, and the lead that Skylls revealed, are reminding me that the long-term value of CLI is in the combination and reuse of tools, not in the main human interface; or that humans are going to cross the layer and return to the GUI that was designed for people. When a custom GUI can click two-trip worktrees, open a diff panel, line up multiple terminals and do better and more smooth than a manually fusion CLI tool chain, CLI may not be the answer for the future.

References

  • Title: Back to the CLI: Choosing Between CLI and GUI in the Agent Era
  • Author: Hyacehila
  • Created at : 2026-05-27 14:00:00
  • Link: https://hyacehila.github.io//blog/2026/05/27/cli-vs-gui-agent-era/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments