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
  },
  "agents": {
    "codex": {
      "type": "cli",
      "command": "codex",
      "args": ["exec", "--skip-git-repo-check", "--color", "never", "--sandbox", "read-only", "-"],
      "promptMode": "stdin",
      "shell": true,
      "role": "implementer"
    },
    "claude": {
      "type": "cli",
      "command": "claude.exe",
      "args": ["--print", "--output-format", "text", "--no-session-persistence"],
      "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 and .ask.md files.

defaults

FieldTypeDescription
modedebate or askDefault mode when no mode is provided.
agentAstringAgent that responds first.
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.

CLI agent

FieldTypeDescription
typecli or cli-ptyAgent type.
commandstringCommand to run.
argsstringArguments passed.
promptModestdin or argumentHow the prompt is passed.
shellbooleanRuns via the system shell.
rolestringAgent role.
modelstringOptional default model.
modelArgstringOptional model flag.
timeoutMsnumberGlobal timeout.
idleTimeoutMsnumberIdle timeout.
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.