Skip to main content

argus-utils

Record every model call of an agent run, whatever inference library runs the model, in one plain JSON Lines file. For each call it stores what the model was shown and what it produced.

pip install argus-utils
import argus_utils
argus_utils.record_to("rollout.jsonl", revision="<full model commit hash>", library="vllm 0.23.0 (server)",
                      dtype="bfloat16", quantization="none", chat_template="default")
# ... run your agent as usual: every OpenAI-SDK chat call (vLLM, SGLang, llama.cpp, Ollama, LiteLLM, LangChain; sync, async, streaming) is recorded

Model runs inside your own process (transformers, vLLM LLM, SGLang Engine, llama-cpp-python)? One call after each generation:

argus_utils.log(messages, generated_text, tools=tools, model="Qwen/Qwen3-1.7B", sampling={"temperature": 0.7, "top_p": 0.95})

Agent you cannot edit, or one that runs in a container? Set ARGUS_BENCH_LOG=/path/rollout.jsonl in its environment. Check the result with argus-utils check rollout.jsonl.

Every header the package writes carries a rollout_id (random unless you pass your own to record_to) and the benchmark canary string (argus_utils.CANARY), so the files can be kept out of training data. Both are required in a submission. If you write rollout files yourself, add them as the rollout_id and canary keys of the header.

This package was called argus-bench up to 0.1.4. Install argus-utils and import argus_utils instead.

Submit your task at github.com/ARGUS-Benchmark/task-submissions.

  • docs/USAGE.md: how to record with every supported way of running a model
  • docs/EXAMPLE.md: a complete worked example (record, verifier, submission, annotations)
  • docs/SUBMISSION.md: verifier, Verdict, labels, evidence, and argus-utils check-submission
  • docs/FORMAT.md: the exact file format, so you can produce it without this package
  • docs/TESTED.md: what has and has not been tested

Metadata

Release files for argus-utils 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for argus-utils 0.2.0
File Size Uploaded Provenance Actions
argus_utils-0.2.0.tar.gz 124.7 kB Without provenance Details for argus_utils-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for argus-utils 0.2.0
File Interpreter ABI Platform Actions
argus_utils-0.2.0-py3-none-any.whl Python 3 none any Details for argus_utils-0.2.0-py3-none-any.whl

Total release size: 145.5 kB

Release files / argus_utils-0.2.0.tar.gz

Download URL argus_utils-0.2.0.tar.gz
Size 124.7 kB
Tags Source
SHA-256 checksum
How to use checksums
93c2ae9bdddcc66623c30a57e2e4e3faec4a981916544ca45eed83809cb7bcda
BLAKE2b-256 checksum
How to use checksums
c4be8ebbcba077c79091cae722a6823df578a2dfe5f9e5fddaba702a821ded02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Release files / argus_utils-0.2.0-py3-none-any.whl

Download URL argus_utils-0.2.0-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0725b1907fbf28a6e380991ba20fdda2bcf7d26663e2ff17ed1f860a234844a
BLAKE2b-256 checksum
How to use checksums
8d391864100054123f797f18e5249dbdb96aac80f76db3c301977c2d92edf801
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Security for argus-utils 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page