FREN
Configuration

Advanced JSON

Edit the configuration JSON directly for advanced use cases and custom agents.

Most common settings can be done with palabre config. This page covers cases where you edit palabre.config.json directly.

Minimal structure

{
  "outputDir": ".",
  "defaults": {
    "agentA": "codex",
    "agentB": "claude",
    "summaryAgent": "claude",
    "turns": 4
  },
  "agents": {}
}

Main fields

FieldDescription
outputDirDestination folder for .debate.md exports.
defaults.agentAAgent that responds first by default.
defaults.agentBAgent that responds second by default.
defaults.summaryAgentAgent used for the final summary by default.
defaults.turnsTotal number of turns, between 1 and 20.
agentsList of available agents.

CLI agent

"claude": {
  "type": "cli",
  "command": "claude.exe",
  "args": ["--print", "--output-format", "text", "--no-session-persistence"],
  "promptMode": "stdin",
  "shell": false,
  "role": "reviewer"
}

Useful options:

OptionDescription
commandCommand to run.
argsArguments passed to the command.
promptModestdin or argument.
modelArgFlag used to pass a model.
modelDefault model for this agent.
shellUseful on Windows for certain npm or PowerShell wrappers.
roleAgent role.
timeoutMsGlobal timeout.
idleTimeoutMsTimeout if the CLI stays silent.

Ollama agent

"ollama-local": {
  "type": "ollama",
  "baseUrl": "http://localhost:11434",
  "model": "gemma4:e4b",
  "role": "critic",
  "validateModel": true,
  "unloadOtherModels": true
}

Useful options:

OptionDescription
modelOllama model used.
baseUrlOllama API URL.
validateModelVerifies that the model is installed.
autoPullModelAllows automatic download.
pullTimeoutMsDownload timeout.
unloadOtherModelsUnloads other models before generation.
keepAliveDuration to keep the model loaded.
temperatureResponse variation.