Skip to content

evalkit 0.6.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 15:52
a5aff07

Released 2026-11-13. Experiments can take trajectories from the agent's own
trace store, scorecards show errored runs, and evalkit is easier to start
with: evalkit.yaml is optional, the span mapping presets ship in the
package and the quickstart is a short tutorial.

Before you upgrade

  • CLI: Run evalkit update --server <url> once the server is on 0.6.0;
    a 0.5 CLI refuses every other command against it.
  • Server: Run evalkit db upgrade before the server starts. Migration
    0019 adds agent_runs.trajectory_note.
  • Packaging: The otel extra is gone, so drop [otel] from your
    evalkit-py pins. The OpenTelemetry SDK and the OTLP HTTP exporter are now
    base dependencies; pip and uv warn about the unknown extra.
  • CLI: evalkit login without --url logs in to hosted evalkit
    (https://evalkit.inferedge.com) instead of asking for a server URL. On a
    self-hosted server, pass --url <url>.
  • CLI, SDK: The env: references in evalkit.yaml and
    evalkit run --judge-api-key-env read only the environment, not a .env
    file. Export the variables in your shell. evalkit serve still reads the
    .env beside config.yaml.
  • Extending evalkit: UiExtensions has two new required fields,
    publicRoutes and landingPage (or null), so a package's
    ui/src/extensions/index.tsx must set both. Signed-out pages have no
    evalkit bar, so a landing page or public route draws its own header and
    way home.

Features

  • Tracing: Experiments can take trajectories from the agent's own trace
    store. Set --trace-source and --project on an OTel agent
    (evalkit agents create or edit, or the agent form), and SDK runs and
    harness runs import each run's session from that store, with no
    tracing.register and no agent token. New flags --import-settle,
    --import-wait and --clear-trace-source; evalkit traces import takes
    the agent's source and project when --source and --project are left out.
  • Web UI: Every scorecard shows errored runs: runs that ended without
    completing with an answer get no score, and a case is errored or partly
    errored. The counts show above the bucket cards, on each bucket card, on
    the compare page and in the experiments list, and evalkit summary,
    evalkit status, evalkit experiments list and the SDK's scorecard print
    them. GET /api/experiments/{id}/scorecard has new fields for them.
  • Web UI: evalkit runs list and the Runs page show a status and a
    duration for every run, OTel sessions included. The run list API has a new
    field duration_ms.
  • CLI, SDK: Commands and SDK calls that show, create or change an
    experiment, dataset, case, agent or agent run end with link: <url>, its
    page in the web UI. RunSummary has a new url field, and
    evalkit runs list --json adds url to each run.
  • CLI: evalkit.yaml is optional. Without it, cases are read from
    evalkit/cases/ and fixtures from evalkit/fixtures/, so evalkit sync,
    evalkit run and run_experiment work with only
    evalkit/cases/<dataset>/ on disk. A file that leaves out cases or
    fixtures gets the same defaults.
  • Tracing: The span mapping presets ship in the package. --mapping on
    evalkit agents create and edit, and evalkit traces mapping push, take
    a preset name (openinference, gen_ai, langchain and the rest) or a
    file path. The new evalkit traces mapping presets [NAME] lists the
    presets or prints one as JSON.
  • Web UI: The new-agent and edit-agent forms have a preset picker above
    "Span mapping" that fills the field with the preset's JSON, with Undo when
    it replaces your text. GET /api/mapping-presets returns the presets.
  • Sign-in: New setting auth.oidc.cli_client_id gives evalkit login
    its own OAuth client, for identity providers that skip the approval step
    for the web client. Unset, it defaults to client_id. People need
    evalkit update before an operator removes the web client's loopback
    redirect.
  • Extending evalkit: A package can add pages for signed-out visitors
    (publicRoutes) and a page for / (landingPage), link to sign-in with
    SignInLink, and pass prompt (such as prompt=create) through
    /login?prompt=<value>. useOptionalMe, useTheme, Lockup and
    /favicon.svg are stable names.
  • Extending evalkit: New setting auth.oidc.ui_resources lists other
    APIs the web UI signs in for, and a package's pages get a token for one
    with getApiToken(resource). It needs authorize_params.resource; the
    server refuses to start without it.
  • Docs: A new getting-started skill walks a coding agent through the
    quickstart in the developer's agent project, and the SDK reference is a
    page in the web UI's docs. evalkit skills install copies both.

Improvements

  • Docs: The Quickstart is a short tutorial for hosted evalkit: connect an
    agent through Phoenix or by sending traces, mine cases from its runs, run a
    baseline and let the eval-driven-development skill improve the agent. The
    rest moved to the new page Beyond the quickstart. The Install page installs
    evalkit-py into the agent's own project.
  • Docs: The docs site uses the web UI's colours, fonts and layout, and
    the docs gain tabs, row anchors and images, in the web UI and on the site.
  • Web UI: A new logo, a /e mark beside "evalkit", in the sidebar, on
    the sign-in card, on the docs page, as the favicon and on the docs site.
  • Web UI: Signed-out pages have no evalkit bar. The docs page has its own
    header with the logo, the theme switch and Sign in. The sign-in page has a
    footer with Docs, GitHub and the server's version, and uses the theme last
    chosen in that browser.
  • Web UI: Questions, answers, trajectories, workspace files and the docs
    share one Markdown look, with syntax highlighting and a copy button on code
    blocks, tables that scroll sideways and links that open in a new tab.
  • Web UI: With single sign-on, the web UI gives up on the identity
    provider after 10 seconds at sign-in and refresh instead of hanging.
  • Sign-in: With auth.password_login: none, evalkit makes no password
    accounts: evalkit users add <name> with a password and
    evalkit users set-password answer 400, and the web UI has no Users page.
    Machine users are added as before.
  • Sign-in: With auth.oidc.admin_claim set, evalkit users promote
    answers 400 for a person bound to the identity provider, since their next
    sign-in sets admin from the claim. evalkit users demote still works.
  • Evaluators: Which runs are scored follows the run's status and answer,
    not its error text. A completed run with an answer and a non-fatal error
    is now scored, and a run that did not complete with an answer is no longer
    scored on an empty answer. evalkit evaluate <id> scores the runs of an
    earlier experiment that were left out.
  • Tracing: A run whose trajectory is partial or unavailable, or whose
    mapping read no LLM or tool steps, says why: in the experiment's runs, on
    the run page, in RunSummary.trajectory_note and on the progress line. A
    session that holds only evalkit's evalkit.run span is unavailable.
  • SDK: An SDK run with no tracer provider whose task neither takes
    metadata nor returns a session id fails at once with a message naming
    the fix.
  • CLI: evalkit skills install without --target writes to both
    .agents/skills/ and .claude/skills/. It skips a folder with an evalkit
    skill's name that it did not install, names it and exits 1; evalkit update
    refreshes both folders.
  • CLI: A sync always looks in the fixtures directory for bytes the server
    does not hold, and fails naming the file it looked for. It refuses cases or
    fixtures inside an evalkit folder holding an __init__.py, which would
    hide the installed package. cases: or fixtures: set to an empty value
    fails to load; leave the key out.

Fixes

  • CLI: Fixed every evalkit command crashing with
    No module named 'bcrypt' in a project that has uvicorn and SQLAlchemy
    but not the server extra. The server commands now say to install
    evalkit-py[server].
  • Tracing: Fixed Phoenix imports seeing no LLM or tool spans with the
    openinference mapping when Phoenix returns openinference.span.kind
    only in its span_kind field.
  • Tracing: Fixed a span upsert moving received_at on an unchanged span
    and an empty session id replacing a stored one.