LZLZL/AI toolchain/Local · Concepts
FREEShallow · Start here A · Localconcepts

What a CLI agent has
that a chat box does not

2026-08-21 · The loop moves off your desk

Same model, two housings, an order of magnitude apart in what it can do. The gap is not intelligence. It is that one of them can read, edit, and run — and the third is where the change actually happens.

In this pagethe three capabilities, the price of the third, when a chat box still wins. Not in this pagewhat I run, or where. Every example is a generic placeholder.

1Three capabilities. Only the third is a phase change

CapabilityWhat it doesWithout it
ReadOpens your files, directories and logs on its ownYou paste. It knows what you pasted, nothing more
EditWrites straight back to diskIt hands you code; you are the courier
RunExecutes commands and sees the outputIt never finds out whether it was right

The first two save your hands. The third changes who verifies. In a chat box every correction routes through you: it writes, you run, it breaks, you paste the error back. Once it can run things, that loop moves to the machine's side. You stop being the courier and become the reviewer.

Why this outranks "which model is smarter"

A mid-tier model that can run its own code and read its own errors regularly beats a stronger model reasoning in the dark. Most of the difficulty in programming is not producing the right answer — it is noticing you were wrong. Noticing needs feedback; feedback needs execution.

So when choosing tools, "can it run things and see the result" carries more weight than the model tier.

2The price: run a command, delete a file

You cannot take the first two without the third. Whatever shell you hand it, it has. A command with a wrong path and a command that reads .env into context look identical at the tool layer — both are just "ran a command".

Permissions are not optional, they are lesson one

Serious CLI agents ship three gates: allow (run it), ask (check with me), deny (never). Configure them the day you install, not the day after something goes wrong. Details differ per tool — see the next page and the one after.

3When the chat box wins

SituationWhy
You are still thinking, not buildingNo files to read, no commands to run. All three capabilities idle
The code cannot leave your machine and you have not mapped the data flowSettle the boundary first. That order does not reverse
A one-off questionSetup and authorisation cost more than the problem

The test is one question: does this need "let me try it and see"? Yes, CLI. No, chat box.

4What this thread covers

StageProblem it solves
A · LocalGet it changing your code (1–5)
B · AccessAccounts, quota, relays — so one dead account does not end the whole thing (6–9)
C · Always-onFrom "I type a line" to "it runs itself" (10–16)
D · CloudOnto a machine that does not sleep (17–22)

One idea runs through all four: a knob called base_url. Page 7 covers it once; after that every new tool is the same knob in a different file.

Two current examples Claude Code (Anthropic) and Codex (OpenAI) are both this shape. Repo openai/codex: Rust, 110,216 stars, latest release rust-v0.149.0 (2026-08-20). Figures from the GitHub API, checked 2026-08-21.
Limits "It can run, so it can verify" holds strongest where success has an objective signal — compiles, tests, scripts. Where there is no objective test, the loop returns to you and the advantage shrinks.
Not in this page My own hosts, keys, schedules or service names. Every example is a placeholder.

RelatedRead next

A · Local
Claude Code: install to first real edit
A · Local
Codex: install, config, dividing the work
B · Access
What a relay API actually is
C · Always-on
What is worth automating, and what is theatre
An educational and engineering record — not a review or endorsement of any third-party product. Commands, config keys, prices and terms are per each vendor's official docs; this page states when it was checked and all of them can change without notice — verify before you copy anything. Self-hosting is your own responsibility: keys, accounts and data are on you.