parmanu 0.4.14

Command line

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.

Commands

CommandWhat it does
parmanu ["<first message>"]the chat, in a terminal (anu starts it too)
anu -p "<task>"one headless agent run with your settings, then exit
anu --mode rpca chat session driven by JSON lines on stdin and stdout
anu run [options] "<task>"one agent run on a task; --agent for the append-only conversation
anu resume [run-id]continue an interrupted --agent run (the latest by default)
anu ledger [run-id]what a run did, step by step
anu configthe settings in effect, and the files they came from
anu config set [--project] <key> <value>set model, baseUrl or env.NAME, globally or for this project
anu trustread this repo's .anu models, skills, prompts, packages and system prompt from now on
anu docs [topic]read parmanu's documentation in the terminal
anu install <source> [-l]install a package or Claude Code plugin: a path, npm:<name>, a git repo, or plugin@marketplace
anu remove <name>remove a package
anu update [name]update one package, or all of them
anu listthe installed packages
anu marketplace add <source> | list | update [name] | remove <name>Claude Code plugin marketplaces
anu learn [show | approve <name> | reject <name>]skills learned from past sessions' ledgers, for you to approve
anu export <id|dir> [--html | --jsonl] [-o <file>]save a session as a web page or a JSONL export
anu import <file>import a JSONL export into this repo
anu libindex <command>index the libraries a project uses, so the model looks up real APIs (see anu libindex --help)
anu eval <command>run the benchmarks (see the eval docs)

The chat

FlagWhat it does
--model <id>the model to use (setting model, variable ANU_MODEL)
--base-url <url>the OpenAI-compatible server, default http://localhost:8080/v1
--thinking <level>how hard the model thinks: off, minimal, low, medium (default), high, xhigh, max
--no-context-filesdon't read AGENTS.md or CLAUDE.md into the system prompt
--system-prompt <text|file>replace the system prompt
--append-system-prompt <text|file>add to the end of the system prompt
-e, --extension <file>load an extension file for this session; repeat for more
--no-extensionsload no extensions, package extensions included
--no-hooksrun no Claude Code hooks, package hooks included
--mcp-config <file>MCP servers from this file, besides .mcp.json, .anu/mcp.json and ~/.anu/mcp.json; repeat for more
--strict-mcp-configuse only the servers from --mcp-config
--permission-mode <mode>when the chat asks before a tool runs: auto, default, acceptEdits, plan or bypassPermissions
--allowedTools <rules>allow rules for this session, such as "Bash(git *)"; repeat for more
--allowed-tools <rules>the same as --allowedTools
--disallowedTools <rules>deny rules for this session; repeat for more
--disallowed-tools <rules>the same as --disallowedTools

Without the chat screen

FlagWhat it does
--mode rpca chat session driven by JSON lines on stdin and stdout
-p, --printone message or task without the chat screen, then exit
--output-format <format>with -p, a chat message's output: text, json or stream-json
--include-partial-messageswith --output-format stream-json, also stream the text as it arrives

Sessions

FlagWhat it does
-c, --continuecontinue the newest session in this folder
-r, --resumepick a session to open
--session <id>open this session
--fork <id>copy this session and continue the copy
--no-sessiondon't save this session
--name <name>name the session
--session-dir <dir>keep sessions here instead of .anu/runs

Agent runs (anu run)

FlagWhat it does
--agentone append-only conversation, with a registered check, compaction and resume
--looseone free loop with every tool, instead of the foreman's phases
--headlessnobody to ask: the agent takes its own default and notes it (also when stdout isn't a terminal)
--jsonprint the result as JSON
--wall-min <n>stop after this many minutes (default 30)
--no-globaldon't load skills and packages from ~/.anu
--task-file <path>read the task from a file

Other

FlagWhat it does
--list-modelslist the models you can pick (the server's, models.json's, the providers'), filtered by an optional query
--htmlwith anu export, write a web page
--jsonlwith anu export, write a JSONL export
-o, --output <file>with anu export, the file to write
-v, --versionprint the version
-h, --helpprint the usage

Settings and environment variables are on the settings page.

This page is built from docs/cli.md in parmanu 0.4.14.