Evals: Runtime, Agent, and Human
An eval (eval ID : EVALUATOR = { … } inside an Artifact, qualified as <artifact>/<id>) is a single check on an Artifact. Every eval has a title and names its evaluator, one of three kinds; Agent and Human evals state what passes in their instruction (see Eval fields). Every result has one shape, { verdict, kind, issues }:
| Kind | Evaluator | Verdict & issues |
|---|---|---|
runtime | runtime(command = …, args = […]): a program | Exit 0 is GREEN; any other exit code is RED, with one issue holding the exit code and the end of what it printed. Operational failures (missing binary, timeout, unreadable output, or INPUT_CHANGED) record ERROR. |
agent | A profile’s name: one exact LLM (backend + model) using composed read-only tools | issues of {priority, reason} objects (P0–P3); Artifactize derives GREEN or RED from red_at. |
human | human: a person who claims the waiting request and answers it | GREEN with no issues, or RED with at least one {reason}: each a thing the Artifact must change. |
Runtime evals
#![allow(unused)]
fn main() {
// Run the library's tests with the lockfile.
eval tests : runtime(command = "cargo", args = ["test", "--locked"], timeout_ms = 240000) = {
title = "The library tests pass"
deps = [cargo-lock]
}
}
command(an executable, not a shell command string) and separateargsrun in the target’s execution base (Target kinds; Windows.cmd/.batbatch scripts are supported), with emptystdin, the author’s environment (minus callerARTIFACTIZE_*variables),ARTIFACTIZE_WORKSPACE_DIR,ARTIFACTIZE_OUTPUT_DIR, andARTIFACTIZE_TMP_DIR(withTMPDIR/TMP/TEMPredirected to that private scratch directory).@{path name}or@{path name/subpath}inargsresolves to the absolute path (or Live URI) of that Artifact (@{path self}is the eval’s own target). Naming another Artifact there makes it an eval dependency; an Artifact the command reads without naming it inargsis listed indeps. A runtime eval has noinstruction: the exit code is the verdict, so explain it in a//comment.- Captured
stdoutandstderrare saved in the attempt’s logs and inspected viaartifactize request logs REQUEST_IDor the Desktop Detail view; aREDresult keeps the end of what was printed as its issue. If the post-execution recheck finds a different fingerprint or Live snapshot than when the check started, the result isERROR(INPUT_CHANGED).
Agent evals
#![allow(unused)]
fn main() {
// .artifactize/profiles.artfprofiles
profile sol : agent = { backend = "codex", model = "gpt-6.2-sol", reasoning = "high", max_tokens = 100000, max_tool_calls = 100 }
}
#![allow(unused)]
fn main() {
artf app : files = {
path = "app/"
eval review : sol = {
title = "The implementation satisfies the spec"
red_at = "P1"
instruction = "Review @{artf self} against @{artf spec}. Report each unmet requirement as an issue."
}
}
}
- Backends and models:
backendnamesopenai,anthropic,gemini,codex,claude-agent, or a custom provider configured withartifactize provider(or in the desktop app’s Settings → Providers). ACP coding agents such as Antigravity are Chat only; usegeminiwith an API key for Google models in an Agent eval. There is no built-in model catalog for declarations or automatic model fallback;modelmust match the provider’s exact model ID (artifactize models BACKEND). - Profiles: an Agent eval names a profile declared once in a
.artfprofilesfile (profile NAME : agent = { … }). A profile can choose its setting by an environment variable (match REVIEW_TIER { default => { … }, heavy => { … } }), so one project runs its reviews cheaply day to day and with a stronger model when that variable says so. See Agent profiles. - Reasoning and budgets:
reasoningis passed as-is (openaiandcodex:none,minimal,low,medium,high,xhigh,max;claude-agent:low,medium,high,xhigh,max;anthropic:low,medium,high,max;gemini:minimal,low,medium,high). Optionalmax_tokensandmax_tool_callscap total reported tokens and attempted tool calls across the review (exceeding either ends the review withERROR/PROVIDER_BUDGET_EXCEEDED). - Read-only review: the Agent only reviews using the tools composed on the target and on the Artifacts the eval names. For
claude-agent, your local Claude Code hooks, skills,CLAUDE.md, memory, and MCP servers are isolated from the review. - Issues and verdict: the Agent returns a JSON object with an
issueslist of{priority, reason}objects (P0highest toP3lowest; empty when there are none), or the review endsERROR/INVALID_RESULT(inspect the saved conversation withartifactize session show REF). Artifactize derivesREDwhen any issue is atred_ator higher (or any issue at all whenred_atis omitted), and retains issues belowred_ateven when the eval isGREEN. - Timeouts and backend stopping: an Agent review ends after
timeout_mswhen its profile sets one, otherwise afterARTIFACTIZE_AGENT_TIMEOUT_MSmilliseconds when that variable is set, otherwise after 30 minutes. If a provider fails withAUTHENTICATIONorQUOTA, Artifactize stops starting further reviews on that backend for the rest of the Run (BACKEND_STOPPED); re-authenticate withartifactize loginor restore quota before rerunningverify. - Saved conversations: each review’s full transcript and tool calls are saved locally by default under
$STATE/agent-sessions/(configured viaagentSessionsinlimits.json). Inspect them withartifactize session show REF [--summary]or ask a follow-up question without changing the recorded verdict usingartifactize session send REF "Question".
Human evals
#![allow(unused)]
fn main() {
eval approved : human = {
title = "The release notes are approved"
instruction = "Open @{artf notes} and verify the highlights before signing off."
}
}
A Human eval asks a person to claim the waiting request, optionally run its Human tools, and answer GREEN, or RED with one issue for each thing to change (artifactize request commands, artifactize review, or the Desktop app). GREEN takes no issues: approval lists none. How Human sign-offs are scheduled after sibling machine evals, joined by follower Runs, and reused across Runs is covered in Sign-offs and the end of a Run.