Skip to main content

Terminal

After you run anda, the terminal UI connects to the local daemon. When a conversation completes successfully, it is submitted to Brain in the background for long-term memory formation.

Input Controls​

KeyAction
EnterSend the current message
Shift+Enter / Ctrl+JInsert a newline
Ctrl+UClear the input box
Ctrl+A / Ctrl+EMove to the beginning or end of input
EscView status
Ctrl+CExit

Input preserves spaces in text and code. Cursor movement and deletion treat combined emoji as one character. Status checks, conversation polling and Brain requests run in the background, so slow responses leave the UI responsive and Ctrl+C available. Opening the UI preserves existing terminal scrollback. /new clears the screen and scrollback for the new conversation. Reconnecting keeps your draft, and replaces the transcript only when it restores an active conversation. In a terminal that implements the Program Status Protocol (OSC 7501), the tab or session list shows whether Anda is working, waiting for your approval, answer or sign-in, done, or failed; other terminals ignore it.

After editing model providers in ~/.anda/config.yaml, refresh models from Anda Desktop or the browser side panel, or run:

anda models reload

After changing daemon settings that still require a restart, type:

/reload

Slash Commands​

CommandWhen to use it
/goal messagePut a goal into the long-horizon loop until the checker decides it is complete or needs more work.
/loop messageRun a prompt or slash command repeatedly. Describe an interval in natural language if desired, or omit it to let the model self-pace.
/side message or /btw messageStart a side task for research, inspection, or work that should not interrupt the main conversation.
/skill skill-name messageAsk a specific runtime skill to handle the request.
/steer messageInterrupt the next tool call and steer the current response with new instructions.
/stop messageInterrupt the current task, cancel its background work and pending approvals, and clear the active goal. Keep the conversation idle for the next message; an optional message gives the reason.
/cancel messageCancel the active conversation session; the message can include a reason.

Examples:

/goal Finish this release checklist until tests and the changelog are confirmed.
/loop every 5 minutes /side Check the deploy queue and summarize blockers.
/side Check whether this dependency upgrade has compatibility risk.
/skill git-assistant Draft a commit message from the current diff.
/steer Stop refactoring and only fix the build error first.

Command Approvals​

Risky shell commands and MCP server connections raise an approval card before they run.

SituationHow to answer
Input box emptyPress y to approve, n to deny.
Input box has textType y/yes or n/no and press Enter, or press Ctrl+U to clear the input and use the single-key shortcuts again.

The footer always shows which of the two is currently active. An unanswered card expires after 10 minutes, and the tool call then fails.

Approval cards show the full command, details and choices, wrapping to the terminal width. Status changes append a result to the transcript. Submission errors take priority over shortcut help; a failed text-choice submission keeps the draft for editing and retrying.

Cron jobs and autonomous goal mode (/goal ...) always run with full access, because nobody is present to answer a card and the task would otherwise stall until the card expires.

Common CLI Commands​

CommandPurpose
andaOpen the interactive terminal UI.
anda --full-accessOpen the terminal UI with shell and MCP approval cards disabled for that session.
anda updateUpdate a release installed by the install script.
anda statusShow whether the background daemon is running.
anda startStart the background daemon.
anda stopStop the background daemon.
anda restartRestart the background daemon.
anda models reloadReload model providers from config.yaml without restarting the daemon.
anda mcp listList MCP servers with their status, tools and last error; anda mcp --help shows how to add, change and sign in to them.
anda autostart statusShow whether login autostart is registered.
anda agent run --prompt "..."Send one request and wait for the complete result without opening the UI.
anda voice --record-secs 8Start voice input; requires transcription configuration.

Voice playback also requires tts.enabled: true and an audio player on PATH (ffplay, macOS afplay, or SoX play), checked before the first recording. If you only want spoken input and text output, add --no-playback. A failed turn is reported and the next recording starts.

Provide exactly one of --prompt and --prompt-file. --wait-timeout-secs 120 bounds submission and completion polling together; 0 (the default) disables the overall timeout. A timeout stops the CLI wait, while the daemon task may continue.

Voice mode waits for the current answer to finish before recording the next turn. Ctrl-C also stops synthesis and playback.

anda update and anda update --skills keep a newer local version and its bundled artifacts. Use --force to explicitly install the latest release even if it is older.

Read the inbox with anda memory inbox. Follow the printed anda memory inbox --cursor <next_cursor> command for another page. With --json, the cursor is in result.next_cursor.