← All projects

agent-task-bench

A small Python harness for comparing OpenAI-compatible local models on tool-calling and short software-engineering agent tasks.

Python · pytest · GitHub Actions

  • Python and pytest a hiring manager can run without a GPU. agent-task-bench is a standalone Python 3.10+ harness with no runtime dependencies beyond the standard library. Its pytest suite is 17 tests covering parsers, JSON repair, worktree safety, and scripted fake-model runs of two pack tasks; all 17 pass. GitHub Actions runs the same pytest suite, plus a pack-fixture load check, on Ubuntu for every pull request and every push to main.
  • LLM tool calling across model families. The agent loop talks to an OpenAI-compatible /v1/chat/completions endpoint and prefers native tool_calls when the server returns them. Otherwise it parses Hermes JSON inside <tool_call>, Qwen XML, and Mistral [TOOL_CALLS]. Tolerant JSON repair and leaked <think> stripping are included, and enable_thinking=false is sent as chat_template_kwargs.
  • A scored agent loop, not a chat transcript. The model gets a seeded worktree and four tools: list_dir, read_file, edit_file, and write_file. Paths that escape the worktree are rejected. Each task is scored by running its verify commands, and the CLI prints a JSON pass/fail summary.
  • A public 3-task synthetic pack, so the tool can be reviewed without a private product repo. pack-v1 covers a docs edit (T1_docs), a precise error-message fix plus a test (T2_error_message), and tests-only coverage of health and rejection paths (T3_http_tests). These are original fixtures, not a copy of a private repository.

Stack

Python · pytest · GitHub Actions

Get in touch

Email is the best way to reach me.

glen@gmbxdigital.com