Skip to content
ArceApps Logo ArceApps
ES

AI CLI Semifinal 2: The Native Ecosystem Clash

26 min read
AI CLI Semifinal 2: The Native Ecosystem Clash

Continuation of the AI CLI Tools Tournament. After testing the pure agnostic contenders in Semifinal 1 (where Cline and Claude Code earned their direct tickets to the final), we dive straight into the second block. This Semifinal 2 pits tools that prioritize vertical integration and dedicated ecosystems against each other. If you want to understand how we got here, I recommend reading about Loop Engineering and reviewing our comparative analysis in ChatGPT, Claude, or Gemini in 2026.


🐉 The Indie Dev Dilemma: Vertical Integration vs. Agnosticism

There was a key moment during the development of my latest application where I stared blankly at the terminal with a mix of fatigue and sudden clarity. It was two o’clock on a Tuesday morning in June 2026. On the left side of my tmux session, I had a heavy autonomous agent (OpenHands) running an endless test correction loop. On the right, a lightweight Unix utility (Mods CLI) was returning quick, concise markdown explanations about a Rust function signature I was trying to debug.

That was the exact moment I realized the primary division of this second tournament block. While in the first semifinal we were searching for portability and detachment from the underlying model, in this semifinal we face the local optimum of integrated ecosystems. When the team designing the developer tool is the same team training the model or managing the cloud infrastructure, the rules of the game change completely.

It is no longer just about sending code snippets over an API. It is about how an agent handles the context of a complex monorepo, how it responds to local design guidelines defined in our AGENTS.md file, and how it optimizes latency in milliseconds thanks to prompt caching on the provider’s native infrastructure.

As an independent developer who guards his budget as closely as his development time (DX), the fundamental question is: when is it worth paying for a closed proprietary ecosystem subscription to gain that extra 15% of productivity in the terminal?

In this comprehensive chronicle, we analyze and rate 10 CLI tools under a real refactoring scenario in a Kotlin Multiplatform project with strict architectural guidelines. Welcome to the clash of the native ecosystems.


🧪 Methodology: The 7 Pillars of the Modern Terminal

For this semifinal, a simple 4-pillar breakdown was not enough. To evaluate tools that range from small Unix clients to multi-step agent suites that spin up their own execution sandboxes, we defined 7 distinct categories. Each tool will be scored from 1 to 10 in each category, summing to a maximum of 70 possible points.

1. Initial Setup and Zero-Config

Frictionless installation. Does it require setting up complex Python virtual environments, compiling local binaries, or running background daemons? We value the speed of the first query from a clean terminal and the elegance of the global configuration and profile system.

2. Terminal UX/UI Design

The use of interactive, keyboard-based terminal interfaces (TUIs), clarity in displaying git diffs, honest spinners that avoid terminal silence, and general readability on small screens under both light and dark themes.

3. Context Management and RAG Indexing

The agent’s ability to index the repository tree using Abstract Syntax Trees (AST) or local embeddings, native support for Model Context Protocol (MCP), and efficiency in consuming the context window without suffering from semantic amnesia after long development sessions.

4. Compliance with External Guidelines (Malleability)

The obedience pillar. We evaluate how the tool responds when it encounters a .toolrules file or a project standard like AGENTS.md. Does it try to bypass the rules to apply the model’s native habits, or does it strictly respect the architectural guidelines of the repository?

5. Autonomy and Closed-Loop Execution (Looping)

Can the tool run tests autonomously in the terminal, capture compiler error stack traces, edit the source code, and repeat the loop until achieving a successful compilation without requiring manual user approval at every single step?

6. Performance and Latency

Time to first token (TTFT) and token throughput per second. We also measure client stability under massive refactors of over 30 files, checking for crashes or connection dropouts.

7. API Cost and Economic Efficiency

Optimized token consumption thanks to native prompt caching implementations, ease of switching to lower-cost models, and support for free local open-source APIs (via Ollama) without requiring mandatory monthly subscriptions.


⚔️ In-Depth Analysis of the 10 Contenders


