{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2606-30560","title":"TraceLab: Characterizing Coding Agent Workloads for LLM Serving","arxiv_id":"2606.30560","date":"2026-06-29","proceeding":null,"authors":["Kan Zhu","Mathew Jacob","Chenxi Ma","Yi Pan","Stephanie Wang","Arvind Krishnamurthy","Baris Kasikci"],"abstract":"Coding agents are rapidly becoming a major application of agentic LLMs, but serving them efficiently remains challenging. Progress on this challenge requires understanding real workload patterns, yet the data needed for such analysis is largely absent. Existing public traces and benchmarks do not capture real, day-to-day coding-agent usage across multiple agents and model families for serving-system analysis. To help fill this gap, we collect and release a trace of roughly 4,300 coding-agent sessions, containing about 350,000 LLM steps and 430,000 tool calls from our own day-to-day use of Claude Code and Codex. Our analysis shows that coding-agent workloads feature long autonomous loops, long contexts with short outputs, diverse and heavily-tailed tool calls, and high but imperfect prefix cache hit rates. These findings point to concrete opportunities for optimizing serving, including lower-overhead tool calling, append-length-aware prefill, semantic-aware tool-latency prediction, and improved KV-cache management around human-paced gaps. We release the dataset, trace collection pipeline, and analysis code at https://github.com/uw-syfi/TraceLab.git the project website is https://tracelab.cs.washington.edu.","url_abs":"https://arxiv.org/abs/2606.30560","url_pdf":"https://arxiv.org/pdf/2606.30560","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2606.30560","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.30560"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/uw-syfi/TraceLab","reach":null}],"summary":{"ran":27,"unverified":2},"by_repo_kind":{"found_in_text":{"samples":29,"ran":27,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"f89696f4255ece75","entry":"active_bin_mask","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/cdf.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/cdf.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f89696f4255ece75"}},{"code_sha256_prefix":"f8ea11b6490fbb9f","entry":"build_command","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/run_all.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/run_all.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f8ea11b6490fbb9f"}},{"code_sha256_prefix":"659ac4c28fac3413","entry":"build_command","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"validators/run_all.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/validators/run_all.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"659ac4c28fac3413"}},{"code_sha256_prefix":"6a6fa8a2d403228a","entry":"command_chains","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/command_chains.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/command_chains.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6a6fa8a2d403228a"}},{"code_sha256_prefix":"432e86eab0bbcfe5","entry":"dependencies","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/run_all.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/run_all.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"432e86eab0bbcfe5"}},{"code_sha256_prefix":"95f8c2a43ec9ef33","entry":"display_command","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"validators/run_all.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/validators/run_all.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"95f8c2a43ec9ef33"}},{"code_sha256_prefix":"3988633bef0e1bc5","entry":"extract_from_png","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/png_sidecar.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/png_sidecar.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3988633bef0e1bc5"}},{"code_sha256_prefix":"0807d947f333ba70","entry":"first_timing_event_type","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/growth.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/growth.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0807d947f333ba70"}},{"code_sha256_prefix":"b520fe6c79f19122","entry":"gfm_table","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/md_table.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/md_table.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b520fe6c79f19122"}},{"code_sha256_prefix":"a5fdf6c5429928db","entry":"infer_first_token_tick","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/formatters.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/formatters.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a5fdf6c5429928db"}},{"code_sha256_prefix":"47d806a5a37fa81e","entry":"int_field","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/growth.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/growth.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"47d806a5a37fa81e"}},{"code_sha256_prefix":"17cd6b7a406645cf","entry":"matches","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"validators/run_all.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/validators/run_all.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"17cd6b7a406645cf"}},{"code_sha256_prefix":"b6d9854904ad1b10","entry":"numeric_sample","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/accumulators.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/accumulators.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b6d9854904ad1b10"}},{"code_sha256_prefix":"ddcdda222f3e4008","entry":"parse_ts","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/timing.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/timing.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ddcdda222f3e4008"}},{"code_sha256_prefix":"f5d51d90d1032ddd","entry":"percentile","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/growth.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/growth.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f5d51d90d1032ddd"}},{"code_sha256_prefix":"d59ca54bed234a5a","entry":"provider_order","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/style.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/style.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d59ca54bed234a5a"}},{"code_sha256_prefix":"8087beab6af3c9a1","entry":"provider_title","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/style.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/style.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8087beab6af3c9a1"}},{"code_sha256_prefix":"bcc799a03c74e352","entry":"repo_relative","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/run_all.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/run_all.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bcc799a03c74e352"}},{"code_sha256_prefix":"d2e7537203b6e692","entry":"response_trigger_user_message_timestamp","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/timing.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/timing.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d2e7537203b6e692"}},{"code_sha256_prefix":"74d94aacaaaaf474","entry":"safe_float","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/accumulators.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/accumulators.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"74d94aacaaaaf474"}},{"code_sha256_prefix":"333d2218cad0f963","entry":"sample_quantiles","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/accumulators.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/accumulators.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"333d2218cad0f963"}},{"code_sha256_prefix":"e048aa3242805024","entry":"section_tables","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/md_table.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/md_table.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e048aa3242805024"}},{"code_sha256_prefix":"c3e49bcc0d81abe2","entry":"short_label","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/style.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/style.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c3e49bcc0d81abe2"}},{"code_sha256_prefix":"c96db2998de21954","entry":"timestamp_string","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"validators/trace_rows.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/validators/trace_rows.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c96db2998de21954"}},{"code_sha256_prefix":"5496a32c32b3dc87","entry":"token_axis_value","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/formatters.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/formatters.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5496a32c32b3dc87"}},{"code_sha256_prefix":"5baecdef0ebd5f29","entry":"token_axis_values","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/formatters.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/formatters.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5baecdef0ebd5f29"}},{"code_sha256_prefix":"6b201efab7fb49b7","entry":"user_message_start_timestamp","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/timing.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/timing.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6b201efab7fb49b7"}},{"code_sha256_prefix":"9751953fbd7bb868","entry":"main","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/png_sidecar.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/png_sidecar.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9751953fbd7bb868"}},{"code_sha256_prefix":"41a6007561832b83","entry":"make_self_contained","repo":"uw-syfi/TraceLab","repo_kind":"found_in_text","path":"artifacts/utils/png_sidecar.py","file_url":"https://github.com/uw-syfi/TraceLab/blob/HEAD/artifacts/utils/png_sidecar.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"41a6007561832b83"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}