Docs · Author and upgrade workflows
tempergraph author
Author a workflow from what a good result is: sessions, approvals, verify, trial and grade.
Usage#
tempergraph author [-h] {start,intake,check,show,drop,list,approve,verify,trial,grade} ...author start#
open an authoring session for a new workflow, or a revise session for an existing one
tempergraph author start [-h] [--from {solution,sources,chat}] [--revise] name [paths ...]| Argument | What it is |
|---|---|
<name> | the new workflow's name, or the workflow to revise |
<paths>… | source files to read in: a script, prompts, templates or examplesoptional |
| Option | What it does |
|---|---|
--from {solution,sources,chat} | how the session starts: from an existing solution, from sources, or from a chat; repeatable for a mixed sessionrepeatable |
--revise | revise an existing workflow's outcome |
author intake#
add sources to a session and run the model-free inventory
tempergraph author intake [-h] [--kind KIND] [--artifact ARTIFACT] [--unit UNIT] [--outside] id paths [paths ...]| Argument | What it is |
|---|---|
<id> | the authoring session id |
<paths>… | the source files to add |
| Option | What it does |
|---|---|
--kind KIND | the source's kind, such as solution, reference, example_good, example_bad or other |
--artifact ARTIFACT | the artifact an example is for |
--unit UNIT | the unit an example is for |
--outside | a path outside the workspace the person named |
author check#
check a session's drafts: outcome, blueprint, coverage and criteria; read-only
tempergraph author check [-h] id| Argument | What it is |
|---|---|
<id> | the authoring session id |
author show#
a session's phase, sources, drafts, open decisions and approvals; read-only
tempergraph author show [-h] [--json] id| Argument | What it is |
|---|---|
<id> | the authoring session id |
| Option | What it does |
|---|---|
--json | print the session as JSON |
author drop#
remove a session's folder
tempergraph author drop [-h] id| Argument | What it is |
|---|---|
<id> | the authoring session id |
author list#
every open authoring session
tempergraph author list [-h]author approve#
record a person's approval of one phase of a session
tempergraph author approve [-h] id phase| Argument | What it is |
|---|---|
<id> | the authoring session id |
<phase> | the phase number, 1 to 7 |
author verify#
run the checks an authored workflow must pass before anyone relies on it
tempergraph author verify [-h] [--judge-seeds] [--trial] [--case CASE] [--cap CAP] [--json] [--caller {person,agent,pipeline,orchestrator,scheduler,engine}] [--as-agent] [--caller-app CALLER_APP] [--relayed] workflow| Argument | What it is |
|---|---|
<workflow> | the workflow, registered or as a package folder |
| Option | What it does |
|---|---|
--judge-seeds | also grade each judge's seed cases with the real judge (spends) |
--trial | also run one case end to end as a trial (spends; needs --case) |
--case CASE | the eval case the trial runs |
--cap CAP | the most --judge-seeds and --trial may spend together, in USD (default 5)default 5.0 |
--json | print the rungs as JSON |
--caller {person,agent,pipeline,orchestrator,scheduler,engine} | who is calling: person, agent or pipeline (the others are kept for the engine's own supervisors); a declaration can only lower trust |
--as-agent | the same as --caller agent |
--caller-app CALLER_APP | the name of the calling agent or pipeline application, recorded with the call |
--relayed | the decision is a person's, carried by an agent; checked against the person's last turn |
author trial#
the first trial's report: each criterion's status and the person's grade
tempergraph author trial [-h] [--json] workflow| Argument | What it is |
|---|---|
<workflow> | the workflow whose first trial to report |
| Option | What it does |
|---|---|
--json | print the report as JSON |
author grade#
the person's grade on one criterion of the trial's output
tempergraph author grade [-h] [--unit UNIT] --criterion CRITERION --status {MET,PARTIAL,UNMET,N/A,UNVERIFIABLE} --reason REASON [--reviewer REVIEWER] [--json] [--caller {person,agent,pipeline,orchestrator,scheduler,engine}] [--as-agent] [--caller-app CALLER_APP] [--relayed] workflow| Argument | What it is |
|---|---|
<workflow> | the workflow whose trial output is graded |
| Option | What it does |
|---|---|
--unit UNIT | the criterion's unit; outcome for a final criteriondefault outcome |
--criterion CRITERION | the criterion idrequired |
--status {MET,PARTIAL,UNMET,N/A,UNVERIFIABLE} | the person's graderequired |
--reason REASON | why, in a sentencerequired |
--reviewer REVIEWER | the reviewer's handle (default the caller) |
--json | print the recorded grade as JSON |
--caller {person,agent,pipeline,orchestrator,scheduler,engine} | who is calling: person, agent or pipeline (the others are kept for the engine's own supervisors); a declaration can only lower trust |
--as-agent | the same as --caller agent |
--caller-app CALLER_APP | the name of the calling agent or pipeline application, recorded with the call |
--relayed | the decision is a person's, carried by an agent; checked against the person's last turn |
Edit this page on GitHub · engine 0.9.0