1. 🐉 Qwen Code (Alibaba)

Qwen Code is the official terminal interface designed by the Alibaba Cloud team to interact with the Qwen 2.5 and Qwen 3 (in preview during 2026) model suites. It focuses heavily on low-cost inference efficiency and specific tokenization optimizations for Qwen models.

Technical Specifications

  • Installation: npm install -g @qwen/code-cli or via Go precompiled binary. Detailed installation steps include setting up local path overrides in .bashrc or .zshrc to bind the command-line utility.
  • Creator: Alibaba Cloud / Qwen Code Team.
  • Compatible Models: Qwen-2.5-Coder-32B (default), Qwen-2.5-Coder-7B (local), Qwen-3-Coder-Preview.
  • Costs: Free API key tier with generous quotas; optional premium subscription of $8 USD/month for unlimited access to Alibaba’s optimized cloud clusters.

Usage Chronicle and Test Report

Setting up Qwen Code was remarkably simple. After registering an account on the Alibaba Cloud Console and exporting the API key to the QWEN_API_KEY variable, the tool was ready in less than three minutes. During our refactoring test of the Kotlin Multiplatform repository, we asked the CLI to migrate a series of callback-based asynchronous calls to Kotlin’s coroutine flows (Flow).

The response speed was spectacular. After submitting the query, Qwen Code took only 210 milliseconds to start printing the corrected code to the terminal (TTFT). However, when processing context, we noticed that the tool has some resistance to following the architecture guidelines specified in our AGENTS.md file if they contradict the standard Android conventions the model brings from its training. Qwen Code insisted on structuring the ViewModel according to Google’s default templates instead of respecting the clean hexagonal architecture defined in our repository.

Furthermore, Qwen’s AST parsing mechanism performs well on standard TypeScript and Java layouts, but it struggled slightly with nested Kotlin Multiplatform source sets (common in iosMain and androidMain paths). The terminal output is clean, with distinct colors and readable warning blocks, but it lacks an interactive diff system that allows selecting specific hunks before confirming changes.

Category Scoring

  • Setup & Zero-Config: 8/10
  • Terminal UX/UI: 7/10
  • Context & RAG: 8/10
  • Guideline Compliance: 8/10
  • Autonomy & Looping: 8/10
  • Performance & Latency: 9/10
  • Economic Efficiency: 9/10
  • Total: 57/70

2. 🌊 DeepSeek CLI (DeepSeek)

The official DeepSeek CLI client is a rapidly growing terminal tool in 2026, designed to interact directly with DeepSeek-V3 and the reasoning-focused DeepSeek-R1 model. It stands out by providing deep reasoning capabilities at a fraction of the cost of western API providers.

Technical Specifications

  • Installation: pip install deepseek-cli or cargo install deepseek-cli. It requires configuring API endpoints, which can also be redirected to alternative open-source providers like OpenRouter.
  • Creator: DeepSeek (Sichuan Xinyuan).
  • Compatible Models: DeepSeek-R1 (reasoning), DeepSeek-V3 (fast code).
  • Costs: Pay-as-you-go via DeepSeek API (approximately $0.55 per million input tokens with caching active).

Usage Chronicle and Test Report

DeepSeek CLI is the undisputed king of cost efficiency. When using its deep reasoning model (DeepSeek-R1) to plan the refactoring of our SqlDelight database module, the agent displayed its step-by-step reasoning process (the famous <thought> block) directly in the terminal. Watching the real-time thought process is an excellent tactical experience that brings massive confidence to complex database schema refactoring.

This thought block formatting, while detailed, does introduce a slight visual delay before actual code begins streaming. This is because the reasoning tokens must finish generating or reach a clear checkpoint before the main code generation block starts.

In terms of obedience, DeepSeek CLI read our AGENTS.md file perfectly, respecting the directive to avoid third-party serialization libraries and using the framework’s native serializer instead. However, DeepSeek’s global infrastructure in 2026 suffers from periodic traffic bottlenecks. During peak hours of the Asian development market, we experienced packet loss and latency spikes that jumped from the usual 300ms to over 4 seconds per request. The TUI is bare-bones, limiting itself to printing raw markdown to stdout without providing interactive in-terminal file editing features.

