Skip to content

Benchmarks: run the AI agent benchmark on saifctl after the first round #894

Backlog

Description

@JuroOravec

(Opus 5.5)

The first round of the AI agent benchmark (Citry against Django + HTMX + Alpine, building on docs/design/ai_development_benchmarks.md) runs on benchmarks/agent_usage/run.py, extended with a Claude Code option. After that round, move the benchmark runner to saifctl, which was built for running sandboxed agents and testing them from the outside.

What saifctl needs first:

  1. Finish and push the maintainer's local saifctl changes (file protection), then publish a release so the benchmark can install a fixed version instead of a checkout.
  2. A single-attempt mode: run the agent once, export its patch, and grade it without feeding test results back. The existing loop runs until the tests pass, which hides the bugs the benchmark counts.
  3. Grading of the exported patch on a clean copy of the starting app, in a container with no network.
  4. A token cap, enforced by reading the agent's usage while it runs, and the full transcript saved for each attempt.
  5. Network rules that can allow a list of docs sites and block the rest, and record every URL the agent fetched.
  6. Records of image IDs, the agent CLI version and the model for each attempt.
  7. A current Claude Code version in the agent image, with subscription login, and copying refreshed login tokens back so parallel attempts don't break each other's login.

Then port the benchmark's two stacks, its tasks and its grading to saifctl, and rerun a small sample from the first round to check that both runners give the same results.

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions