Ai Keeper/Guides/Lab and evaluation
← All workflows
Collection 10 · Test before trust

Lab and evaluation

Compare answers, turn real text tasks into reusable tests, inspect baselines and measure repeated performance. API Tester covers form and raw JSON requests; transcription and agent Diagnostics open from their current Chat/Agents destinations.

14 workflowsSimple steps + advanced detailsReviewed 2026-11-18

Follow the numbered steps for the everyday path. Open Advanced details for compatibility, settings, technical limits, and deeper checks. Times are estimates; large downloads and model loading can take longer.

Screenshots show the real app with illustrative sample data. They show where controls are; example answers, jobs and telemetry are not measured results. Open any image at full size to follow along.

Find one workflow

Filter this collection by name, outcome, provider, engine, channel, mode, or command.

14 shown

Test a request in API Tester

Use the request form first, then Edit JSON when you need exact advanced payload control.

Intermediate5–10 minResult · Request and response are inspectableGuide reviewed · 2026-10-05See the screen ↓

Before you start

  • A Ready route.
  • Know which capability you are testing.
  1. Open Lab → API Tester → Requests. Choose the Method, the Endpoint and a Runtime. Only runtimes that are running appear in the list.

  2. Use the form for chat, completion, embeddings or reranking. Start with a short known test and the matching runtime role.

  3. Choose Edit JSON when you need exact payload fields. Preserve a working example before adding tool definitions or advanced metadata.

  4. Send and inspect status, body and timing. Check the contextual guidance for authentication, validation, busy-runtime and backend errors.

  5. Click Copy cURL to copy the working request, or choose Templates → Save Current as Template… to keep it. The copied command carries the same address and authentication headers that Send used.

You are done when

The response has the expected status and schema for the selected endpoint, and Activity > Requests shows the same call.
Lab API Tester showing Chat Completions, Responses and Messages formats, a JSON request and a matching Python example before sending.
Choose an API format, review the target and payload, then send a request. The response area is empty until a request runs.
Advanced details

Advanced JSON remains intact when it cannot be fully represented by the form. Returning to form requires a complete round trip, including message metadata and document boundaries.

cURL export includes prepared authentication headers and shell quoting. Treat saved/copied commands as credential-bearing material where applicable, and redact them before sharing.

If something looks wrong

400 responseRead the returned validation message and compare payload shape to the generated example.
Testing raw instance URLRequests always calls the selected runtime directly, so it does not exercise the Ai Keeper proxy. To test the proxy, open Responses & streaming and leave Target on Ai Keeper Proxy.

Test the stateful Responses API

Exercise response state, compacted history, and WebSocket transport against a local runtime.

Advanced10–20 minResult · A multi-turn response continues by state IDGuide reviewed · 2026-10-05See the screen ↓

Before you start

  • A Ready compatible route.
  • Basic chat completion already works.
  1. Open Lab → API Tester → Responses & streaming. Leave Target on Ai Keeper Proxy, or choose Instance and pick a Runtime.

  2. Send a first request and inspect its response/state identifier and events.

  3. Copy the id shown under Frames / Response, paste it into the previous_response_id field and send a follow-up. The field is not filled in for you.

  4. To try the other transports, set Mode to Compact or WebSocket, or load the matching example from Templates. Use them only when the selected route supports them.

  5. After restart or configuration change, inspect generation-bound state and start a fresh stateful session when necessary.

You are done when

The follow-up remembers the first turn, compacted input is accepted, and WebSocket events complete without crossing to a stale process.
Lab API Tester’s stateful request inspector showing the Responses target and a prepared request before sending.
Check route capability and response identity before continuing a stateful or WebSocket test.
Advanced details

Stateful API continuity is separate from saved Chat transcript continuity. Runtime restart can invalidate generation-pinned state.

A local proxy compatibility route can translate payloads; successful basic Chat Completions does not certify every Responses event or WebSocket operation.

If something looks wrong

Instance restarted mid-sessionStart a new stateful response; generation-pinned state should not be silently reused across processes.

Compare two models side by side

Run a real task on two or more configured runtimes, optionally hide their identities and inspect the submitted settings.