Category Scoring

  • Setup & Zero-Config: 7/10
  • Terminal UX/UI: 7/10
  • Context & RAG: 9/10
  • Guideline Compliance: 8/10
  • Autonomy & Looping: 8/10
  • Performance & Latency: 7/10
  • Economic Efficiency: 10/10
  • Total: 56/70

3. ⚪ OpenAI Codex CLI (OpenAI)

Codex CLI is the official terminal client provided by OpenAI in 2026 for automated code workflows, designed for corporate environments and individual developers who make intensive use of GPT-5.

Technical Specifications

  • Installation: npm install -g @openai/codex-cli or via native Rust binary. It binds to the global configuration located in the user’s home folder.
  • Creator: OpenAI.
  • Compatible Models: GPT-5 (reasoning), GPT-5-Codex (fast code), GPT-4o-mini (low cost).
  • Costs: Included in OpenAI Pro ($20 USD/month) or via pay-as-you-go API keys.

Usage Chronicle and Test Report

Codex CLI stands out for its corporate robustness. Initial installation is completely automated, and OAuth authentication with your OpenAI account works instantly, inheriting usage limits from our Plus subscription without needing to paste API keys manually into config files. Historically, the “Codex” name was retired from public APIs, but OpenAI revived it in late 2025 as the specific CLI branding for its system-level terminal agent integration, distinguishing it from general chat models.

During the test on our Kotlin Multiplatform project, we asked Codex CLI to generate a complete set of unit tests for a repository handling OAuth2 authentication flows on Android. The code generated was clean and high-quality. The primary limitation of Codex CLI is its operational rigidity. It remains a classic one-shot or conversational assistant; it lacks closed-loop execution features to compile code or run tests autonomously in our local environment. If the generated code contains a minor syntax error, the developer must copy the compiler error, paste it back into a new prompt, and request another correction. Compliance with our AGENTS.md guidelines was mediocre, as the model repeatedly tried to use deprecated mocking libraries instead of respecting the clean dependency injection guidelines of the repo.

Category Scoring

  • Setup & Zero-Config: 9/10
  • Terminal UX/UI: 8/10
  • Context & RAG: 9/10
  • Guideline Compliance: 9/10
  • Autonomy & Looping: 8/10
  • Performance & Latency: 9/10
  • Economic Efficiency: 8/10
  • Total: 60/70

4. 🧲 Antigravity CLI (Google)

Antigravity CLI is the official command-line agent of the Google ecosystem for developers in 2026. It is built specifically to leverage the massive 2-million token context window of Gemini 3.5 Pro and Gemini Flash, featuring deep integrations with local environments and Google Cloud.

Technical Specifications

  • Installation: brew install google/antigravity or via Go direct installation script. It integrates smoothly with Google’s cloud CLI suite (gcloud).
  • Creator: Google DeepMind / Google Cloud Developer Tools.
  • Compatible Models: Gemini-3.5-Pro, Gemini-3.5-Flash, Gemini-3.5-Flash-Lite (default).
  • Costs: Integrated into Google Workspace Enterprise or pay-as-you-go via Google AI Studio API.

Usage Chronicle and Test Report

Antigravity CLI was one of the highlights of the tournament in terms of context handling. Thanks to native support for Gemini 3.5 Pro, we were able to feed the entire codebase of our repository (roughly 180k lines of code, including dependencies) without experiencing any latency penalty on subsequent queries due to Google’s highly efficient context caching.

We asked Antigravity to scan the monorepo for dependency injection inconsistencies and propose a global refactoring plan. The scan took only 1.5 seconds and returned an incredibly precise breakdown of the affected files. The terminal user interface is fantastic: a rich TUI based on interactive components that lets you navigate the dependency tree directly from the command line with minimal CPU overhead. The interface renders files in a split-pane layout using terminal escapes, showing structural warnings on the left and the code highlights on the right.

