harahara
CLI ReferenceInteractive Mode

Interactive Mode

The hara REPL — slash commands, attaching files, steering a running task, and managing context.

Run hara with no arguments to open the REPL: a bottom-pinned input box, streaming output, and colored diffs. (HARA_TUI=0 falls back to a classic readline prompt.)

The chrome under the transcript is constant-height: a one-row status slot shows a spinner + the current step while a turn runs and key hints when idle, so the input box never jumps at turn boundaries. shift+tab swaps that same slot for a one-row mode picker (suggest → auto-edit → full-auto → plan — see Permissions for what each mode does, including plan mode's exit_plan handshake).

Steering & attaching

  • Type while it works. A message sent mid-turn reaches the model between tool calls and gets triaged: a refinement folds into the running task; a new task goes onto the todo queue (work continues); urgent input ("stop", "this first") makes it finish the current step safely and switch.
  • @path attaches a file's contents inline (Tab completes; @dir/ lists a directory).

Slash commands

Type / to see them. The essentials:

CommandDoes
/model [id]show or switch the model
/approval [mode]cycle or set approval (suggest · auto-edit · full-auto)
/tools · /usage · /contextlist tools · token usage · what's filling the window
/org <task> · /plan <task>dispatch to a role · plan & execute as atoms
/roles · /skills · /skill <id>list roles · list skills · load a skill into your next message
/diff [staged] · /review · /commitworking-tree diff · review for bugs/security · AI commit
/undorevert the last file change(s) this session
/rewind [n]fork the conversation back to an earlier turn (files unchanged)
/checkpoint [restore n]list / restore a file-state snapshot
/compactsummarize the conversation to free up context
/recall <query>pull snippets from your code-asset library into context
/sessions · /name <name>list saved sessions · rename this one
/vision <model>set a describer model so a text-only model can read images
/init · /doctorregenerate AGENTS.md · check setup
/reset · /exitclear context · leave

See Memory & Sessions for how /rewind, /checkpoint, and /compact relate to hara's persistence model.

Was this helpful?
harahara
A product by Nanhara · Apache-2.0 · v0.139.0

© 2026 Nanhara Technologies