little-coder: Lightweight Local Coding Agent

A coding agent tuned for small local models, powered by a 30+ extension harness and benchmark suite, enabling laptops to run capable coding AI offline.

Stars
★ 2.7k
Last updated
2mo ago v1.20.0
FARS reviewed
Nov 08, 2026
License
Apache-2.0
Primary language
TypeScript

At a glance

How it runs
CLI
Works with
Portable with changes
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Node.js >=22.19Python 3 for benchmarksllama.cpp / Ollama / LM Studio for local modelsShell / CLINetwork accessLocal filesystem
Typical use
Local developers: Use Qwen3.6-35B-A3B for daily coding on a laptop without cloud dependencies, leveraging Plan Mode and automatic context management.
Not a fit if
  • Users who want a zero-config agent without running a local inference server
  • Machines without a GPU or with less than 8GB VRAM
  • Teams unwilling to depend on the pi framework
Maintenance
Commits in the last 6 monthslast commit 2026-09-18latest release v1.20.0 (2026-09-18)+0.9 ★/day over 7 days
Source review
72/100 · Some gaps

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

little-coder is an open-source coding agent built on pi that optimizes small local language models (e.g., Qwen3.6-35B-A3B). It does not fork pi; instead, it treats pi as a dependency and enhances it with over 30 TypeScript extensions under .pi/extensions/, 30 skill markdown files in skills/, and a Python benchmark harness in benchmarks/. Core mechanisms include read/write guards, skill injection, output parsing, quality monitoring, thinking budget, and permission gating, ensuring small models work efficiently and safely. It achieves impressive benchmark scores on Aider Polyglot, Terminal-Bench, and GAIA, all run on consumer laptops with 8GB VRAM. Installation is straightforward, supports multiple model providers, but is optimized for llama.cpp and Ollama local servers.

little-coder runs as a terminal-based interactive agent: it reads project files, uses built-in tools (Read/Write/Edit/Bash) to modify code and run commands, and spawns sub-agents for research and deep research. It includes a Plan Mode, sub-agent dispatch, prompt history, and session management. Benchmark drivers (e.g., benchmarks/aider_polyglot.py) start pi in RPC mode and run tasks. Its permission system uses a whitelist to restrict shell commands, enhancing safety. Extensions inject skills and knowledge per turn, monitor model output quality, and automatically compact context when needed.

  1. Local developers: Use Qwen3.6-35B-A3B for daily coding on a laptop without cloud dependencies, leveraging Plan Mode and automatic context management.
  2. Small teams: Maintain a local knowledge base (e.g., medical, athletic, educational) with many markdown files, using little-coder to read and update them in a token-efficient way.
  3. Benchmark enthusiasts: Researchers can use the built-in harness to evaluate small models on Aider Polyglot, Terminal-Bench 2.0, and GAIA, and submit results to leaderboards.
  4. Privacy-sensitive scenarios: Run fully offline with llama.cpp or Ollama to avoid sending code to the cloud.
  5. Multi-machine setups: Run inference on a GPU server and connect from a laptop over LAN using environment variables like LLAMACPP_BASE_URL.
  6. AI agent researchers: Developers can clone the repo to reproduce the paper results or study scaffold-model fit.

Key setup facts

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

Environment variables
LLAMACPP_API_KEY
Config files
~/.config/little-coder/models.json
Runtime
Node.js 22.19+

How do you install or deploy this agent?

Requires Node.js 22.19+. One-line install: curl -fsSL https://raw.githubusercontent.com/itayinbarr/little-coder/main/install.sh | bash, or via npm install -g little-coder or bun add -g little-coder. After installation, the little-coder command is available.

How do you use this agent?

