$git clone https://github.com/mlhher/late-cli> Outperforming Claude Code and Codex for Local LLM Workflows — Agent Native > > *"Late-CLI is mindblowing... I'm shocked that the token usage is so minimal, I keep expec
| 1 | <h1 align="center">Late</h1> |
| 2 | |
| 3 | <p align="center"> |
| 4 | <a href="README.md">English</a> | <a href="README.zh-CN.md">简体中文</a> |
| 5 | </p> |
| 6 | |
| 7 | <p align="center"> |
| 8 | <b>Stop degrading your model's reasoning.</b><br><br> |
| 9 | A minimal, zero-config AI coding agent.<br> |
| 10 | Enforced ephemeral subagents retain model intelligence and keep context pure.<br> |
| 11 | From tiny local models up to Sol, Fable, and Kimi K3.<br> |
| 12 | Get real work done with any LLM. |
| 13 | </p> |
| 14 | |
| 15 | <p align="center"> |
| 16 | <a href="https://github.com/mlhher/homebrew-late"><img src="https://img.shields.io/badge/Homebrew-tap-blue.svg?style=for-the-badge" alt="Homebrew"></a> |
| 17 | <a href="https://github.com/mlhher/late-cli/releases"><img src="https://img.shields.io/github/v/release/mlhher/late-cli?style=for-the-badge&color=green" alt="Release"></a> |
| 18 | <a href="https://deepwiki.com/mlhher/late-cli"><img src="https://img.shields.io/badge/DeepWiki-docs-blue.svg?style=for-the-badge" alt="DeepWiki"></a> |
| 19 | </p> |
| 20 | |
| 21 | > [Outperforming Claude Code and Codex for Local LLM Workflows](https://agentnativedev.medium.com/outperforming-claude-code-and-codex-for-local-llm-workflows-5de0e2b1add5) — Agent Native |
| 22 | > |
| 23 | > *"Late-CLI is mindblowing... I'm shocked that the token usage is so minimal, I keep expecting a big bill from DeepSeek's API."* — GitHub Discussions |
| 24 | > |
| 25 | > *"The same model feels smarter with Late."* — Reddit |
| 26 | > |
| 27 | > **Built with Late:** Late is primarily developed inside Late itself. |
| 28 | |
| 29 | <div align="center"> |
| 30 | <br/> |
| 31 | <img src="assets/late-subagent-handoff.png" alt="Late Orchestrator planning a multi-phase implementation and spawning the first subagent"> |
| 32 | <br/> |
| 33 | <i>Late Orchestrator forming a plan and spawning atomic subagents for surgical edits.</i> |
| 34 | <br/><br/> |
| 35 | </div> |
| 36 | |
| 37 | ## 10-Second Quickstart |
| 38 | |
| 39 | A single, statically compiled binary. Zero dependencies. No Python venvs, no NodeJS. |
| 40 | |
| 41 | ```bash |
| 42 | # Linux / macOS (Homebrew) |
| 43 | brew tap mlhher/late && brew install late |
| 44 | |
| 45 | # Universal Fallback (Linux / macOS / Windows WSL) |
| 46 | curl -sfL https://raw.githubusercontent.com/mlhher/late-cli/main/install.sh | bash |
| 47 | |
| 48 | # Run instantly in any project |
| 49 | cd your-project |
| 50 | late |
| 51 | ``` |
| 52 | |
| 53 | *(Arch Linux: `yay -S late-cli-bin` | [Manual Binaries (incl. native Windows)](https://github.com/mlhher/late-cli/releases))* |
| 54 | |
| 55 | ## The Architectural Bottleneck |
| 56 | |
| 57 | **The Problem:** Standard coding agents try to do everything inside a single, shared context window. Every compile error, lint failure, and even file write piles up in the KV cache. As the context fills with garbage, the model's intelligence actively degrades. You blame the model, but it's an architecture failure. |
| 58 | |
| 59 | **The Late Solution:** Late splits the brain. It enforces a strict boundary between planning and execution and actively compartmentalizes agents identities and objectives. |
| 60 | |
| 61 | ```text |
| 62 | [ User Prompt ] |
| 63 | │ |
| 64 | ▼ |
| 65 | ┌──────────────────────────────────────────────────────────────────┐ |
| 66 | │ MAIN ORCHESTRATOR (~1,000 Token System Prompt) │ |
| 67 | │ Always planning. Analyzes intent, maps layout, forms master plan.│ |
| 68 | │ Context window remains 100% pure (Signal Only). │ |
| 69 | └──────┬────────────────────────────────────────────────────┬──────┘ |
| 70 | │ (Spawns) │ (Spawns) |
| 71 | ▼ ▼ |
| 72 | ┌────────────────────────────────┐ ┌────────────────────────────────┐ |
| 73 | │ EPHEMERAL SUBAGENT: Coding │ │ EPHEMERAL SUBAGENT: Research │ |
| 74 | │ - Executes exact-match diffs │ │ - Scrapes & synthesizes data │ |
| 75 | │ - Absorbs lint/write/retry │ │ - Absorbs raw data bloat │ |
| 76 | └──────────────┬─────────────────┘ └────────────────┬───────────────┘ |
| 77 | │ │ |
| 78 | ▼ ▼ |
| 79 | [ CONTEXT DESTROYED ] [ CONTEXT DESTROYED ] |
| 80 | │ |