Beginner5–20 minResult · A documented model choiceGuide reviewed · 2026-10-05See the screen ↓

Before you start

  • Two or more configured chat runtimes; parallel mode requires them running.
  • A representative text task and clear success criteria.
  1. Open Lab → Compare, use Add Model to pick two to six runtimes, then type a standalone text task.

  2. Under Execution choose Sequential to load one model at a time (safest for memory) or Parallel when every chosen runtime is already running. Turn on Blind comparison to hide the model names until you judge. Then click Run Both (Run All for three or more).

  3. Run and read every completed answer. Judge correctness, useful detail, instruction following and format before speed.

  4. Under each answer read First response, Speed, Tokens and Memory, and click Request settings to see what was sent. The app retains each runtime’s saved settings rather than secretly matching them.

  5. Click Reveal models, or choose a model or Tie under Pick a winner (which also reveals the names). Use Save as test… for repeatable evaluation, Continue in New Chat for follow-up or Recent comparisons → Prepare another run to review a rerun.

You are done when

You can explain the choice using observed criteria and more than one prompt, not a single subjective impression.
Lab Compare showing runtime selection and comparison controls.
Compare the recorded configurations, judge answers and inspect settings before interpreting speed or memory.
Advanced details

Blind comparison randomizes execution order/labels until reveal or preference; training comparisons preserve base/candidate order. Markdown and raw answers remain inspectable.

If sampling, reasoning/output limits or context differ, this is a comparison of configurations rather than an isolated model-only experiment. Observed process memory is neither peak nor per-request allocation.

If something looks wrong

One model had different tools/contextThe comparison is invalid. Match inputs and policy before interpreting output quality.

Measure reply speed and time to the first token

Use the same task to compare how long each setup takes to start and finish answering.

Intermediate10–20 minResult · A repeatable performance baselineGuide reviewed · 2026-11-18See the screen ↓

Before you start

  • A stable Ready instance.
  • No unrelated heavy workloads if you want comparable numbers.
  1. Open Lab › Evaluate, select the runtime in the left pane, and choose Speed on this Mac in the right pane. Click Measure speed….

  2. Choose Quality checks or My prompt. Select any extra measures you need, such as Several requests at once. Time to start from cold restarts a supported local model, so run it when the model is free.

  3. Click Measure for the selected runtime. Open Activity › More › Monitor if you need to check memory pressure or concurrent load.

  4. Read the run in the list below the chart. Compare how long the first token took, how fast the rest arrived, and total time. Check whether the run also produced a useful answer.

  5. After changing one setting, repeat the same prompt and options. Open Manage › Measurement setup… for full checks and configuration sweeps.

You are done when

Repeated warm runs are in a reasonably consistent range and comparisons use the same prompt/output settings.
Lab Evaluate showing the Speed on this Mac chart, earlier runs and the Measure speed button.
Keep the workload, cache warmth and environment comparable and evaluate answer quality alongside speed.
Advanced details

Performance retains Optimize/configuration sweeps and qualified Apply/Revert. A timing observation for one task is different from a repeated benchmark.

Prompt length, output limit, cache warmth, concurrent requests, power/hardware and model/engine versions affect comparability. Keep quality tests alongside speed measurements.

If something looks wrong

Cold and warm results mixedLabel them separately; model load and first compilation/cache work distort the first run.
Only tokens/sec improvedCheck TTFT, memory, and output quality too.

Find faster settings with a Configuration Sweep

Let Ai Keeper try several launch settings for one local model and keep the fastest one that still passes its quality check.

Intermediate10–40 minResult · A measured winner you can add as a separate runtimeGuide reviewed · 2026-10-23See the screen ↓

Before you start

  • A local runtime that is running (not a cloud route or Apple Intelligence).
  • Free time and memory: the runtime is stopped during the sweep and restarted afterwards.
  1. Open Lab → Evaluate. In the Runs area beneath the speed chart, choose Manage → Measurement setup…. In the setup sheet, choose the running local model under Runtime.

  2. Scroll inside the setup sheet to Configuration Sweep and click Run Configuration Sweep. Your saved runtime is stopped to free memory; its settings are not edited.

  3. Wait while each variant is tried. Stop Sweep cancels the run.

  4. Read the list of variants. Speed counts only for a variant that passed the built-in quality check.

  5. If a winner is offered, click Create Winner Instance to add it as a new runtime. Compare it with your original in Lab → Compare before you switch.

