百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

late-cli

> AI 编程
开源

停止降低模型的推理能力。一个最小化、零配置的 AI 编码代理。强制使用临时子代理,确保上下文的纯净性。从微小的本地模型到 Sol,

397 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

停止降低模型的推理能力。一个最小化、零配置的 AI 编码代理。强制使用临时子代理,确保上下文的纯净性。从微小的本地模型到 Sol,

Late

English | 简体中文

The AI agent that always stays sharp.

64k context window. 200k+ tokens of work.

Late isolates execution steps to keep your model's context clean during long workflows.

Drop it into any project. Works with any cloud provider or local model.

Outperforming Claude Code and Codex for Local LLM Workflows — Agent Native

"You solved local AI coding for me." — Reddit

"Late-CLI is mindblowing... it's a true hidden gem." — GitHub Discussions

"The same model feels smarter with Late." — Reddit

Built with Late: Late is primarily developed inside Late itself.

10-Second Quickstart

A single, statically compiled binary. Zero dependencies. No Python venvs, no Node.js.

bash
# Linux / macOS (Homebrew)
brew tap mlhher/late && brew install late
bash
# Universal Fallback (Linux / macOS / Windows WSL)
curl -sfL https://raw.githubusercontent.com/mlhher/late-cli/main/install.sh | bash
bash
# Launch interactively in any project
cd your-project
late

Manual Binaries: Linux, macOS, native Windows

Pre-release Notice: This README documents features in v2.0.0-rc.1 (pre-release). The latest stable release is v1.5.1. Binaries for both versions are available on GitHub Releases.

One binary. Zero configuration. If llama-server is already running, Late finds it automatically.

Read the Quickstart Guide for setup details on persistent settings, fully autonomous containerized workflows, MCP and Skills setup, Git worktrees, keybindings, and more.

The Architectural Bottleneck

The Problem: Standard coding agents still let the primary agent directly absorb codebase scans, compiler errors, file reads, failed diffs, and retries into one growing trajectory. As that execution noise accumulates in the KV cache, model reasoning quality degrades severely. You blame the model, but it's an architectural failure.

1. The 40% Collapse: Long-context LLMs suffer up to a ~45% collapse in reasoning accuracy once context utilization crosses 40–50%, even when all tokens are technically relevant (Weiwei Wang et al., arXiv 2026: Intelligence Degradation in Long-Context LLMs).