In a project directory, run little-coder to launch with the default model (requires a local llama.cpp server at http://127.0.0.1:8888/v1), or specify a model with --model, e.g., little-coder --model anthropic/claude-haiku-4-5. Before using, set API key env vars (e.g., LLAMACPP_API_KEY=noop) for local providers. Interactive features: ctrl+q toggles Plan Mode, f2 triggers deep research, /resume lists sessions. Model configuration can be overridden via ~/.config/little-coder/models.json.

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.

What are this agent's strengths and limitations?

Pros
  • Optimized for small models, runs on 8GB VRAM laptops and outperforms larger cloud models on Aider Polyglot (45.56% vs baseline 19.11%).
  • Modular architecture: extensions and skills are independent and easily customizable.
  • Four-benchmark baseline (Aider Polyglot, Terminal-Bench, GAIA) with reproducible results.
  • Security: shell whitelist, write protection, and context management prevent accidental mistakes.
  • Supports multiple local servers (llama.cpp, Ollama, LM Studio) and cloud models, offering flexibility.
Limitations
  • Dependency on pi framework; extending requires learning pi's API.
  • Requires Node.js 22.19+ and Python for benchmarks; some technical overhead.
  • Default configuration targets Qwen3.6-35B-A3B; switching models may require tuning.
  • Local inference performance depends on hardware; slower without a good GPU.
  • Community-recommended models update frequently, but the official models.json does not track them.

How does this agent compare with similar options?

When compared to other coding agents like Aider, little-coder performs better on small models, but its architecture based on pi may appeal more to users familiar with pi.

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

Agent Source review Form / cost Stars Updated Language Full support on
little-coder: Lightweight Local Coding Agent This agent 72 · Some gaps CLIFree + model costs ★ 2.7k 2mo ago TypeScript —
Albatross 63 · Some gaps — ★ 246 2mo ago Rust ChatGPT · Codex · OpenAI API · Claude API
hax 66 · Some gaps CLIFree + model costs ★ 1k today C OpenAI API · Claude API
Forge: Reliability Layer for Self-Hosted LLM Tool Calling 77 · Good CLIFree + model costs ★ 2.3k 10d ago Python OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
72/ 100 5-point scale 3.6 / 5
Trust 16/29
Reliability 9/14
Adaptability 15/18
Convention 15/18
Effectiveness 12/13
Verifiability 5/8
Why each dimension lost points
Trust16 / 29 · 2.8/5

There is some least privilege: the README says ShellStart shares bash's allowlist, sub-coders are read-only by default, and children cannot dispatch further children. However, tools can write to the working project and run shell commands, and sub-coders can be granted write access by configuration. Plan mode asks questions and waits for approval before implementation, but ordinary tool actions have no demonstrated per-action confirmation gate, so confirmation scores 1. The README explains extension loading, model configuration, and sub-coder working directories; code shows settings and subprocess handling, but the sample does not cover every data path. Environment-based cloud API key configuration is shown, but storage, logging, and redaction safeguards for sensitive data are not established. Dependency version ranges, lockfile install-check CI, and local overrides show basic supply-chain controls; static evidence does not establish vulnerability monitoring. External effects—online research, cloud APIs, shell processes, and file edits—are partly documented and bounded by an allowlist, subprocess cleanup, and job limits. Evidence for undoing writes or general rollback is weak. The README points to pi, a research article, and issue records, while package metadata names an author; publisher identity is unverified, so credit is limited to these concrete attribution clues.

Reliability9 / 14 · 3.2/5

The main mechanisms described in the README broadly match the sampled extensions, including event-driven background job wakes and model profile loading. The README is truncated and the packet is sampled, so whole-project consistency cannot be fully checked. The pi dependency, minimum Node version, and local/cloud service prerequisites are documented; CI runs npm ci to check lockfile resolution, but static materials do not establish runtime availability or external service stability. Code ignores malformed settings with fallback behavior, records process spawn errors, and catches UI failures; user-facing failure messaging is not comprehensively demonstrated, so this scores 2.

Adaptability15 / 18 · 4.2/5

The product clearly targets coding with small local models while documenting cloud models, several local inference services, per-phase models, and research and planning scenarios. Capability boundaries have concrete examples: research children are read-only and use a scratch directory, sub-coders default to read-only, and extensions are disabled by default. The main agent still has broad file and shell capabilities that users must understand, so boundaries are not fully specified. Skill cards, plan/research shortcuts, and command allowlists constrain some triggers, while some tool selection remains model-driven. Node requirements, inference services, environment variables, paths, and LAN configuration are described in useful detail.

Convention15 / 18 · 4.2/5

The README is organized around installation, use, model configuration, extensions, and background jobs, with links to detailed guides and many configuration examples. Installation documentation covers the Node requirement, npm/bun options, and the bun runtime caveat. Naming is broadly consistent across package, extensions, and tools, but the sample offers limited evidence about release and maintenance history. Limitations include small-model setup requirements, default extension behavior, hardware-dependent model performance, and local vision prerequisites; a complete limitations inventory is unavailable. Both the LICENSE text and package metadata identify Apache-2.0. The package file list references a changelog, but its contents are not provided, so revision history cannot be assessed fully. Author and repository fields provide responsibility clues, but maintainer identity, response commitments, and update practices are not clear from the evidence.

Effectiveness12 / 13 · 4.6/5

The product defines usable outputs such as a plan in chat, a cited research report, background status, bounded log excerpts, and model listings; it also explains that an approved plan needs a separate implement command. The design choices around small-model context, skill cards, phase-specific models, and event-driven background jobs are closely tied to the stated purpose and show clear potential value. Installation and model setup are detailed, but users must provide Node, an inference server, model files, and credentials, so the cost-benefit depends on their environment. Static evidence cannot verify actual performance claims.

Verifiability5 / 8 · 3.1/5

The README ties several mechanisms to named extensions, configuration files, issue records, and a research article, and sampled code makes some settings and subprocess behavior traceable. However, many referenced files are absent from the sample and research results or performance figures are not fully verifiable from the supplied source. The README, package metadata, CI workflow, and code corroborate some claims about dependencies, version requirements, and installation, but not all product claims. Documentation often distinguishes setup facts, limitations, and some measured results, including hardware context; performance and quality conclusions cannot be comprehensively checked from the packet, so fact/inference separation scores 2.

Risks and how to mitigate them
  • The main agent can edit project files and run shell commands; check the working directory, bash allowlist, and sub-coder write-access setting before use.
  • Model performance and community results in the README are documented claims; this static review did not run the software or independently verify them.
  • The supplied README cuts off in the “Your project's AGENTS.md” section. Other files not included in the packet remain unknown.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 89d4fa0af864
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/little-coder.svg)](https://followagents.com/en/agents/little-coder)
<a href="https://followagents.com/en/agents/little-coder"><img src="https://followagents.com/badge/little-coder.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v1.20.0
    Release notes excerpt
    Fixed - A multi-line edit no longer deadlocks the run ([#127](https://github.com/itayinbarr/little-coder/issues/127) by [@brlucasdx](https://github.com/brlucasdx)). pi already recovers an edits argument sent as a JSON *string* instead of an array, and that recovery is a bare JSON.parse in a try. It fails on the single most common way a small local model writes one: raw newlines inside oldText/newText, which is what multi-line code *is*. JSON.parse throws Bad control character in string literal, the empty catch swallows it, edits stays a string, and schema validation …
    View on GitHub ↗
  2. v1.19.0
    Release notes excerpt
    Fixed - little-coder -p survives a compaction instead of losing the run ([#115](https://github.com/itayinbarr/little-coder/issues/115) by [@Or1j1n](https://github.com/Or1j1n)). v1.18.0 stopped the crash in #108 but not the thing it was a symptom of: under -p, a long task that the TUI completes exited Request aborted with code 1 and empty stdout. pi's compact() is the manual path and its first act is await this.abort(), and print-mode reads the run's verdict straight off the last message (if (stopReason === "error" || stopReason === "aborted")), so aborting the run discards …
    View on GitHub ↗
  3. v1.18.0
    Release notes excerpt
    Fixed - A compaction that settles after the session is gone no longer takes the process down ([#108](https://github.com/itayinbarr/little-coder/issues/108) by [@heinrichI](https://github.com/heinrichI)). The context watchdog reported its result through the ctx captured at the turn that fired the compaction, and pi invalidates the whole extension runtime on dispose(), so ctx.ui and pi.sendUserMessage() throw This extension ctx is stale after session replacement or reload from that point on. pi invokes the compaction callbacks from a floating void (async () => …)(), which tur …
    View on GitHub ↗

FAQ

Does little-coder require internet?
Not necessarily. It can run fully offline with local models (llama.cpp, Ollama), but network is needed for installation and updates.
Which models are supported?
Any OpenAI-compatible API, including local models (llama.cpp, Ollama, LM Studio) and cloud models (Anthropic, OpenAI). The default is Qwen3.6-35B-A3B, but you can specify with --model.
How do I add a new local model?
Edit ~/.config/little-coder/models.json to add a provider configuration, then select it with --model.
How does permission control work?
The default 'auto' mode allows only whitelisted commands (e.g., ls, cat, git status); others can be added via LITTLE_CODER_BASH_ALLOW. 'accept-all' mode is used for benchmarks and skips the whitelist.
What if I run into context overflow?
little-coder automatically compacts context when usage exceeds 80%, and you can adjust the threshold with LITTLE_CODER_COMPACT_AT_PERCENT. If compaction occurs often, consider using a model with a larger context window.
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