You are done when

The original runtime is running again with its settings unchanged, and any winner exists as a separate runtime.
Lab Evaluate showing recorded speed results and the Manage menu beside the run history.
Choose Manage → Measurement setup, then scroll to Configuration Sweep in the setup sheet.
Advanced details

The sweep tests the exact Create Instance default plus non-default scheduling, KV-cache, MTP/assistant and draft-depth variants.

A result applies to this model, engine version and Mac. Run the sweep again after an engine update before relying on it.

If something looks wrong

The button is greyed outSweeps run only on local runtimes, and not while a benchmark is running.
No winner is offeredThe sweep did not produce one. Keep your current settings.

Create and inspect a managed browser session

Open a page, review the visible state, perform one action, and audit what the model did.

Intermediate5–15 minResult · A browser action is visible and loggedGuide reviewed · 2026-10-05See the screen ↓

Before you start

  • A web task that is allowed by the site and your policy.
  • No need to expose credentials to the model unless explicitly approved.
  1. Open Chat, click Chat settings and tools at the top right of the conversation, then choose Panels → Browser. (Or press ⌘K and run Open Browser.) Choose a Profile, or click New Profile.

  2. Type a harmless address in the address field and press Return. Check that the page shown is the one you expected before letting the model act.

  3. Run one simple action such as following a link or filling a non-sensitive test field.

  4. Click Show or hide action log in the Browser toolbar and read LLM Actions to confirm what the model did.

  5. When finished, open the ⋯ menu beside New Profile and choose Reset Profile Data if the profile should not keep its cookies, then click Close Browser.

You are done when

The visible page reflects the intended single action and the action log attributes it correctly.
Chat Browser showing managed conversation-browser controls.
Inspect visible page state before each action; keep the session scoped to the intended task.
Advanced details

Chat browser tools are bound to that conversation’s managed browser. Deleting a conversation removes that scope; browser profile/session cookies should be treated as private state.

The built-in WebKit route can open HTML confined to the project folder. Chrome backends accept http(s) only and reject file/data URLs; an arbitrary host file is not granted by merely supplying its path.

If something looks wrong

Model wants to submit/purchase/sendRequire explicit confirmation and inspect the final target and payload.
Page changed unexpectedlyStop and capture the current state before retrying; do not stack blind clicks.

Preview and edit a Canvas artifact

Let the model send HTML, a chart or an interactive page to the Canvas panel, run it, and correct its source yourself.

Intermediate10–30 minResult · A working artifact whose source you have checked and copiedGuide reviewed · 2026-10-05See the screen ↓

Before you start

  • A tool-capable chat model with the canvas tools enabled. The panel stays empty until the model sends something to it.
  1. Open Chat, click Chat settings and tools at the top right, then choose Panels → Canvas. Ask the model to put something on the canvas, for example a small HTML page or a chart. You cannot paste source into an empty Canvas.

  2. Click Run preview so the page’s scripts can run, then try its controls. Until you click it, content from the model is displayed with scripts switched off. Stop preview switches them off again.

  3. Click Source, correct the HTML and click Apply. Revert throws away edits you have not applied yet.

  4. Before you change a working artifact, open Source, select all and copy it somewhere safe. Snapshot only takes a picture of the canvas for the model; it does not save a version you can return to. Reset empties the Canvas and cannot be undone.

  5. To keep the artifact, paste the copied source into a file of your own. The Canvas panel has no export button.

You are done when

The artifact renders, its controls work after Run preview, an edit made in Source appears after Apply, and you hold your own copy of the working source.
Chat with the Canvas panel open and empty, before the model has sent anything to it.
Review source and interactions before snapshotting or exporting a result.
Advanced details

A visual artifact is executable HTML/script. Review source and external resource destinations before using or sharing it.