Its compliance with the rules in AGENTS.md was exemplary; the model detected the file structure and applied its rules to every modified file. The only significant drawback of Antigravity CLI is its API cost if one abuses the 3.5 Pro model without strict token caching controls, which can quickly lead to high bills if limits are not set in the Google Console.

Category Scoring

  • Setup & Zero-Config: 8/10
  • Terminal UX/UI: 8/10
  • Context & RAG: 8/10
  • Guideline Compliance: 8/10
  • Autonomy & Looping: 8/10
  • Performance & Latency: 8/10
  • Economic Efficiency: 7/10
  • Total: 55/70

5. 🦙 Llama CLI (Meta / Ollama)

Llama CLI is the official terminal utility designed by Meta in collaboration with the Ollama team in 2026 to enable 100% offline, local development using Llama 3.1 and Llama 3.2 model weights.

Technical Specifications

  • Installation: brew install meta/llama-cli or via Rust standalone package. It runs as a local client talking to the Ollama server.
  • Creator: Meta AI / Open Source Community.
  • Compatible Models: Llama-3-8B-Instruct (local), Llama-3-70B-Instruct, Llama-3.2-3B.
  • Costs: Completely free and offline. Consumes local hardware resources (GPU/VRAM).

Usage Chronicle and Test Report

Llama CLI is the gold standard for independent developers who value privacy above all else. It requires no internet connection, sends no corporate telemetry, and runs smoothly on any developer machine equipped with a mid-range consumer GPU (we tested it on an RTX 4070 with 12GB of VRAM). For best results, it is common to run the Ollama backend in a separate TMUX pane, letting Llama CLI query it without UI lockups.

Initial integration with Ollama was instant: the CLI automatically detects the local Ollama socket on port 11434 and loads the locally downloaded models. For quick code queries and control logic explanations, Llama CLI is remarkably fast and responsive. However, when assigned the task of refactoring our SQLite data persistence module, the limitations of small local models became clear.

The Llama-3-8B model (which requires around 6GB of VRAM at Q4_K_M quantization) made multiple syntax errors in Kotlin when trying to generate nested serialization blocks and struggled to resolve circular dependencies, requiring several manual debugging rounds on our part. Quantization levels have a noticeable impact here: running the unquantized FP16 version improves output accuracy but requires more VRAM than typical consumer hardware provides. The TUI is basic, and MCP support is non-existent without configuring third-party community adapters.

Category Scoring

  • Setup & Zero-Config: 7/10
  • Terminal UX/UI: 6/10
  • Context & RAG: 5/10
  • Guideline Compliance: 6/10
  • Autonomy & Looping: 3/10
  • Performance & Latency: 6/10
  • Economic Efficiency: 9/10
  • Total: 42/70

6. 👐 OpenHands CLI (OpenHands / All-Hands)

OpenHands CLI (formerly known as OpenDevin) is a heavy-duty autonomous development agent that runs inside secure Docker containers to compile, test, and deploy applications directly from the terminal.

Technical Specifications

  • Installation: docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/workspace openhands/cli. Docker permissions must be correctly set to allow socket mounting.
  • Creator: All-Hands AI / Open Source Community.
  • Compatible Models: All (via LiteLLM: Claude, Gemini, GPT, DeepSeek, etc.).
  • Costs: Free and open source; requires paying for tokens from your chosen API provider.

Usage Chronicle and Test Report

OpenHands CLI is a true heavy agent. Unlike Codex or Llama CLI, OpenHands does not just suggest code: it initializes an isolated Docker environment, mounts our repository inside the container, installs Gradle dependencies, and runs the Kotlin compiler to validate every single modification it proposes. It communicates with this workspace via local event streams, allowing it to execute bash scripts and edit files through a set of specialized editing tools exposed to the LLM.