2. The Overthinking Tax: Reasoning models waste 27%–51% of their trajectory on redundant self-reflection loops ("Wait...", "Hmm") without accuracy gains (Chenlong Wang et al., EMNLP 2025: Wait, We Don't Need to "Wait"! Removing Thinking Tokens Improves Reasoning Efficiency).

The Late Solution: Late splits the brain and treats central context as the scarce resource:

  1. Architecturally Enforced Isolation: The Lead Orchestrator strictly plans and verifies. It spawns ephemeral Coder and Researcher subagents into isolated contexts. Once a subagent finishes its atomic task, its noisy scratchpad is wiped. Only structured, high-signal diagnostics return to the Lead Architect.
  2. Disposable Test-Time Compute: Workers can spend far more aggregate inference than would ever fit cleanly into one useful reasoning trajectory. Late trades cheap compute for a bounded, high-signal orchestrator context.
  3. Empirical Logit Biasing: Late implements real-time logit biasing for llama.cpp/llama-server. It suppresses redundant thinking tokens on the fly, reclaiming wasted CoT compute while leaving room for useful reasoning (varies by model).
  4. Physical Tool Registry Pruning: The Orchestrator has no file-writing tools, has repo-mutating bash commands blocked, and cannot bypass delegation. Subagents have no orchestration tools and cannot recursively spawn agents.

See the Feature Matrix and FAQ for a direct comparison and real world examples.

The orchestrator’s context grows primarily from what actually matters: your instructions, plans, and verifiable results—not every grep, compiler trace, failed edit, and discarded hypothesis used to get there.

A model with a 64k context window is no longer limited to a 64k task. The cumulative job can grow into hundreds of thousands of tokens while the orchestrator stays inside its useful context budget, delegating fresh work instead of carrying the entire execution history forward.

The same model feels smarter in Late because the architecture protects the context in which its important decisions are made.


The Feature Matrix

Late Standard Monolithic Agents
Workflow Autonomous orchestration: Always Planning Manual Build / Plan mode switching
Implementations Strictly enforced ephemeral coder subagents (Wiped) Delegation optional or mixed with primary-context execution
Explorations Strictly enforced ephemeral researcher subagents (Wiped) Exploration may still accumulate in the primary trajectory
Tool Enforcement Physical tool namespace pruning (Hard boundaries) Commonly policy/prompt driven
KV-Cache Ruthless KV-cache preservation (Deterministic prefixes) Brute-force dumping & cache-busting mode switches
Logit Biasing Native EMNLP 2025 token suppression (Culls CoT bloat) None (Full overthinking tax paid on every turn)
Startup Time Instant (<10ms native Go, feels like htop) 1s–3s+ (Node.js / Python runtimes)
System Prompt ~1,000 tokens (Lean & focused) 3,000–10,000+ tokens (From No-Workflow to Over-Constrained Bloat)
Sandboxing Native rootless devcontainers (late-podman) No equivalent built-in workflow
Setup Required None (Automatic llama-server on :8080) Requires provider/config setup
Telemetry None Telemetry by default

If Late makes your model feel smarter, give it a ⭐ on GitHub


FAQ

Why not conventional agents that can just edit the repository directly?

Because optional delegation is not the same thing as an architectural boundary. If the primary agent can keep reading files, executing commands, editing code, retrying patches, and absorbing tool output directly, its central trajectory still grows with the work.

Late makes that impossible. The orchestrator plans and verifies; isolated workers execute. This structural discipline ensures the model doesn't get dragged down in execution noise and converge on a partial solution. Late keeps decomposing the task in clean environments until all objectives are closed.

Don't other tools already have subagents?

Many modern tools have subagents. The distinction is enforcement: in Late, workers are not an optional side-path that the primary agent may bypass. Late architecturally enforces isolation:

  • Forced Plan-First Decomposition: Tasks are decomposed into atomic, verifiable steps before code is touched.
  • Actionable Diagnostic Reporting: Subagents return structured, high-signal reports rather than lossy summaries, letting the orchestrator do what it's best at: Planning (and nothing else).
  • Tool Registry Pruning: The Orchestrator literally has no file-writing tools and cannot make hasty edits. Subagents have no orchestration tools and cannot spawn recursive agents.

Can this workflow not just be rebuilt with plugins?

The underlying orchestration loop of agents not written with the specific architecture in mind isn't built to enforce isolation, even if you write plugins or extensions to try and add it. Instead of just offering subagents, Late architecturally enforces them. The orchestrator is physically incapable of making file edits (whether through tools or Bash), and workers are architecturally separated from orchestration. You can't replicate that structural discipline with a third-party plugin.

Can small or quantized local models actually handle complex, real-world tasks?

Yes. This is specifically what Late was made for.

Repeated local testing with 35B-A3B models at 3-bit quantization running via llama-server has shown a consistent qualitative pattern: Late can spend far more aggregate inference than the orchestrator itself ever has to retain.

In one representative run, the agents collectively executed 200,000+ tokens while the orchestrator stayed below 64k tokens. The model autonomously resolved an interwoven 6-file merge conflict with cross-file refactors, duplicated logic, and subtle regressions, compiled cleanly, and passed all tests inside a disposable late-podman container. The same model repeatedly failed on the same task in monolithic harnesses as its working trajectory grew.

This is the practical reason Late targets local models: it turns context capacity into a compute problem. If inference is local or cheap, you can spend more worker compute instead of asking one increasingly polluted context to remember everything. In local testing, that has enabled smaller models to keep working on tasks far larger and longer-lived than their useful single-trajectory context would normally permit.

Doesn't this create a "telephone game" where information gets lost between agents?

No. In real-world tests, the exact opposite is true.

The subagents are explicitly instructed to return concise summaries of what they did, what worked, what changed from the original plan, and which architectural assumptions may have been wrong. This lets the orchestrator focus on the important failures and pivot quickly, instead of inheriting every file read, git operation, test result, lint error, and build log produced along the way.

In testing, models like Qwen3.6-35B-A3B and its finetunes return structured summaries that let the orchestrator immediately adjust its trajectory without inheriting the worker's entire reasoning history. This keeps the central context focused on the overall architecture and lets Late spend substantially more disposable worker compute without degrading the context making the important decisions.

The model didn't change. The architecture did.

What else does Late do besides subagents?

Late is engineered as an end-to-end harness:

  • Full Plugin System: Install plugins from the default registry, npm, Git repositories, or local directories with full support for custom skills, slash commands, themes, and lifecycle hooks, in any language.
  • Sub-10ms Startup: Native Go binary with zero runtime dependencies. It launches instantly like htop or nvim, avoiding the sluggish startup latency and RAM footprint of Node.js or Python.
  • Active Cognitive Anchoring: Instead of leaving the model to blindly guess tool semantics, Late injects targeted contextual cues and sentinel feedback when relevant—freeing model compute from tool mechanics so it can focus purely on solving your code.
  • Zero Prompt-Reprocessing: Unlike tools that manually toggle between "Plan" and "Build" modes (invalidating prompt caches and driving up latency/costs), Late maintains deterministic, cache-stable prompt prefixes.
  • Surgical Scoping Over AST Bloat: Instead of dumping thousands of static AST tokens into the prompt on every turn, Late's orchestrator provides precise line ranges and instructions directly to the subagent.

Does Late work with local models?

Zero config. Point llama-server at any GGUF and Late connects on :8080 automatically.


Model Connectivity

Late is completely model-agnostic.

Local Models (Zero Config): No configuration required. Late targets llama.cpp on port :8080 (the default for llama-server).

Cloud Providers (DeepSeek, Claude, GPT, Kimi, GLM, OpenRouter):

bash
export OPENAI_BASE_URL="your-api-url"
export OPENAI_AP

Issues· 4 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Goagentai-agentai-coding-assistantai-skills

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.