Localix CLI (llx)

A sub-4 MB Rust coding agent for terminal, editor and CI that runs on any model.

Stars
★ 371
Last updated
today
FARS reviewed
Dec 03, 2026
License
MIT
Primary language
Rust

At a glance

Works with
Universal · cross-platformChatGPT · Claude APIClaude Code (Partial support)
You'll need
Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
A developer with a red test suite wants the agent to reproduce the failure, patch the code and show the diff, with /rewind available if the fix goes wrong.
Main limitation
Only macOS and Linux builds are documented; there is no native Windows path in the repository.
Website
cli.localix.ai ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-03
Source review
61/100 · Some gaps

What does this agent do, and when should you use it?

Localix CLI is a single Rust binary (under 4 MB) that puts a coding agent in your terminal, your editor and your CI pipeline; the command is llx and the supported platforms are macOS and Linux. The agent is a model in a loop over five tools — bash, apply_patch, ask, agents and jobs — so it reads, greps and runs your checks through the shell and edits files with patches. The interactive surface is a terminal session whose finished output lands in the terminal's own scrollback; every run is saved as a session that llx -c, llx sessions and llx resume ID can pick up again. Model access is deliberately open: a ChatGPT sign-in, OpenRouter, a key for any of 200+ providers, or a local model on Ollama or LM Studio. Commands run in the system sandbox by default, writing only inside the project (never its .git) with no network, and asking first for anything wider. Beyond the terminal, llx acp speaks ACP v1/v2 directly to editors such as Zed and VS Code, and llx exec runs one bounded task on any shell runner, returning a JSON-Schema-shaped answer plus an exit code. Plugins follow the Agent Plugins 1.1.0 format (skills, stdio MCP servers, hooks), and the code is MIT licensed.

On launch, llx opens a session in the current project, reads project files and instructions, calls the model, and lands each model action as one of five tools. bash reads files, searches, runs tests and project tooling, and carries an mcp action that reaches a plugin's stdio MCP servers; apply_patch changes files as patches; ask puts a question back to you; agents starts child agents (shown as child sessions inside an ACP client); jobs handles background work. Every command runs inside the system sandbox by default — writes only inside the project, never its .git, no network — and anything wider has to be approved, with Shift+Tab cycling default → plan (read-only) → bypass → your own modes. Sessions persist: llx -c continues the newest one in this directory, llx sessions lists them, llx resume ID opens one, and slash commands such as /diff, /rewind, /copy and /usage cover review and accounting. llx exec collapses the same agent into a single task, emits an answer shaped by an optional JSON Schema, and exits with 0 (done), 1 (no data), 2 (out of turns, time or budget) or 3 (error); --json exposes the event stream. llx acp negotiates ACP v1 or v2 with an editor, reusing the editor's workspace and the normal llx permissions. Plugins load from --plugin-dir or a plugins list in ~/.config/llx/settings.json, with skills exposed as commands, MCP servers started lazily with PLUGIN_ROOT and PLUGIN_DATA set, and SessionStart, UserPromptSubmit, PreToolUse, PostToolUse and Stop hooks.

  1. A developer with a red test suite wants the agent to reproduce the failure, patch the code and show the diff, with /rewind available if the fix goes wrong.
  2. A team wants automated pull request review in GitHub Actions: grant gh and git, require the agent to reproduce a problem before reporting it, then post from a second job.
  3. A pipeline needs machine-readable output, so it runs llx exec with a schema and branches on exit codes 0/1/2/3 instead of parsing prose.
  4. An editor user configures llx acp as an external agent in Zed or the ACP Client extension in VS Code to chat with the agent inside the editor workspace.
  5. A script or another agent (Claude Code, Codex) shells out to llx exec or llx decide to offload helper work onto a cheaper model.
  6. A platform team ships an internal plugin folder with release skills, a stdio MCP server and PreToolUse hooks, loaded with --plugin-dir in sessions and in exec.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://raw.githubusercontent.com/localixai/localix-cli/main/scripts/install.sh | sh
Environment variables
OPENROUTER_API_KEY GH_TOKEN
Install notes cover
macOS · Linux

How do you install or deploy this agent?

On macOS or Linux, install with the official script (network access to GitHub required):

curl -fsSL https://raw.githubusercontent.com/localixai/localix-cli/main/scripts/install.sh | sh

If you installed with the script, update to the latest stable release with:

llx --update

Other routes (pinning a specific release and so on) are covered in docs/install.md; the repository's badge lists macOS and Linux only. Afterwards, check what is missing:

llx doctor

How do you use this agent?

Run it inside a project, sign in, and ask for something:

cd your-project
llx

Then type the slash command and the task in the session:

/login
the median test fails, fix it

/login accepts a ChatGPT sign-in, OpenRouter, or a key for any of 200+ providers; a local Ollama or LM Studio model needs none. /model lists every model you are signed in to.

Run one task non-interactively, optionally with a plugin folder:

llx exec --plugin-dir ./lint-policy "Fix the failing test"

Use it as a workflow step in CI (after actions/checkout, with a model key in the environment):

- uses: localixai/localix-cli@v0
  id: llx
  env:
    OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
    GH_TOKEN: ${{ github.token }}
    PR: ${{ github.event.pull_request.number }}
  with:
    model: anthropic/claude-haiku-5.5
    allow: bash
    schema: '{"type":"object","properties":{"summary":{"type":"string"}},"required":["summary"]}'
    prompt: |
      Review pull request #$PR with gh and git. Run something to confirm a problem
      before you report it.