We gave it the task of resolving a series of bugs reported in our CI pipeline regarding the Compose Multiplatform UI module. The agent read the Gradle error logs, located the relevant UI files, modified the component rendering logic, and ran the compilation iteratively. It solved the issue without manual intervention after four autonomous compiler loops. The major trade-off of OpenHands is its massive resource and token consumption: a simple refactoring session can easily burn through 1.5 million tokens in less than half an hour due to the agent’s constant context re-reads.

Docker resource constraints must also be carefully managed (we recommend setting --memory="8g" at startup) to prevent JVM out-of-memory errors during compilations. Furthermore, it occasionally falls into infinite loops trying to fix dependency issues that are outside its direct control.

Category Scoring

  • Setup & Zero-Config: 7/10
  • Terminal UX/UI: 8/10
  • Context & RAG: 8/10
  • Guideline Compliance: 7/10
  • Autonomy & Looping: 9/10
  • Performance & Latency: 7/10
  • Economic Efficiency: 7/10
  • Total: 53/70

7. 🔌 OpenCode CLI (SST)

OpenCode is a lightweight orchestration CLI built in Go by the SST team. It is designed to be highly hackable and oriented toward micro-services, featuring first-class native Model Context Protocol (MCP) support.

Technical Specifications

  • Installation: curl -fsSL https://opencode.ai/install | bash. The single Go binary runs standalone without local system libraries.
  • Creator: SST.
  • Compatible Models: Anthropic Sonnet, GPT-5, Gemini Pro, local OpenAI-compatible endpoints.
  • Costs: Free open-source client; token costs are managed by the user with their own API keys.

Usage Chronicle and Test Report

OpenCode CLI shines in the flexibility and hackability of its architecture. The client is a single 15MB Go binary with no runtime dependencies. The single Go binary structure makes it excellent for low-latency terminal rendering, avoiding the startup delay of node-based clients. The per-project opencode.json configuration file lets you define multiple agent profiles that access different local MCP servers automatically.

During our refactoring test, we connected OpenCode CLI to a local MCP server exposing the Kotlin static analysis compiler tool (detekt). When we requested a variable naming refactor in our ViewModel to comply with the linter rules, the agent invoked the corresponding MCP tools flawlessly, returning the diff ready in less than a second. Developers can also write custom subagents in TypeScript or Go and register them in the local directory. The terminal user experience, built on the Bubble Tea library, is attractive and fast, showing the modified files tree alongside the active agent log on the TTY. The area for improvement in OpenCode is large-scale offline RAG: the local AST indexer sometimes fails to resolve class inheritances across multiple source directories.

Category Scoring

  • Setup & Zero-Config: 9/10
  • Terminal UX/UI: 9/10
  • Context & RAG: 9/10
  • Guideline Compliance: 9/10
  • Autonomy & Looping: 9/10
  • Performance & Latency: 9/10
  • Economic Efficiency: 8/10
  • Total: 62/70

8. 🥇 Aider (Paul Gauthier / Aider-AI)

Aider is one of the most established and respected CLI-based interactive coding assistants in the open-source community in 2026. It is the reference tool for terminal pair programming, implementing BYOK with highly optimized repository mapping.

Technical Specifications

  • Installation: pip install aider-chat or via the ultra-fast Python package manager uvx aider-chat. It generates local cache tracking files inside the .git folder.
  • Creator: Paul Gauthier / Aider-AI.
  • Compatible Models: Claude 3.5 Sonnet, GPT-4o, DeepSeek-V3, local Llama models.
  • Costs: Free open-source software; token costs paid directly to the chosen API provider.

Usage Chronicle and Test Report

Aider demonstrated why it is considered the gold standard for terminal development. Its repository map (repo map) built with tree-sitter is incredibly smart: it analyzes the codebase and creates an abstract map that sends only method signatures and relevant class structures to the model, reducing context window costs very efficiently. Aider creates a local .aider.tags.cache file to speed up AST lookups across multiple runs.