The Snapshot button and the canvas_snapshot tool capture an image of the rendered page, held in memory only; Reset discards it. Earlier pushes are kept in a short in-memory history that the model can list with canvas_history; the panel has no control to go back to one. The Canvas web view uses a non-persistent data store, and page scripts stay off until Run preview.

If something looks wrong

Arbitrary script from an untrusted sourceReview code and use an isolated test artifact. A live Canvas is executable content, not a static screenshot.

Create a reusable quality test

Define the behavior you care about, choose a concrete success check and retain the result without changing runtime settings.

Advanced15–30 minResult · A test suite detects a deliberate failureGuide reviewed · 2026-11-18See the screen ↓

Before you start

  • A ready OpenAI-compatible chat runtime.
  • A harmless stable task and an assessable expected result.
  1. Open Lab › Evaluate. In the left pane, click New check to write your own or choose Manage › Add starter checks…. In the editor, choose an existing collection or create one.

  2. Under Success check choose I will review the answer, or an automatic rule such as Contains expected information, Exact answer, Matches JSON schema, Number in range or Calls the expected tool, and type the expected value.

  3. Open Reference answer and conversation context to check what was captured, then click Save test. A reference is guidance for your review, not automatically correct. There is no output limit to set here: each run uses the chosen runtime’s own settings and records them.

  4. Choose a model in the left pane and click Run all (or Start & run for a stopped model). Select a check under Results by model to read the reply and its verdict. For a check that needs judgment, review the answer and record your assessment.

  5. Try one deliberately different expected value to see the check fail, then restore the original expected value and run again. Use Use as baseline to save a known result for later comparison.

You are done when

The saved task runs, its concrete assertion/manual review is inspectable, and errors or incomplete outputs are identified rather than counted as passes.
Lab Evaluate showing a five-test collection with four passed, one failed, the failed answer detail, Review answers and Use as baseline.
Choose meaningful answer checks, inspect incomplete/error results and preserve a baseline.
Advanced details

Tool-call checks submit schemas and grade predicted name/arguments; no tool is executed. Saved-test runs require OpenAI-compatible chat, even when other routes work elsewhere in the app.

Malformed/empty/incomplete/stalled streams and missing usage needed for token-limit checks stay Incomplete with absent quality scores. A 200 status or fast transport alone cannot pass an answer-quality assertion.

If something looks wrong

Test only checks HTTP 200Assert the behavior or content you care about; a successful status can still contain the wrong answer or missing tool call.

Transcribe, review, and promote local audio

Import, record, or capture audio; review timestamped segments; and move durable material into Knowledge.

Intermediate5–30 minResult · A reviewed transcript and optional Knowledge documentGuide reviewedSee the screen ↓

Before you start

  • The local transcription model selected in Settings.
  • Microphone or Screen Recording permission only for the capture method that needs it.
  1. For a quick transcript inside a conversation, open Chat → Audio → Transcribe and Choose audio file….

  2. For the full workspace use Transcribe audio in the Audio toolbar. Choose Import Audio, microphone recording or supported system-audio capture.

  3. Click Stop & Transcribe, wait for local transcription and play a timestamped segment to check alignment.

  4. Correct text/speaker labels before generating chapters, summaries or action items. With Identify speakers ticked, a local model (about 11 MB, downloaded the first time) tells the voices apart. It separates speakers; it does not know who they are.

  5. Export the offered text/Markdown/JSON/SRT/WebVTT format, or click Add All to Knowledge (Add Selected to Knowledge after ticking segments) when future conversations should retrieve it.

You are done when

The audio plays, timestamps seek correctly, edits persist after reopening the document, and an added transcript becomes searchable in Knowledge.
Chat Audio Transcribe audio showing the full local transcription workspace.
Import or record a short sample, correct timestamped text/speakers, then export or add reviewed material to Knowledge.
Advanced details

Quick transcription appends a text exchange to the conversation; it does not send the recording to the conversational model as part of transcription. Sending a later summary prompt still follows that chat’s route.

The full workspace retains audio, model identity, waveform, segments and chapter organization. Capture permission differs for microphone versus system audio; verify a short non-sensitive sample first.

