harahara
CLI ReferenceCLI Reference

CLI Reference

Every hara command — run a task, plan, review, commit, schedule, and manage roles, skills, memory, and plugins.

Run hara with no arguments for the interactive REPL, or a subcommand for one-shot work. hara --help lists everything; hara <command> --help drills in.

Global options

These apply to most commands:

FlagDoes
-p, --print <prompt>run one prompt non-interactively (headless)
-y, --yesauto-approve every tool action (= --approval full-auto)
-m, --model <model>override the model for this run
--approval <mode>suggest · auto-edit · full-auto
--profile <name>use a named profile
-c, --continueresume the most recent session in this directory
--resume <id>resume a specific session
--sandbox <mode>off · workspace-write · read-only (macOS)

Core commands

CommandDoes
harainteractive REPL (see Interactive Mode)
hara setupfirst-run wizard: provider → endpoint → key → model
hara initanalyze the project and write/refresh AGENTS.md
hara doctorcheck provider, auth, model, roles, skills, memory, search, MCP…
hara -p "<task>"run a single task headlessly

Org & planning

CommandDoes
hara org <task>route a task to the role that owns it
hara org <task> --reviewloop a reviewer until the diff is clean (--rounds <n>, default 3)
hara org <task> --review --commitcommit with an AI message after approval
hara org <task> --role <id>force a specific role
hara plan [task]decompose into atoms, sequence as a DAG, verify each
hara plan --parallelrun independent atoms concurrently
hara plan resumecontinue a stopped plan

See The Org Model for how roles, review chains, and plans fit together.

Code: review & commit

CommandDoes
hara reviewreview uncommitted changes for bugs / security / missing tests
hara review --stagedreview only staged changes
hara review --base <ref>review against a base ref (e.g. main)
hara commitwrite a commit message from staged changes and commit
hara commit -astage all tracked changes first

Search & assets

CommandDoes
hara recall [query]search your code-asset library for snippets / playbooks (--init to scaffold)
hara indexbuild the semantic index — --repo (code search), --assets, or --all (needs an embedding provider)

Manage your org

CommandDoes
hara roleslist roles (hara roles init scaffolds implementer / reviewer / docs)
hara skillslist skills (hara skills init scaffolds one) — see Skills & Plugins
hara pluginlist plugins (add / remove / enable / disable)
hara memoryshow · init · distill — see Memory & Sessions
hara cronscheduled tasks — see Scheduled Tasks
hara configset · get · path — see Configuration
hara permissionsshow / scaffold bash command rules (--init, --project)

Sessions & integration

CommandDoes
hara sessionslist saved sessions
hara export [session]render a session to Markdown (--out <file>)
hara gatewayrun a chat gateway — see Channels & Gateway
hara mcprun hara as an MCP server (stdio) — expose read/search tools to other clients
hara completions <shell>print shell completions: bash · zsh · fish
hara login qwenQwen OAuth device login (free tier)
hara enroll [url] --code <c>join a fleet with an enrollment code
Was this helpful?
harahara
A product by Nanhara · Apache-2.0 · v0.139.0

© 2026 Nanhara Technologies