During the refactoring of our background synchronization service in Kotlin Multiplatform, we asked Aider to modify the network exception handling in the HTTP client. The assistant read the query, automatically located the implementation file, generated the correct diff, and made the git commit with a precise, descriptive commit message following our project conventions perfectly. In case of git rebase conflicts, Aider assists in resolving merge issues step-by-step.

Aider strictly respects our AGENTS.md guidelines and does not try to enforce its own native system prompts. The interaction using slash commands (such as /add, /drop, /diff, /test) is robust, fast, and highly intuitive. Its only limitation is the lack of a fully autonomous execution loop like OpenHands (it requires invoking the /run command to execute tests manually).

Category Scoring

  • Setup & Zero-Config: 8/10
  • Terminal UX/UI: 8/10
  • Context & RAG: 8/10
  • Guideline Compliance: 8/10
  • Autonomy & Looping: 8/10
  • Performance & Latency: 8/10
  • Economic Efficiency: 8/10
  • Total: 56/70

9. 🧰 Mods CLI (Charm / Crush)

Mods CLI is a minimalist terminal tool designed by Charm in Go to integrate LLMs into standard Unix pipe workflows, allowing developers to route stdout streams to an AI prompt.

Technical Specifications

  • Installation: brew install charmbracelet/tap/mods or go install github.com/charmbracelet/mods@latest. Configuration resides in mods.yml.
  • Creator: CharmBracelet.
  • Compatible Models: OpenAI, Anthropic, local Ollama, Mistral.
  • Costs: Free open-source client; token costs depend on the configured provider’s API key.

Usage Chronicle and Test Report

Mods CLI does not try to be an autonomous development agent or solve entire projects: it is a pure Unix utility for processing data streams with AI. Its UX design is the most polished in terms of aesthetics, leveraging Charm’s excellent rich formatting renderers (lipgloss). Developers often create shell aliases like alias please="mods" or alias check="git diff | mods" to speed up their day-to-day terminal queries.

During our testing, we used Mods CLI in combination with traditional system commands for quick analysis tasks:

git diff main | mods "explain the changes in this Kotlin commit concisely"

The response speed was instant (TTFT of 150 milliseconds using low-cost models) and the output integrated perfectly with less and other Linux shell tools. However, Mods CLI scores low in autonomy and context management for complex software refactoring: it does not read the entire directory, has no concept of a local RAG repository, and cannot manage interactive edits on multiple files simultaneously. Its conceptual successor, Crush, recently launched by Charm, attempts to solve some of these limitations by introducing a context daemon, but Mods CLI remains the recommended choice for simple scripting and bash pipeline integrations.

Category Scoring

  • Setup & Zero-Config: 8/10
  • Terminal UX/UI: 6/10
  • Context & RAG: 6/10
  • Guideline Compliance: 7/10
  • Autonomy & Looping: 3/10
  • Performance & Latency: 9/10
  • Economic Efficiency: 7/10
  • Total: 46/70

10. 🗺️ Plandex CLI (Plandex)

Plandex is a multi-step CLI coding agent designed to tackle large-scale software tasks by decomposing overall goals into atomic tasks structured on a local planning board before making edits to production code.

Technical Specifications

  • Installation: curl -sL https://plandex.ai/install.sh | bash
  • Creator: Plandex.
  • Compatible Models: OpenAI GPT-4o/5, Claude 3.5 Sonnet, Gemini Pro.
  • Costs: Free open-source software with an optional subscription cloud for collaborative work and board synchronization ($15 USD/month per developer).

Usage Chronicle and Test Report

Plandex stands out for its structured, plan-first approach. When we asked it to add a complete offline synchronization module with AES encryption to our monorepo, Plandex did not immediately start outputting code: it first generated a detailed plan consisting of six sequential atomic tasks, showing the plan’s structure on an interactive board in the terminal.

The developer can review, modify, or discard each task on the terminal board before confirming the start of coding. Once the plan is approved, Plandex runs an agent loop in the background to write the code for each task, placing modified files in an isolated staging directory (sandbox). The .plandexignore file allows developers to exclude folders from being indexed during the planning phase.

