FREN
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

{
  "outputDir": ".",
  "defaults": {
    "agentA": "codex",
    "agentB": "claude",
    "summaryAgent": "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"
    }
  }
}

defaults

FieldTypeDescription
agentAstringAgent that responds first.
agentBstringAgent that responds second.
summaryAgentstringFinal summary agent.
turnsnumberTotal number of turns, between 1 and 20.

CLI agent

FieldTypeDescription
typecliAgent 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.

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.