Systems
A system is what a suite calls: your own service over HTTP, or a model behind an OpenAI-compatible API.
Your workspace calls the system over the internet.
The system needs a public URL: a local address such as localhost does not work.
| Adapter | Use it for | Reports |
|---|---|---|
http | Your own service: an agent, a RAG pipeline, a chatbot, any JSON endpoint. | The answer, structured output, route and tokens, from paths you name. |
openai_chat | A model behind an OpenAI-compatible chat completions API. | The answer, tool calls and tokens, and structured output when the answer is JSON. |
HTTP endpoint
The http adapter sends one request per case and reads the answer out of the JSON response.
systems:
bot:
adapter: http
config:
base_url: https://bot.example.com
endpoint: /api/chat
headers:
Authorization: "Bearer YOUR_KEY"
body:
message: "{{ case.input }}"
system: "{{ target.system_prompt }}"
extract:
answer: reply.text
prompt_tokens: usage.prompt_tokens
completion_tokens: usage.completion_tokens
health: {url: /health, expect_status: 200}
| Field | Default | Meaning |
|---|---|---|
base_url | required | Where the system lives, without a path. |
endpoint | / | The path for each request. |
method | POST | The HTTP method. |
headers | none | Sent with every request. |
body | none | The JSON your system expects, with placeholders. |
extract | none | Where each value is in the response, as dotted paths. Index lists with [0]. |
health | none | {url, expect_status}: a path checked before the run starts, so a wrong address fails in seconds. |
verify_tls | true | Turn off only for a self-signed certificate you trust. |
conversation.carry | none | Values carried from one answer into the next request. See conversations. |
extract takes these keys:
| Key | What it reads | Used by |
|---|---|---|
answer | The text to grade. | Every scorer that reads the answer. |
output | A JSON object. | json_schema, plan_flags, citation_integrity, retrieval_ranking, retrieval_coverage, judge_faithfulness, and numeric_tolerance with a path. |
route | The route or branch the system took. | route_match. |
prompt_tokens, completion_tokens | Token counts. | Tokens per case on the run page. |
Placeholders work in body, headers and endpoint:
| Placeholder | Value |
|---|---|
{{ case.input }} | The question. |
{{ case.id }} | The case id. |
{{ vars.name }} | A value from the case's vars. |
{{ target.model }}, {{ target.system_prompt }}, {{ target.params.name }} | The arm's settings. |
{{ seed }} | The attempt's seed, when the suite sets run.seed. |
{{ run_id }} | The run's id. |
{{ history }}, {{ turn }}, {{ state.name }} | Conversation values. See below. |
A placeholder that fills the whole string keeps its type: "{{ history }}" sends a list, not text.
The http adapter reports no tool calls, so tool_match and max_tool_calls report unsupported for it.
Conversations
A case with turns sends one request per turn, in order.
| Placeholder | Value |
|---|---|
{{ history }} | The earlier questions and answers, as a list of {role, content}. |
{{ turn }} | The turn number, from 1. |
{{ state.name }} | A value carried from an earlier answer. |
conversation.carry names those values: carry: {session: data.session_id} reads data.session_id from each response and makes it {{ state.session }} in the next request.
A turn whose response has nothing at that path keeps the earlier value.
Example: the Anthropic Messages API
systems:
claude:
adapter: http
config:
base_url: https://api.anthropic.com
endpoint: /v1/messages
headers:
x-api-key: YOUR_KEY
anthropic-version: "2023-06-01"
body:
model: "{{ target.model }}"
max_tokens: 1024
messages: [{role: user, content: "{{ case.input }}"}]
extract:
answer: content[0].text
prompt_tokens: usage.input_tokens
completion_tokens: usage.output_tokens
The Builder's template Claude: Opus 5 vs Sonnet 5 vs Haiku 4.5 starts from this system.
OpenAI-compatible model APIs
The openai_chat adapter calls POST {api_base}/chat/completions.
Any server that also lists its models at GET {api_base}/models works.
| Provider | api_base | Template in the Builder |
|---|---|---|
| OpenAI | leave empty, or https://api.openai.com/v1 | ChatGPT: model tiers compared |
| A LiteLLM proxy, for models of several vendors | your proxy's URL, ending in /v1 | LiteLLM: cross-vendor comparison through one proxy |
| vLLM | your server's URL, ending in /v1 | Local vLLM: prompt ablation on one served model |
| Ollama | your server's URL, ending in /v1 | none |
| Azure OpenAI | https://<resource>.openai.azure.com/openai/v1 | none |
| Gemini | https://generativelanguage.googleapis.com/v1beta/openai | none |
| Anthropic | https://api.anthropic.com/v1 | none; the Claude template uses the Messages API |
| Provider | What to know |
|---|---|
| Azure OpenAI | An arm's model is the name of your deployment. The model list shows models, not deployments, so the check before a run accepts any name. |
| Gemini | Name the model without the models/ prefix its list shows, as gemini-2.5-flash. |
| Anthropic | Claude 4.7 and later refuse a temperature below 1 and any top_p but the default: leave both out of params. Structured output works only as a JSON schema, and audio is refused. The list comes twenty models a page, so a model missing from the first page does not stop the run. |
systems:
llm:
adapter: openai_chat
config:
api_base: https://llm.example.com/v1
api_key: YOUR_KEY
targets:
- id: small
model: small-model
params: {temperature: 0, max_tokens: 1024}
- id: small_calc
model: small-model
tools: [calculator]
params: {temperature: 0, max_tokens: 1024}
| Field | Default | Meaning |
|---|---|---|
api_base | OpenAI | The endpoint, ending before /chat/completions. |
api_key | none | The key. See keys. |
system_prompt | none | Used by arms that set none of their own. |
user_template | {{ case.input }} | How the question is posed. Wrap it to add instructions. |
timeout_s | 300 | Seconds to wait for one answer. |
extra_body | none | Extra fields sent with every request. |
When api_base is set, the workspace checks the model list before the run starts.
The run stops with an error when the list cannot be read or an arm's model is not in it, except as noted for Azure OpenAI and Anthropic above.
The adapter sends the arm's model, system_prompt, params, tools and tool_choice, and the seed when run.seed is set.
It sends a case's images and audio from media.
With tools, the workspace runs each tool the model calls and returns the result to the model, for up to the arm's max_turns rounds.
Run API test on the endpoint first. It checks Reachable, Model, Completion, Structured output, Token budget and Tool calling.
Tools
Arms of an openai_chat system can use two built-in tools.
| Tool | What it does | In the beta |
|---|---|---|
calculator | Evaluates an arithmetic expression exactly. | Yes |
python | Runs a Python snippet and returns what it prints. Stops after 10 seconds. | No |
tool_match grades which tools the model called, and with what arguments.
max_tool_calls fails a case that used too many calls.
Keys
Store each key as a secret of the workspace: in the console, open the workspace and add it under Secrets, for example as OPENAI_API_KEY.
Then write ${env:OPENAI_API_KEY} in the suite where the key goes: for openai_chat in api_key, for a judge in the judge's api_key, and for http in a header.
A name has capital letters, digits and underscores. Names the workspace uses itself, such as PATH or any starting with AEVAL_, are refused.
| Who | Can |
|---|---|
| Owner and admins | Add, replace and remove secrets. Nobody can read a value back, they included. |
| Editors | Use every secret in their suites. A suite can send a value to any address it calls. |
| Viewers | Nothing: they do not see the secrets. |
Saving or removing a secret restarts a running workspace, which stops runs in progress. A stopped workspace takes the change when it next starts.
A key can also be written into the suite itself.
The workspace never sends a written key or a resolved ${env:...} value back to a browser: pages, API replies and run records show it masked.
In the beta
Two features run code your system produced. They are not part of the beta.
| Feature | In the beta |
|---|---|
http, openai_chat, the calculator tool and the scorers in suites except code_exec | Yes |
The code_exec scorer and the python tool | No |
A run that needs one of them is refused when it starts, and the message names each use.