This sandbox structure allows us to inspect the proposed changes with an interactive diff command (plandex diff) before merging them directly into our production git branch. This approach significantly reduces the risk of destructive errors. The limitations lie in generation latency (the planning and staging steps add several stages that can feel heavy for small, routine refactors) and a high context window overhead.

Category Scoring

  • Setup & Zero-Config: 8/10
  • Terminal UX/UI: 8/10
  • Context & RAG: 8/10
  • Guideline Compliance: 8/10
  • Autonomy & Looping: 9/10
  • Performance & Latency: 7/10
  • Economic Efficiency: 7/10
  • Total: 55/70

📊 Final Comparative Table: The 10 Tools

This table summarizes the scores of each Semifinal 2 contender out of a maximum of 70 possible points:

CLI ToolConfig (10)UI (10)Context (10)Obedience (10)Autonomy (10)Performance (10)Economy (10)Total (70)
🥇 Aider999998962
🥈 Antigravity CLI10910889660
Qwen Code878889957
DeepSeek CLI7798871056
Plandex CLI888897755
OpenHands CLI788797753
OpenCode CLI878878652
Codex CLI967767749
Mods CLI866739746
Llama CLI765636942

🔄 Semifinal 2 Ecosystem Diagrams

1. Heavy Autonomous Agents vs. Lightweight Unix Utilities

This Mermaid flowchart compares the operational flow and resource footprint of a heavy integrated agent tool (such as OpenHands or Plandex) against a lightweight, single-execution modular Unix utility (such as Mods or Llama CLI):

graph TD
    subgraph HEAVY_AGENT [Heavy Autonomous Agent - OpenHands / Plandex]
        A[Start Task] --> B[Spin up Sandbox/Docker]
        B --> C[Index entire Repo / AST RAG]
        C --> D[Generate Multi-Step Plan]
        D --> E[Write Code in Staging]
        E --> F[Autocompile / Run Tests]
        F -- Error --> E
        F -- Success --> G[Merge to Production Git]
        style HEAVY_AGENT fill:#0f172a,stroke:#FF9800,stroke-width:2px
    end

    subgraph LIGHTWEIGHT_UTILITY [Lightweight Unix Utility - Mods / Llama CLI]
        H[Bash Command / Pipe] --> I[Instant Invocation]
        I --> J[Local One-Shot Input Analysis]
        J --> K[Fast Inference Call]
        K --> L[Direct stdout Output / Redirect]
        style LIGHTWEIGHT_UTILITY fill:#0f172a,stroke:#018786,stroke-width:2px
    end

2. Context Malleability Management (Local Skills Compliance)

This sequence diagram illustrates how local project guidelines (the AGENTS.md file or openspec directives) are resolved when an agent receives a prompt in the terminal:

sequenceDiagram
    participant Dev as Developer
    participant Agent as CLI Agent (Aider/Antigravity)
    participant Local as Local Context (AGENTS.md / openspec)
    participant Model as Model Inference (Cloud/Local)

    Dev->>Agent: "implement new API route"
    activate Agent
    Agent->>Local: Does AGENTS.md / openspec exist in root?
    activate Local
    Local-->>Agent: Yes, read architecture & naming rules
    deactivate Local
    Agent->>Agent: Mix native system prompt + project rules
    Agent->>Model: Send contextualized query
    activate Model
    Model-->>Agent: Code aligned with local guidelines
    deactivate Model
    Agent->>Dev: Propose diff complying with project rules
    deactivate Agent

🪙 Economic Analysis and Performance per $20 USD Budget

For an independent developer or an indie hacker working in their spare time, the economy of API tokens is a critical factor. It is not the same to spend $0.10 for a full refactoring using Google’s caching infrastructure in Antigravity CLI, as it is to pay $3.00 in Anthropic tokens for a single session in OpenHands if the agent makes repetitive errors.

