2026-11-27 16:19 UTC

Maki offers a context-efficient, extensible terminal coding agent

state: expiredheat: mediumuncertainty: mediumrelevance: mediumcoding-agents agent-efficiency developer-toolstontinton

What is this?

Maki is an available, open-source terminal coding agent maintained by tontinton, written in Rust and designed to limit context-token use. Its GitHub project describes techniques including tree-sitter code indexing, filtering tool output through code execution, and choosing model strength for delegated subagents. It supports Lua plugins and many model providers, and can also run through the Agent Client Protocol. The maintainer reports a 70% pass rate and $2.06 per pass on FrontierHarness Eval for version 0.5.5; the supplied sources do not independently validate that result or establish how it compares under equivalent conditions.

Why it matters

Maki explores a practical lever for coding-agent cost and usability: spending fewer context tokens on repository reading and tool output, rather than relying only on stronger models. If its savings and benchmark results hold up in independent use, this could make agentic coding more affordable within usage limits. Its broad provider support and Lua extensibility also give developers more control over model choice and workflow customization. The evidence is primarily the maintainer’s project description and benchmark claim, so the scale of real-world gains remains uncertain.

Current assessment

The GitHub repository presents Maki as an installable, open-source Rust terminal coding agent maintained by tontinton. It describes tree-sitter indexing to expose code structure before reading implementations, an interpreter-based tool for processing tool output without placing all of it in the context window, and selectable model strength for subagents. It also advertises Lua plugins, integrations with numerous hosted and local model providers, and ACP support. The maintainer says Maki 0.5.5 achieved a 70% pass rate at $2.06 per pass on FrontierHarness Eval, linking a report and benchmark page; these are maintainer-reported figures, not independently corroborated in the supplied evidence. The project’s stated focus on token efficiency could matter to developers facing context or usage limits, but actual savings and comparisons depend on workload, model, and evaluation conditions. The supplied sources establish project availability and described features, not adoption or independently demonstrated performance.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

11-04 17:26 (minted)⭐ origin echo-reconstructedThe repository presents Maki as a coding agent optimized for context-token efficiency, with tools for indexing code, filtering tool output,
tontinton on github (echo) · attributed from hn.story.50368651 · published time unknown
—
11-04 17:19first on hacker news · published · lag ?Maki: An Efficient Coding Agent
handfuloflight
—
11-04 17:19amplified on hacker news 👑hn.story.50368651
handfuloflight
peak 2 · 1 comments · 99% of case engagement
11-04 17:21our radar first saw it · lag ?discovery anchor: hn.story.50368651—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnMaki: An Efficient Coding Agent
Retrieved article excerpt

Open article · Retrieved 2026-11-04T17:24:03.524950+00:00

An AI coding agent optimized for minimal use of context tokens, while providing a great user experience.

## Benchmarks

[Maki 0.5.5 at 70% pass rate and $2.06 per pass, against the FrontierHarness Eval baselines](https://github.com/tontinton/maki/blob/main/site/bench.svg)

[FrontierHarness Eval](https://frontierharness.org/) benchmark result, [click here to download report.zip](https://github.com/tontinton/maki/releases/download/v0.5.5/frontierharness-report-2026-09-21.zip)

## Features

### Context efficiency

- `index` tool - uses [tree-sitter](https://tree-sitter.github.io/tree-sitter) to parse supported programming languages to produce a high level skeleton of a file, with exact start-end lines of each item (e.g. a function's implementation is in lines 150-165). Encouraged to be used before reads. For my usage it adds 59 tok/turn but saves 224 tok/turn on read calls, saving 165 tok/turn.
- `code_execution` tool - uses [monty](https://github.com/pydantic/monty) to run an interpreter that has all other tools available as async functions. Maki uses it to filter / summarize / transform / pipe data to other tools as input, without it ever reaching and polluting the context window. Sandbox limited by time & memory.
- `task` tool - when delegating work to subagents, the AI chooses whether to run weak / medium / strong model of used provider. Think haiku / sonnet / opus.
- System prompt, tool descriptions, and tool examples are all concise, I've made sure not to bloat your context.
- Uses [rtk](https://github.com/rtk-ai/rtk) if you have it installed, disable with `maki.setup({ agent = { rtk = false } })` in your `init.lua`. Saves ~50% of bash output tokens. Remember bash is just 12% of total token usage, so 6% is nice, but saving on reads (65% of total) by using `index` gave me more benefit. I think I'll do bash output filtering like this myself in a future release.

### User experience

- SUPER fast startup, 60 FPS, and light on memory. Not running any JavaScript, using [ratatui](https://ratatui.rs) for TUI. Even the splash screen animation uses SIMD.
- Extend with neovim like Lua plugins - [Builtin plugins](https://github.com/tontinton/maki/tree/main/plugins), [User made plugins showcase](https://github.com/tontinton/maki/discussions/452), [Lua API reference](https://maki.sh/docs/lua-api/).
- Philosophy of not hiding anything - while other coding agents hide information as models improve (e.g. not showing number of lines read), maki leaves you in control.
- UI fits everything well on my small screen laptop.
- Full visibility of subagents - each subagent gets their own "chat window" you can easily navigate between using `/tasks` (Ctrl-X).
- Sensible permission system - when the agent runs `git diff && rm -rf /`, what do you think will happen in your current coding agent? It will treat it as `git *`. Maki uses tree-sitter to parse the bash command and figure out the permissions requested are `git *` and `rm *`. Disable using `--yolo`.
- SSRF protection on `webfetch` calls.
- A `memory` tool to keep long term context, just tell maki to remember something (sometimes it uses it automatically). Managed via `/memory` (view / edit / delete memories).
- Fuzzy search with Ctrl-F.
- `/btw` to run a command with the chat history without interfering with the current session.
- Rewind on Escape-Escape (no code rewind yet, only chat history).
- Attach images in prompts.
- 26 of the most popular themes.
- Resume sessions.
- Skills & MCPs.
- Opt-in [OpenTelemetry](https://maki.sh/docs/telemetry/) export, same format as Claude Code's.
- Plan mode.
- Run bash commands using `!`, or `!!` if you want maki to not know about it.
- `/cd` to change dir.
- Use `--print --output-format stream-json` to run UI-less. Output is compatible with Claude Code, so you can easily replace your existing solutions.

## Supported providers

- Anthropic - `ANTHROPIC_API_KEY` only (using OAuth is against TOS). Bedrock supported via `CLAUDE_CODE_USE_BEDROCK=1`.
- OpenAI - `OPENAI_API_KEY` and OAuth via `maki auth login openai`.
- xAI - `XAI_API_KEY` and OAuth via `maki auth login xai`.
- Google - `GEMINI_API_KEY`.
- Copilot - `GH_COPILOT_TOKEN` or an existing GitHub Copilot sign-in at `~/.config/github-copilot/`.
- Ollama - `OLLAMA_HOST` for local (e.g. `http://localhost:11434`), or `OLLAMA_API_KEY` for cloud.
- llama.cpp - `LLAMA_CPP_HOST` (e.g. `http://localhost:8080`), optionally `LLAMA_CPP_API_KEY`.
- Mistral - `MISTRAL_API_KEY`.
- Z.AI - `ZHIPU_API_KEY`.
- DeepSeek - `DEEPSEEK_API_KEY`.
- OpenRouter - `OPENROUTER_API_KEY`.
- Requesty - `REQUESTY_API_KEY`. Set `REQUESTY_BASE_URL=https://router.eu.requesty.ai/v1` for the EU region.
- Synthetic - `SYNTHETIC_API_KEY`.
- Regolo - `REGOLO_API_KEY`. EU-hosted open-weight models.
- TensorX - `TENSORX_API_KEY`.
- OpenCode Zen - `OPENCODE_API_KEY`, or the free `public` key for zero-cost models. Models from the models.dev catalog.
- OpenCode Go - `OPENCODE_API_KEY`. Models from the models.dev catalog.
- Aperture - `APERTURE_HOST` (e.g. `https://your-host.tailnet.ts.net`). No API key needed, Tailscale handles auth.

**Plugin providers** - a Lua plugin can register a provider with `maki.provider.register`, and its models behave like any built-in provider's. See [docs](https://maki.sh/docs/providers/#plugin-providers) for details.

## Installation

### Linux / macOS

```
# Download and read the script first (don't blindly trust shell scripts).
curl -fsSL https://maki.sh/install.sh -o install.sh
cat install.sh

# Then run.
chmod +x install.sh && sh install.sh
```

One-liner:

```
curl -fsSL https://maki.sh/install.sh | sh
```

Installs to `~/.local/bin`. Override with `MAKI_INSTALL_DIR`.

### Homebrew

```
brew install maki
```

### Windows (PowerShell)

```
# Download and read the script first (don't blindly trust remote scripts).
irm https://maki.sh/install.ps1 -OutFile install.ps1
Get-Content install.ps1

# Then run.
.\install.ps1
```

One-liner:

```
irm https://maki.sh/install.ps1 | iex
```

### Windows (Git Bash)

```
curl -fsSL https://maki.sh/install.sh | sh
```

Both install to `%LOCALAPPDATA%\maki` and add it to your user PATH. Override with `MAKI_INSTALL_DIR` / `$env:MAKI_INSTALL_DIR`.

### Living on the edge (main branch)

```
cargo install --locked --git https://github.com/tontinton/maki.git maki
```

### With Nix

```
nix run github:tontinton/maki
```

Or download a pre-built binary from [GitHub Releases](https://github.com/tontinton/maki/releases/latest).

## ACP

Run `maki acp` or configure your ACP supporting editor to use maki, e.g. in [Zed](https://zed.dev/)'s `settings.json`:

```
"agent_servers": {
  "Maki": {
    "default_config_options": {
      "model": "deepseek/deepseek-flash"
    },
    "type": "custom",
    "command": "maki",
    "args": ["acp"],
    "env": {}
  }
}
```

## Documentation

More info at the [official docs](https://maki.sh/docs).

## Community

[Discord](https://discord.gg/8VKuA4naC3)

## Example config

[tontinton/makiconf](https://github.com/tontinton/makiconf) - includes a [semble](https://github.com/MinishLab/semble) tool (Lua code) for semantic code search, and an [ast-grep](https://ast-grep.github.io) MCP server for AST-based search and replace.

> DISCLAIMER: >90% of code in maki was written by maki, guided by humans. Some parts of the code are not as good as what I would've made in the artisanal hand-made style. But it's also not slop / vibe coded, and can easily be refactored if needed nowadays.
handfuloflight21
🟧 echo.github ⭐The repository presents Maki as a coding agent optimized for context-token efficiency, with tools for indexing code, filtering tool output, tontinton——

Interpretation history

Decision trace