More example screens
Chat Audio Transcribe task with Choose audio file
Use Transcribe inside Audio for a quick transcript in the current conversation.

If something looks wrong

Recording is silentGrant the relevant microphone or Screen Recording permission and capture a short test before a long session.
Speaker labels are wrongThey come from a local speaker-separation model (or a rougher offline estimate when Identify speakers is off), not from recognising people. Type the right name in the speaker field of each segment.
Summary misses a decisionCorrect the transcript first, then regenerate the derived summary or action items.

Inspect Harness experiments, traces, and context budgets

Use one evidence surface to connect a regression case to prompt composition, timing spans, tool contracts, and runtime environment state.

Advanced10–25 minResult · A failure has attributable evidenceGuide reviewedSee the screen ↓

Before you start

  • At least one Chat or agent request; richer pages appear after experiments and tools have run.
  1. Open Agents → Diagnostics and start at Overview for cases, traces, prompt manifests, contracts, environments and rule status.

  2. Use Experiments to inspect a named case’s runs and outcomes.

  3. Open Context to inspect system/memory/skills/tools/files token shares and whether they are estimates or tokenizer counts.

  4. Follow Causal Traces for duration/error spans. Export Completed to OTel sends finished traces to the telemetry destination you configured, so check that destination first.

  5. Inspect Tool Contracts and Environments before assigning the failure to a model or prompt.

You are done when

You can name the failing case, exact context composition, error span, tool-contract status, and environment fingerprint from recorded evidence.
Agents Diagnostics showing context, experiments, traces, contracts, environments and provisional rule tools.
Follow evidence for the matching case before changing rules or promoting a scratch prototype.
Advanced details

These pages contain recorded evidence only after the matching request/experiment/tool synchronization occurs. Empty state is not proof of failure or success.

Environment fingerprints and context evidence help explain reproducibility. A trace records observed execution; it does not establish causal model-quality superiority by itself.

If something looks wrong

A page is emptyGenerate the corresponding evidence first: a request for context/traces, tool synchronization for contracts, or a validated build for environments.
Trace export shares too muchReview the configured diagnostics destination and retention policy before exporting.

Review learned rules and use a disposable scratch workspace

Keep feedback-derived behavior provisional and prototype risky work outside the real project until explicitly saved.

Advanced10–30 minResult · A time-bounded rule or isolated prototype is reviewedGuide reviewedSee the screen ↓

Before you start

  • An open Chat session for scratch creation.
  • Evidence attached to any proposed learned rule.
  1. Open Agents → Diagnostics → Rule Drafts and review body, evidence count and sensitive warnings.

  2. Click Approve 90 Days for a useful rule, or Reject; do not promote one weak observation into an unreviewed enduring policy.

  3. Open Scratch with an active Chat session, label the prototype and create the managed disposable workspace.

  4. Inspect its path/preview. Use Save As… for a deliberate copy worth keeping; otherwise Discard that exact scratch workspace.

  5. Confirm the draft’s reviewed/expiry state and that abandoned scratch work is removed.

You are done when

The rule has an explicit reviewed state and expiry, while the scratch prototype is either saved to a chosen path or removed from the disposable list.
Agents Diagnostics showing context, experiments, traces, contracts, environments and provisional rule tools.
Follow evidence for the matching case before changing rules or promoting a scratch prototype.
Advanced details

Approved learned rules expire rather than silently becoming permanent. Source evidence remains more important than an isolated correction.

Scratch belongs to a session and its managed disposable folder. Save a copy before discard; keep the real project’s candidate/apply and verification workflow separate.

If something looks wrong

Create Scratch is disabledOpen a Chat session first; scratch ownership is session-scoped.
Rule has weak evidenceReject it and gather more observations instead of approving a brittle global behavior.
Discard could remove workSave a deliberate copy first; the confirmation removes only the app-managed scratch, not a previously saved copy.

Save a real Chat answer as a test

Turn an everyday task into a repeatable check without assuming hidden context or tool effects will replay.

Beginner5–15 minResult · A saved test has the intended visible task/context and a reviewed success ruleGuide reviewed · 2026-10-05See the screen ↓