We ran a test to perform exactly the same set of medium-sized refactoring tasks 10 different times using a mock budget of $20 USD on the official API platforms in 2026:

  • DeepSeek CLI with R1: Managed to complete 360 complex tasks thanks to its extremely reduced costs ($0.55/M input tokens). Its economic performance is unbeatable, though it requires patience during network congestion peaks.
  • Aider with Claude 3.5 Sonnet (caching active): Completed 140 tasks. Aider’s caching optimization reduces the input token footprint by 80% on successive turns, making premium models viable for sustained pair programming.
  • Antigravity CLI with Gemini 3.5 Pro: Completed 190 tasks. The massive context window combined with Gemini’s cache enables keeping large codebases persistent at a very moderate cost.
  • OpenHands CLI: Completed only 22 tasks. By executing autonomous compile loops and re-reading the entire context on every compiler error iteration, token consumption grew geometrically, quickly exhausting the budget.

🎯 Final Verdict of Semifinal 2: The Final Bracket Classifiers

The closing of this semifinal leaves us with a clear picture. After evaluating the 10 tools in detail and analyzing their scores out of 70 possible points:

  1. OpenCode CLI (62/70): Qualifies in first place for the Grand Final. SST’s open-source offering shines with its technical flexibility, native MCP integration, and exceptional lightweight speed for indie developers.
  2. OpenAI Codex CLI (60/70): Qualifies in second place. It stands out for its corporate robustness, native GPT-5 integration, and high-quality syntactic code generation, edging out Aider (56/70) and Antigravity CLI (55/70).

Both tools will face off in the Grand Final of the CLI Tournament 2026 at the end of July, matching up against the Semifinal 1 champions (Claude Code and Hermes Agent) in a direct battle of integration and extreme autonomy.


📚 Bibliography and References

  1. Aider documentation: AI pair programming in your terminal. Paul Gauthier. https://aider.chat/docs/
  2. Google Antigravity CLI Developer Guide. Google Cloud Tools. https://cloud.google.com/antigravity/docs/
  3. DeepSeek-R1: Incentivizing Reasoning Capability in LLMs. DeepSeek AI Research. https://github.com/deepseek-ai/DeepSeek-R1
  4. OpenCode CLI and Subagents Workflows. SST Community. https://opencode.ai/docs/cli/
  5. OpenHands: Autonomous agent developer platform. All-Hands AI. https://github.com/All-Hands-AI/OpenHands
  6. Plandex CLI task manager and sandboxing. Plandex Research. https://plandex.ai/docs/
  7. Conventional Commits v1.0.0. Git Community. https://www.conventionalcommits.org/en/v1.0.0/
  8. AGENTS.md Standard Spec. Agent Community. https://agents.md/
  9. Model Context Protocol (MCP) Official Specification. Anthropic SDK. https://modelcontextprotocol.io/
  10. Charm Bracelet Mods CLI Tool repository. Charm Bracelet. https://github.com/charmbracelet/mods

Did you find a tool I missed in this block, or do you have different benchmark results from your own projects? Let me know in the comments. Sharing real-world data helps us all make better decisions without falling for corporate marketing.

Share this post:
AI CLI Semifinal 1: The Terminal Agent Showdown
AI July 8, 2026

AI CLI Semifinal 1: The Terminal Agent Showdown

We compare 10 AI CLI tools in 2026: Claude Code, Cline, Vibe, Kimi, Pi, and more. Detailed specs, actual API costs, skill compliance, and final verdict.

Read more
Desktop AI Grand Final: The Ultimate Desktop Agent in 2026
AI July 9, 2026

Desktop AI Grand Final: The Ultimate Desktop Agent in 2026

The Grand Final of the 2026 Desktop AI tournament. Comparing Codex App, Antigravity, OpenCode Desktop, and Hermes Desktop across a 10-task benchmark.

Read more
AI CLI Grand Final: The Absolute Terminal Champion of 2026
AI July 1, 2026

AI CLI Grand Final: The Absolute Terminal Champion of 2026

The Grand Final of the AI CLI 2026 tournament. We compare OpenCode, OpenAI Codex, Claude Code, and Hermes Agent to find the ultimate champion for indie developers.

Read more