FR
Reference

Configuration file reference

Reference for the palabre.config.json format, agents, defaults, and advanced options.

This page serves as a quick reference for palabre.config.json.

For a step-by-step explanation, start with Configuration.

Full example

{
  "language": "en",
  "outputDir": ".palabre",
  "defaults": {
    "mode": "debate",
    "agentA": "codex",
    "agentB": "claude",
    "askAgents": ["codex", "claude"],
    "summaryAgent": "claude",
    "askSummaryAgent": "claude",
    "turns": 4,
    "interface": "tui"
  },
  "agents": {
    "codex": {
      "type": "cli",
      "command": "codex",
      "args": ["exec", "--skip-git-repo-check", "--color", "never", "--sandbox", "read-only"],
      "promptMode": "stdin",
      "role": "implementer"
    },
    "claude": {
      "type": "cli",
      "command": "claude.exe",
      "args": ["--print", "--output-format", "text", "--no-session-persistence", "--tools", "Read,Glob,Grep"],
      "promptMode": "stdin",
      "shell": false,
      "role": "reviewer"
    }
  }
}

Root

FieldTypeDescription
languagefr or enPalabre and agent prompt language. Can be overridden for one command with --language or PALABRE_LANGUAGE.
outputDirstringExport folder for .debate.md, .chat.md, and .ask.md files.

defaults

FieldTypeDescription
modedebate, chat, or askDefault mode when no mode is provided.
agentAstringAgent that responds first in Debate and is initially active in Chat.
agentBstringAgent that responds second.
askAgentsstringDefault ask mode agents, 4 maximum.
summaryAgentstringFinal summary agent for debate mode, and fallback for ask mode.
askSummaryAgentstringAsk-specific final summary agent.
turnsnumberTotal number of turns, between 1 and 20.
interfacetui or terminalDefault interface for interactive sessions.

CLI agent

FieldTypeDescription
typecli or cli-ptyAgent type.
commandstringCommand to run.
argsstringArguments passed.
promptModestdin or argumentHow the prompt is passed.
shellbooleanRuns through the system shell. Generated configuration only enables it for selected Windows wrappers.
rolestringAgent role.
modelstringOptional default model.
modelArgstringOptional model flag.
timeoutMsnumberGlobal timeout.
idleTimeoutMsnumberIdle timeout.
maxOutputBytesnumberMaximum combined stdout and stderr size, 50 MiB by default.
allowEmptyOutputbooleanExceptionally allows an empty CLI response.
cols / rowsnumberPseudo-terminal dimensions for cli-pty.

Ollama agent

FieldTypeDescription
typeollamaAgent type.
baseUrlstringOllama API URL.
modelstringLocal model.
rolestringAgent role.
validateModelbooleanVerifies that the model exists.
autoPullModelbooleanDownloads the model if missing.
pullTimeoutMsnumberDownload timeout.
unloadOtherModelsbooleanUnloads other models.
keepAlivestringDuration to keep the model loaded.
temperaturenumberResponse variation.
maxOutputBytesnumberMaximum size of each buffered HTTP response, 50 MiB by default.