FR
Reference

Command reference

Reference for commands and options available in the Palabre CLI.

This page lists the main Palabre commands.

Startup commands

CommandDescription
palabreOpens the TUI home screen, creates the global configuration on first launch, and refreshes detected known agents.
palabre initExplicitly creates the global configuration and detects agents.
palabre init --localCreates a configuration in the current folder.
palabre doctorDisplays a diagnostic by sections: configuration, local tools, agents, and items to check.
palabre agentsLists declared agents and their local detection.
palabre -aShortcut for palabre agents.
palabre history, palabre historiqueLists recent Palabre Markdown exports.
palabre context scan --jsonPreviews the project context Palabre would retain.

Configuration

The TUI home screen performs the same conservative known-agent synchronization as palabre config --sync-agents: it adds newly detected known agents and refreshes known command names while preserving custom agents and user defaults.

CommandDescription
palabre configOpens the configuration assistant.
palabre config --set-defaults codex claudeSets the default agents.
palabre config -t 4Sets the default number of turns.
palabre config --summary-agent claudeSets the default summary agent.
palabre config --summary-agent noneRemoves the default summary agent.
palabre config --ask-summary-agent opencodeSets the default summary agent for ask mode.
palabre config --mode askSets the default mode (debate or ask).
palabre config --ask-agents codex claude opencodeSets the default ask agents, 4 maximum.
palabre config --interface tuiSets the default interface (tui or terminal).
palabre config --language enSets the Palabre and agent prompt language.
palabre config --clear-defaultsRemoves default settings.
palabre config --sync-agentsAdds missing detected agents and refreshes known commands.
palabre config --ollama-models --jsonLists installed Ollama models and the configured model status.
palabre config --set-ollama-model <model>Sets the model for the ollama-local agent.
palabre config --sync-ollama-modelReplaces the configured Ollama model if it is no longer installed.

Debates

CommandDescription
palabre newOpens the guided assistant for a debate or Ask request.
palabre -s "Subject" -t 4Launches with default agents.
palabre codex-claude "Subject" -t 4Launches with a preset.
palabre run --subject "Subject" --agent-a codex --agent-b claudeLaunches with explicit agents.
palabre ask "Subject" --agents codex claudeRuns a request with independent responses.

TUI Commands

These commands are available from the TUI home screen or from /config depending on context.

CommandDescription
/askSwitches the TUI home screen to Ask mode.
/debatSwitches the TUI home screen to debate mode.
/agentsDisplays available agents or updates active agents when names are provided.
/rolesDisplays available roles or updates active roles when roles are provided.
/configOpens TUI settings.
/historyShows recent Markdown exports. Alias: /historique.
/ollamaDisplays the configured Ollama model and installed models from /config.
/ollama-model <model>Changes the configured ollama-local model from /config.
/ollama-syncReplaces the configured Ollama model with an installed model when the current one is missing.
/language fr, /language enChanges the language from /config. Alias: /lang.
/interface tui, /interface terminalChanges the default interface from /config.
/homeReturns to the TUI home screen. Alias: /back.
/quitExits the TUI.

Integrations

CommandDescription
palabre presets --jsonLists presets and their local availability.
palabre history --jsonLists recent Markdown exports as JSON v1.
palabre config --ollama-models --jsonReturns local Ollama state as JSON v1 for integrations.
palabre context scan [paths...] --jsonReturns the folders, files, and warnings from the --context scan as JSON v1.

General options

OptionDescription
-h, --helpDisplays help.
-v, --versionDisplays the version.
--config <path>Uses an explicit configuration file.
--language <fr|en>, --lang <fr|en>Forces the Palabre and agent prompt language for this command.
--tuiForces the TUI interface, even if configuration asks for terminal rendering.
--terminal, --no-tuiUses raw terminal rendering. Also useful with palabre doctor for logs.
--plainHistorical alias for --terminal.
--renderer <auto|pretty|plain|tui|ndjson>Selects the terminal or integration renderer. tui enables the full-terminal interface.

Debate options

OptionDescription
-s, --subject <text>Session subject.
--topic <text>Compatible alias for --subject.
--preset <name>Selects an agent pair.
--agent-a <name>First agent.
--agent-b <name>Second agent.
--mode <debate|ask>Selects the orchestration mode.
--agents <names...>Ask mode agents, 4 maximum.
-t, --turns <number>Total number of turns, between 1 and 20.
--no-early-stopDisables early stopping.
--model-a <model>Model passed to agent A.
--model-b <model>Model passed to agent B.
--pull-modelsAllows Ollama to download a missing model.
--summary-agent <name>Summary agent.
--summary-model <model>Summary model.
--no-summaryDisables the final summary.
--files <paths...>Injects specific files.
--context <paths...>Scans text files or folders.
--show-promptDisplays the first turn prompt without calling any agent.

Update

CommandDescription
palabre updateDisplays update instructions.
palabre update --applyApplies the update from a git checkout.