Before you start

  • A completed text Chat answer or comparison result.
  1. Right-click a finished answer in Chat and choose Save as test…, or click Save as test… under an answer in Lab → Compare.

  2. Review the captured user task and visible conversation text before it. Give the test a name based on the outcome you care about.

  3. Write a reference/check only when you can assess it; choose manual review when an exact automatic answer would be misleading.

  4. Choose a collection under Save to (or name a New test collection) and click Save test. It then appears under Lab → Evaluate → Results by model.

  5. Run it once and compare the captured answer/settings with what the original task needed.

You are done when

A saved test has the intended visible task/context and a reviewed success rule.
Lab Evaluate showing a five-test collection with four passed, one failed, the failed answer detail, Review answers and Use as baseline.
Choose meaningful answer checks, inspect incomplete/error results and preserve a baseline.
Advanced details

Chat capture keeps visible text before the selected user turn. Attachments, hidden instructions, tools and their previous side effects are not replayed. A complex agent workflow cannot be certified by this text capture alone.

Editing a task/check changes its workload fingerprint. Results from different saved workloads must not be treated as equivalent comparison evidence.

Run your tests across several runtimes

Compare the same saved collection across available models/engines and retain failures and incomplete results.

Intermediate15–45 minResult · Every dispatched target has an inspectable result, error or Incomplete outcome tied to the same reviewed task collectionGuide reviewed · 2026-11-18See the screen ↓

Before you start

  • A saved test collection and ready OpenAI-compatible chat runtimes.
  1. Open Lab › Evaluate. Choose the collection in the left pane, then open a check and click Review answers.

  2. Use Run collection to test the selected runtime. For several, open Compare multiple runtimes, choose each running runtime and click Run on N runtimes.

  3. Wait for results and inspect every target. Stop ends the run; targets that did not run are not counted as passes.

  4. Review manual-answer tasks and automatic assertions separately; open transport/protocol errors and incomplete streams.

  5. Click Export results to save a CSV file that includes each run’s request settings and engine version.

You are done when

Every dispatched target has an inspectable result, error or Incomplete outcome tied to the same reviewed task collection.
Lab Evaluate showing a five-test collection with four passed, one failed, the failed answer detail, Review answers and Use as baseline.
Choose meaningful answer checks, inspect incomplete/error results and preserve a baseline.
Advanced details

The service owns the run across navigation, and a matrix keeps one owner through all targets. Switching screens does not establish that it stopped; use Cancel deliberately.

A tool contract probe grades a predicted call without executing it. This matrix does not prove live file, browser, shell, MCP or external messaging side effects.

Compare a new run with a saved baseline

Separate quality changes, changed workload evidence and timing that cannot be fairly compared.

Intermediate15–45 minResult · The report identifies comparable results, unanswered checks and relevant setting/environment differencesGuide reviewed · 2026-11-18See the screen ↓

Before you start

  • A complete saved evaluation result or run and a repeatable test collection.
  1. Open Lab › Evaluate and select the collection. Save the current comparable result with Use as baseline, or open Review answers and choose an earlier complete run to Use this run as baseline.

  2. Run the same saved collection on the new runtime or configuration.

  3. Read the summary line (improved · regressed · cannot be compared) and the notes under each result, such as Runtime settings differ or Engine version changed.

  4. Read comparability guidance: changed/missing tasks prevent a quality comparison; changed hardware/OS prevents relative timing claims.

  5. Choose a new baseline only when you intentionally want to replace the reference. Use this runtime opens Runtime controls for your decision.

You are done when

The report identifies comparable results, unanswered checks and relevant setting/environment differences.
Lab Evaluate showing a five-test collection with four passed, one failed, the failed answer detail, Review answers and Use as baseline.
Choose meaningful answer checks, inspect incomplete/error results and preserve a baseline.
Advanced details

Fingerprints include task, visible context, tool definitions, grading rules and output allowance. Sampling/model differences may be intentional, but they must be disclosed.

A baseline choice does not change runtime defaults or restrict available engine versions. Keep repeated Performance evidence for timing claims and avoid turning a small suite into blanket certification.

Keep going