Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
36
36
models
listlengths
1
3
block_size
int64
8
8
hash_id_scope
stringclasses
1 value
requests
listlengths
3
177
totals
dict
006c98de37d819e95b0840e25426bb7ca99d
[ "claude-opus-4-8" ]
8
local
[{"t":0.0,"model":"claude-opus-4-8","in":56,"out":2,"hash_ids":[0,1,2,3,4,5,6],"api_time":0.18125000(...TRUNCATED)
{"input_tokens":363552,"output_tokens":2716,"modification_notice":"Modified for agentx-mini from sem(...TRUNCATED)
00ca01c4aaeccee751ae6285beb54dea262f
[ "claude-fable-5", "claude-haiku-4-5-20251001" ]
8
local
[{"t":0.0,"model":"claude-fable-5","in":80,"out":3,"hash_ids":[0,1,2,3,4,5,6,7,8,9],"api_time":0.674(...TRUNCATED)
{"input_tokens":496448,"output_tokens":4425,"modification_notice":"Modified for agentx-mini from sem(...TRUNCATED)
04dba6fe621301a1d01fd63b8d02c9645c48
[ "claude-opus-4-8" ]
8
local
[{"t":0.0,"model":"claude-opus-4-8","in":48,"out":4,"hash_ids":[0,1,2,3,4,5],"api_time":0.268875,"ty(...TRUNCATED)
{"input_tokens":86032,"output_tokens":5236,"modification_notice":"Modified for agentx-mini from semi(...TRUNCATED)
05c249572509162371b7b82339674db64b5d
[ "claude-opus-4-8" ]
8
local
[{"t":0.0,"model":"claude-opus-4-8","in":56,"out":3,"hash_ids":[0,1,2,3,4,5,6],"api_time":0.33725000(...TRUNCATED)
{"input_tokens":487408,"output_tokens":7647,"modification_notice":"Modified for agentx-mini from sem(...TRUNCATED)
05f72f78a037cfa5cd4e4541960a574701d9
[ "claude-opus-4-8" ]
8
local
[{"t":0.0,"model":"claude-opus-4-8","in":56,"out":3,"hash_ids":[0,1,2,3,4,5,6],"api_time":0.17075,"t(...TRUNCATED)
{"input_tokens":554904,"output_tokens":5485,"modification_notice":"Modified for agentx-mini from sem(...TRUNCATED)
063179eb93f4337a662e859c5a2c5638e03f
[ "claude-haiku-4-5-20251001", "claude-opus-4-8" ]
8
local
[{"t":0.0,"model":"claude-opus-4-8","in":320,"out":3,"hash_ids":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,(...TRUNCATED)
{"input_tokens":567624,"output_tokens":4592,"modification_notice":"Modified for agentx-mini from sem(...TRUNCATED)
077ea9e6554f45bbad9c24a8462bae9a8512
[ "claude-fable-5", "claude-haiku-4-5-20251001" ]
8
local
[{"t":0.0,"model":"claude-fable-5","in":5728,"out":72,"hash_ids":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14(...TRUNCATED)
{"input_tokens":346672,"output_tokens":6705,"modification_notice":"Modified for agentx-mini from sem(...TRUNCATED)
07dd40536557a1d6440a923557c3129dc929
[ "claude-fable-5", "claude-sonnet-4-6" ]
8
local
[{"t":0.0,"model":"claude-fable-5","in":6320,"out":26,"hash_ids":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14(...TRUNCATED)
{"input_tokens":1238328,"output_tokens":4750,"modification_notice":"Modified for agentx-mini from se(...TRUNCATED)
0a688303b1ae62a97607af8021f2130c2caf
[ "claude-sonnet-4-5" ]
8
local
[{"t":0.0,"model":"claude-sonnet-4-5","in":216,"out":2,"hash_ids":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,1(...TRUNCATED)
{"input_tokens":282920,"output_tokens":3869,"modification_notice":"Modified for agentx-mini from sem(...TRUNCATED)
0bcd99353218b9a386b1c4aec13d77abecdb
[ "claude-haiku-4-5-20251001", "claude-opus-4-8" ]
8
local
[{"t":0.0,"model":"claude-haiku-4-5-20251001","in":40,"out":3,"hash_ids":[0,1,2,3,4],"api_time":0.12(...TRUNCATED)
{"input_tokens":315384,"output_tokens":4290,"modification_notice":"Modified for agentx-mini from sem(...TRUNCATED)
End of preview. Expand in Data Studio

agentx-mini

agentx-mini is a smaller workload for benchmarking local LLM servers, derived from semianalysisai/cc-traces-weka-062126-256k. It contains 200 sessions and 9,439 model calls, including 1,363 subagent calls.

Changes from the original dataset:

  • Divide input and output lengths by 8, rounding each output up. Hash IDs stay the same; logical blocks shrink from 64 to 8 tokens.
  • Divide active request time by 8 and shorten idle gaps. Replay uses a 1-second idle cap.
  • Keep complete sessions with less than 10,000 requested output tokens, counting all subagents and auxiliary calls.
  • Preserve request grouping, spawn/join dependencies, shared prompt content, and reference overlaps. Actual replay overlap depends on server speed.

Stats

traces:                       200
main_turns:                 8,076
subagent_groups:               76
subagent_inner_requests:    1,363
total_model_requests:       9,439
total_input_tokens:   126,413,728
total_output_tokens:      962,854

Main turns are top-level calls. Input totals include repeated prefixes; actual prefill depends on the server's prefix caching. Rendered prompts add tokenizer/chat-template overhead.

Files and reproduction

traces.jsonl contains the scaled Weka records; stats.txt contains their totals. AgentX Harness handles prompt synthesis and replay using the target model's tokenizer.

To rebuild agentx-mini using distill.py:

pip install huggingface-hub orjson
python distill.py --output rebuilt

Run agentx-mini with AgentX Harness

Requires Python 3.11–3.13. Install in a dedicated virtual environment, following the AgentX Harness README:

python3 -m venv .venv
source .venv/bin/activate
pip install agentx-harness==1.0.7

Set the block size for agentx-mini. AgentX 1.0.7 needs an adjustment for this dataset's 8-token blocks. In the activated virtual environment, locate the installed plugin configuration:

python -c 'from pathlib import Path; import aiperf.plugin; print(Path(aiperf.plugin.__file__).with_name("plugins.yaml"))'

Open that file. Under public_dataset_loader → weka_hf → metadata, change default_block_size: 64 to default_block_size: 8. This setting applies to all weka_hf datasets in this environment; reinstalling the harness can reset it.

  1. Download agentx-mini into a local directory.
  2. Start your local LLM server and load your model, for example using llama-server. It must expose an OpenAI-compatible API. Enable parallel request slots to exercise subagents. Allow up to 32,000 tokens per request for input plus output, with additional room for chat-template overhead. Keep the server running during the benchmark.
  3. Configure AgentX. Save the configuration below as benchmark.yaml beside traces.jsonl. Replace the served model name, tokenizer, and server URL with your server's settings. Set hf_weka_dataset to the absolute path of the downloaded dataset directory (run pwd there to get it).
random_seed: 42
benchmark:
  models: [YOUR_SERVED_MODEL_NAME]
  tokenizer:
    name: YOUR_TOKENIZER
  endpoint:
    urls: [http://127.0.0.1:8000]
    streaming: true
    extra: {ignore_eos: true}
    use_legacy_max_tokens: true
  datasets:
    - name: default
      type: public
      dataset: weka_hf
      hf_weka_dataset: /absolute/path/to/agentx-mini
      sampling: sequential
      trace_idle_gap_cap_seconds: 1
  phases:
    - name: profiling
      type: concurrency
      timing_mode: agentic_replay
      concurrency: 1
      duration: 1200
      trajectory_start_min_ratio: 0
      trajectory_start_max_ratio: 0

Run from that directory:

agentx profile \
  --config benchmark.yaml \
  --output-artifact-dir ./results/agentx-mini

Automatic download: instead of downloading first, set hf_weka_dataset to SocialLocalMobile/agentx-mini and run the same command.

License

Apache 2.0, matching the source dataset published by SemiAnalysis from its Claude Code proxy traces. The dataset, script, and documentation in this repository are distributed under these terms.

Modified files: traces.jsonl is a scaled and filtered derivative of source revision 8fecd2f; stats.txt is regenerated, and this README and .gitattributes are adapted for agentx-mini. The data changes are listed above. References to SemiAnalysis identify the source and do not imply endorsement.

Downloads last month
50