Wire it into an editor by pointing the client at this command (a custom external agent in Zed, an entry under acp.agents in the VS Code ACP Client extension):

llx acp

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Tiny delivery footprint: one Rust binary under 4 MB, installed by a single curl script, with no Node runtime and no daemon required.
  • No model lock-in: ChatGPT sign-in, OpenRouter, a key for any of 200+ providers, or a local Ollama/LM Studio model, all listed by /model once signed in.
  • Sandboxed by default: commands write only inside the project (never .git) with no network, wider access needs approval, and plan mode gives a read-only pass before you commit.
  • One binary covers three surfaces — interactive session, llx acp for editors, llx exec for CI — and exec supports JSON Schema output plus exit codes 0/1/2/3 for pipeline branching.
  • The Claude Code comparison is backed by committed evidence: benchmark/ holds each run's logs, code and test output, including slower runs, and can be repeated with bun benchmark/run.ts.
  • Plugins follow the Agent Plugins 1.1.0 spec with skills, lazily started stdio MCP servers and six documented hooks; non-conforming plugins are skipped and reported rather than breaking the run.
Limitations
  • Only macOS and Linux builds are documented; there is no native Windows path in the repository.
  • You pay for the model: the MIT software is free but the common path is an OpenRouter or provider key billed per use, so running locally on Ollama/LM Studio is the only free-inference route.
  • The default sandbox blocks writes outside the project and all network access, so tasks spanning several repositories or installing dependencies need approvals or a bypass mode.
  • The benchmark against Claude Code is one run per agent on one machine, and the README itself calls it a measurement rather than a law.
  • Editor integration depends on ACP support in the client (documented for Zed and the VS Code ACP Client extension); other editors are not covered.
  • CI adoption requires understanding the two-job pattern and token scoping, and the worked examples are GitHub-centric even though GitLab is mentioned in the docs.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Localix CLI (llx) This agent 61 · Some gaps — ★ 371 today Rust ChatGPT · Claude API
Codex CLI 62 · Some gaps CLIFreemium ★ 137k today Rust —
DeepTide - AI Coding Agent by DeepSeek 55 · Major gaps CLIFree + model costs ★ 1.1k 3mo ago Rust OpenAI API · Claude API
agnix Config Linter 79 · Good CLIFree ★ 508 1d ago Rust Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
61/ 100 5-point scale 3.1 / 5
Trust 18/29
Reliability 8/14
Adaptability 10/18
Convention 12/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

Evidence shows default sandboxing (Seatbelt/Landlock), an approval gate, modes (default/plan/bypass), 0600 key files, provider-key env isolation, and patches confined to the workspace. Deductions: bypass mode runs without confirmation; Linux sandbox before ABI 6 cannot block signals or key reads; source_attribution is thin, mentioning only build tools and benchmark logs without clear code provenance.

Reliability8 / 14 · 2.9/5

Architecture rules (L1-L10) are enforced by tests, CI matches local checks, and dependencies are pinned to versions or commits. Deduction: failure-message design evidence is limited to exit-code contracts and an error module; no user-facing failure message examples or tests are shown.

Adaptability10 / 18 · 2.8/5

README and docs cover terminal, editor (ACP), CI, and other-agent scenarios; the tool set is fixed at five, plugins add no tools, and boundaries are clear; environment fit covers macOS/Linux with sandbox differences. Deduction: trigger precision (when the model calls tools) lacks explicit description or test evidence.

Convention12 / 18 · 3.3/5

Documentation is well-structured (README, docs/, ARCHITECTURE.md, LAYOUT.md); install notes are detailed; naming is stable (llx, commands); examples are plentiful; SECURITY.md lists known limitations; MIT license is clear; CHANGELOG.md exists. Deduction: maintenance responsibility is only 'a small lab', with no named maintainer or support commitment.

Effectiveness9 / 13 · 3.5/5

Output is usable: terminal rendering, JSON events, schema output; benchmarks show speed and cost advantages; marginal value lies in lightweight, multi-model, sandboxed design. Deductions: benchmarks are single runs without statistical significance; cost-benefit depends on external model pricing.

Verifiability4 / 8 · 2.5/5

Claims are supported by benchmark logs, docs, and code structure; multiple sources (README, docs, SECURITY.md) corroborate. Deduction: fact-inference separation is weak; some performance claims are not marked as single measurements, and inferential statements (e.g., 'faster') lack strict qualification.

Risks and how to mitigate them
  • Bypass mode (--yes) runs commands and patches without confirmation; use only in a container or throwaway environment.
  • On Linux before ABI 6, the sandbox cannot prevent commands from signaling other processes or reading key files.
  • Publisher identity is unverified and maintenance responsibility is unclear, so long-term support is uncertain.
  • Benchmarks are single runs; performance and cost advantages should be validated in your own context.
Evidence confidence: Low Reviewed Dec 03, 2026 Reviewed revision 7e91ceeee7f4
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/localix-cli.svg)](https://followagents.com/en/agents/localix-cli)
<a href="https://followagents.com/en/agents/localix-cli"><img src="https://followagents.com/badge/localix-cli.svg" alt="FARS review"></a>
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts