n00n is an opinionated experimental fork of maki: currently testing lossless TOON re-encoding of tool-call data, and ALMAS agent orchestration, and a strict clippy/no-unsafe re-write
cargo install --locked --git https://github.com/w0wl0lxd/n00n.git n00n --bins
cd your-project && n00nGit and smell tooling is built into the n00n executable.
With Nix: nix run github:w0wl0lxd/n00n
Or grab a binary from releases.
Type a prompt and press Enter — the agent reads, edits, searches, and runs code. n00n also has inline images! (for supported terminals)
Context efficiency first. n00n spends tokens on the work, not on repeating your codebase back
to the model. The index tool uses tree-sitter to produce a compact skeleton (imports, type defs,
function signatures with exact line ranges) — the model reads structure first and only the lines it
needs.
Native Rust TUI. No JavaScript runtime, no Electron, no 500 MB install. Immediate startup, smooth at 60 FPS, light on memory. Even the splash animation uses SIMD.
You stay in control. Token counts, costs, and requested permissions are shown, not buried behind "the model got smarter."
index— tree-sitter parses supported languages into a compact skeleton, so the model reads structure first and only the lines it needs. Saves ~165 tok/turn on reads.code_execution— sandboxed interpreter (monty) that exposes every other tool as an async function. The model filters, summarizes, and pipes data inside the sandbox; intermediate results never reach your context window. Bounded by time and memory.tooned— lossless conversion of JSON-shaped tool data to TOON when it is smaller, cutting token usage on structured payloads (API responses, config files, DB rows).toon-lsp— interact with TOON-compatible data at a symbol level via toon-lsp.task— subagents pick a model tier (weak / medium / strong) per job, like haiku / sonnet / opus.team— ALMAS-based team workflow for sub-agent loop engineering.- Concise system prompt, tool descriptions, and examples — tuned to avoid bloating context.
- Optional rtk integration to compress bash output (~50% savings).
Disable with
--no-rtk.
- Fast, native TUI with ratatui. No JS; even the splash animation uses SIMD.
- Neovim-like Lua plugins — bring your own or use the builtins. See the Lua API reference.
- Nothing hidden — token count, cost, and requested permissions are shown, not buried.
- Sensible permissions — when the agent runs
git diff && rm -rf /, tree-sitter parses the bash and understands the real commands aregit *andrm *, not a singlegit *. Disable with--yolo. - SSRF protection on
webfetchcalls. memorytool for long-term context, managed via/memory.- Subagent visibility — each subagent gets its own chat window, switch with
/tasks(Ctrl-X) or Ctrl-N/P. - Fuzzy search (Ctrl-F),
/btwto run a command with chat history, rewind on Escape-Escape, image attachments, 26 themes, session resume. - Skills & MCPs, plan mode,
!/!!bash,/cd. --print --output-format stream-jsonfor headless use; output is Claude Code-compatible.
| Provider | Auth | Notes |
|---|---|---|
| Anthropic | ANTHROPIC_API_KEY |
OAuth is against TOS. Bedrock via CLAUDE_CODE_USE_BEDROCK=1 |
| OpenAI | OPENAI_API_KEY or n00n auth login openai |
OAuth supported |
GEMINI_API_KEY |
||
| Devin | DEVIN_API_KEY, WINDSURF_API_KEY, or n00n auth login devin@<account> |
Named accounts use lowercase slug IDs in devin/<account>::<model> |
| Copilot | GH_COPILOT_TOKEN or ~/.config/github-copilot/ |
Existing GitHub Copilot sign-in |
| Ollama | OLLAMA_HOST |
Local: http://localhost:11434. Cloud: OLLAMA_API_KEY |
| llama.cpp | LLAMA_CPP_HOST |
e.g. http://localhost:8080. Optional LLAMA_CPP_API_KEY |
| Mistral | MISTRAL_API_KEY |
|
| Z.AI | ZHIPU_API_KEY |
|
| DeepSeek | DEEPSEEK_API_KEY |
|
| OpenRouter | OPENROUTER_API_KEY |
|
| Synthetic | SYNTHETIC_API_KEY |
Dynamic providers — drop an executable script into ~/.config/n00n/providers/ to add custom
providers or proxies. See docs for details.
n00n reads per-project settings from .n00n/ in your project root:
.n00n/
├── init.lua # Overrides global config
├── permissions.toml # Permission rules
├── mcp.toml # MCP server config
└── commands/ # Custom slash commands (.md files)
AGENTS.md # Loaded into agent context automatically
AGENTS.local.md # Personal per-project instructions (gitignored)
n00n also recognizes CLAUDE.md, COPILOT.md, .cursorrules, CONVENTIONS.md, GEMINI.md,
and other instruction files (first match wins). Instruction files inside subdirectories are loaded
automatically when reading in that subdir.
Run n00n acp or configure your ACP-supporting editor:
Zed settings.json
"agent_servers": {
"n00n": {
"default_config_options": {
"model": "deepseek/deepseek-v4-flash"
},
"type": "custom",
"command": "n00n",
"args": ["acp"],
"env": {}
}
}See CONTRIBUTING.md for the workflow: pre-commit hooks, Conventional Commits,
the PR template, and changelog.d fragments.
DISCLAIMER: a large share of n00n's code was written by n00n itself, guided by humans. It is not as polished as fully hand-crafted code, but it is not slop or vibe-coded either. I think projects should be honest about their use of AI in this era.