Docs · Operate runs
tempergraph config
Resolved run settings and the settings files.
Usage#
tempergraph config [-h] {show,validate,paths} ...config show#
the settings a run of the workflow would get, and the layer each value comes from
tempergraph config show [-h] [--thread THREAD] [--key KEY] [--executor EXECUTOR] [--judge-executor JUDGE_EXECUTOR] [--model MODEL] [--judge-model JUDGE_MODEL] [--timeout TIMEOUT] [--judge-timeout JUDGE_TIMEOUT] [--idle IDLE] [--run-cost-cap RUN_COST_CAP] [--daily-cap DAILY_CAP] [--auto-reopen AUTO_REOPEN] [--audit-rate AUDIT_RATE] [--audit-executor AUDIT_EXECUTOR] [--step-executor STEP=NAME] [--step-model STEP=ALIAS] [--approve STEP] [--grant UNIT=CAPABILITY[,…]] [--allow-command UNIT=PREFIX] [--enforce-tools] [--strict-permissions] [--set KEY=VALUE] [--settings FILE] [--profile PROFILE] [--json] workflow| Argument | What it is |
|---|---|
<workflow> | the workflow to resolve settings for |
| Option | What it does |
|---|---|
--thread THREAD | resolve for this existing thread instead of a new run |
--key KEY | a glob over the keys shown |
--executor EXECUTOR | the executor of every step (sets steps.executor) |
--judge-executor JUDGE_EXECUTOR | the executor of every judge (sets judges.executor) |
--model MODEL | the model of every step, as an alias such as sonnet or opus (sets steps.model) |
--judge-model JUDGE_MODEL | the model of every judge, as an alias (sets judges.model) |
--timeout TIMEOUT | seconds a step session may run before it is stopped (sets steps.timeout_s) |
--judge-timeout JUDGE_TIMEOUT | seconds a judge session may run before it is stopped (sets judges.timeout_s) |
--idle IDLE | seconds a step session may stay silent before it is stopped (sets steps.idle_s) |
--run-cost-cap RUN_COST_CAP | the most this run may spend, in USD; the run stops with exit 5 when it is reached (sets run.run_cost_cap_usd) |
--daily-cap DAILY_CAP | the self-improvement loop's spending limit per UTC day, in USD (sets run.daily_cap_usd) |
--auto-reopen AUTO_REOPEN | re-open a run that ended on spent retries, a step timeout or an infrastructure failure up to N times (sets run.auto_reopen) |
--audit-rate AUDIT_RATE | the chance, 0 to 1, that a second judge audits a judgement; the audit never changes the verdict (sets run.audit_rate) |
--audit-executor AUDIT_EXECUTOR | the executor of the audit judge (sets run.audit_executor) |
--step-executor STEP=NAME | the executor of one step; repeatablerepeatable |
--step-model STEP=ALIAS | the model of one step; repeatablerepeatable |
--approve STEP | add a person's approval pause at this step's gate; repeatablerepeatable |
--grant UNIT=CAPABILITY[,…] | give a unit extra tool capabilities for this run; repeatablerepeatable |
--allow-command UNIT=PREFIX | let a unit run shell commands that start with this prefix; repeatablerepeatable |
--enforce-tools | limit each step to the tools it declares; a step on an executor that cannot enforce them is refused |
--strict-permissions | enforce declared tools, refuse undeclared ones and never run an executor in an automatic-approval mode |
--set KEY=VALUE | set one run setting for this thread; repeatable (tempergraph config show lists the keys)repeatable |
--settings FILE | a JSON map of keys to values, recorded as flags |
--profile PROFILE | apply a named settings profile from the settings files; repeatablerepeatable |
--json | print the settings as JSON |
config validate#
check the settings files, or one file, without running anything
tempergraph config validate [-h] [--file FILE]| Option | What it does |
|---|---|
--file FILE | the settings file to check |
config paths#
print where the settings files are read from
tempergraph config paths [-h]Edit this page on GitHub · engine 0.9.0