parmanu docs
A coding agent for small local models. parmanu makes a 9B model plan, run your checks, and ask for help instead of guessing. It talks to any OpenAI-compatible server (llama.cpp, LlamaForge, vLLM) and works in your project directory.
parmanu # the chat, in a terminal
parmanu "why does add() fail?" # the chat, starting with a message
anu -p "fix the failing test in src/add.ts" # one headless run, then exitGet started
- Install2 variables
npm picks the prebuilt anu binary for your platform: Windows, macOS or Linux (glibc or musl), x64 or arm64. The anu and parmanu commands both start it.
- Quickstart12 commands, 13 keys
Run anu in your project directory. parmanu treats the directory you start it in as the project: it reads, edits and runs commands there.
- Sessions8 commands
Every chat is a session in <repo>/.anu/runs/<id>/. anu -c continues the newest one, anu -r picks one (type to filter, Ctrl+R rename, Del moves it to the recycle bin), anu --session <id> opens one by id.
- Models and providers4 commands, 5 keys, 1 variable
Reference
- Command line1 variable
Every command and flag of anu (and parmanu, the same program). anu --help prints the short form. This page is written from src/cli-options.ts by bun run docs:cli.
- Settings4 commands, 6 keys, 47 variables
The chat and anu -p build their settings in this order. Later entries win.
In the chat
- Chat commands: rewind, memory, context and more10 commands, 2 variables
Small commands for working in the chat. /help lists them all.
- Permissions2 commands, 2 keys
In the chat, parmanu decides before every tool call whether it runs, asks you first, or is refused. It reads the same permissions settings Claude Code does, so a project set up for Claude Code behaves the same way in parmanu.
- Subagents and todos3 commands
In the chat the model has two more tools: task hands a job to a subagent, and todo_write keeps a task list you see above the input box.
- Web and notebook tools1 variable
The chat has four tools beyond files and the shell: web_fetch and web_search reach the web, and notebook_read and notebook_edit work on Jupyter notebooks. anu -p and --agent runs do not have them.
- Terminalread
ANU_TUI=inline keeps the chat on the terminal's main screen: older lines scroll into the terminal's own scrollback and stay there after you quit. Without it parmanu uses the alternate screen; the mouse wheel and PgUp/PgDn scroll (hold Shift to select text).
Without the chat
- Headless, JSON, RPC and the SDKread
parmanu runs without its screen in three ways: -p for one message, --mode rpc for a session another program drives, and the SDK for a session inside your own TypeScript program. All three build the same chat session as the screen: the same settings, permissions, hooks, extensions and MCP servers.
- Learned skills3 commands
parmanu learns from its own sessions in a project. Every session writes a ledger (.anu/runs/<id>/ledger.jsonl). anu learn reads those ledgers, finds what keeps happening, and writes it up as skills for you to review. No model is involved: the lessons come straight from the ledgers, and every one cites the ledger lines it came from.
Extend it
- Hooks1 command, 1 variable
The chat runs Claude Code hook commands. A hook is a shell command that parmanu runs at a set point. It gets a JSON event on stdin and answers with its exit code and output. anu run and anu eval never run hooks.
- Extensions2 commands
An extension is a TypeScript or JavaScript file that adds tools, slash commands and event handlers to the chat. parmanu runs it with Bun, so a .ts file needs no build step. anu run and anu eval never load extensions.
- Packages4 commands
A package bundles skills, prompt templates, extensions, themes and hooks so you can install them in one step. parmanu installs its own packages and Claude Code plugins, and reads Claude Code marketplaces.
- MCP servers1 command, 2 variables
parmanu's chat connects to MCP (Model Context Protocol) servers. It gives their tools to the model, runs their prompts as slash commands, and reads their resources into your messages.
Providers
- Bedrock and Azure2 commands
Hosted providers take a key (/login <provider>, or the provider's *_API_KEY variable). Two clouds sign in another way; give the provider an auth in ~/.anu/models.json (or a trusted project's .anu/models.json).