{"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-2607-26598","title":"Living-Harness Is an Interactive-Agent Evolver","arxiv_id":"2607.26598","date":"2026-07-29","proceeding":null,"authors":["Yuetian Du","Yucheng Wang","He Xu","Jiexu Xu","Shanwen Tan","Bing Zhao","Boyu Yang","Zhijie Xu","Ming Kong","Hu Wei","Jie Liu","Qiang Zhu"],"abstract":"Large language model (LLM) agents may recover from a failure within an episode or after a retry, yet the same execution failure can recur in later tasks because post-episode feedback rarely revises the persistent harness that guides future interactions. Static harnesses improve reliability through fixed tools, context, memory, and workflow structures, but remain unchanged after deployment. We propose $\\textbf{Living-Harness}$, a self-evolving agent harness that converts each completed trajectory and its evaluator signals into posterior evidence for bounded harness updates. Guided by a domain-level $\\textbf{Evolution-SOP}$ ($\\textbf{S}$tandard $\\textbf{O}$perating $\\textbf{P}$rocedure), Living-Harness extracts an episode abstraction and structured update evidence, and writes two complementary forms of procedural knowledge: episodic memory that records trigger conditions, failure patterns, and recovery actions, and a state graph that records state nodes, repair edges, and transition rules. The updated harness state is retrieved to guide future interactions, while tools and base context remain frozen, allowing procedural repairs to accumulate across evolution cycles. On eight interactive environments derived from $τ^2$-Bench and MultiWOZ-2.4, Living-Harness improves average Pass@1 over the strongest interactive baseline by 10.07 and 9.91 percentage points, respectively, and supports retrieval-only reuse of the evolved harness state across model backbones. Our code will be made publicly available soon at https://github.com/anotherbricki/Living-Harness.","url_abs":"https://arxiv.org/abs/2607.26598","url_pdf":"https://arxiv.org/pdf/2607.26598","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":{"syntology_url":"https://syntology.ai/paper/2607.26598","atlas_url":"https://app.syntology.ai/?focus=2607.26598","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2607.26598"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/anotherbricki/Living-Harness","reach":null}],"summary":{"ran":17,"unverified":8},"by_repo_kind":{"found_in_text":{"samples":25,"ran":17,"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":25,"samples":[{"code_sha256_prefix":"bb57531f8a258dfa","entry":"build_evidence_bundle","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/evolution_pipeline.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/evolution_pipeline.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bb57531f8a258dfa"}},{"code_sha256_prefix":"8ffc7f309eb6ea97","entry":"build_graph_retrieval_text","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/retrieval.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/retrieval.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8ffc7f309eb6ea97"}},{"code_sha256_prefix":"508e65123668cce2","entry":"build_memory_retrieval_text","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/retrieval.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/retrieval.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"508e65123668cce2"}},{"code_sha256_prefix":"22116ac7a23c1a90","entry":"build_outcome_tag","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/rewards.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/rewards.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"22116ac7a23c1a90"}},{"code_sha256_prefix":"00e1eb0956f68905","entry":"build_system_prompt","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/context_builder.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/context_builder.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"00e1eb0956f68905"}},{"code_sha256_prefix":"fe3e7e914cf5bd6d","entry":"build_update_context_text","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/meta_sop.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/meta_sop.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fe3e7e914cf5bd6d"}},{"code_sha256_prefix":"bc7b2cfbae5ea7bc","entry":"extract_posterior_digest","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/evolution_pipeline.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/evolution_pipeline.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bc7b2cfbae5ea7bc"}},{"code_sha256_prefix":"9a122e3e94f390ab","entry":"infer_task_family","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/evolve_state.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/evolve_state.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9a122e3e94f390ab"}},{"code_sha256_prefix":"6cccbce72c07197e","entry":"normalize_multiwoz_domains","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/context_builder.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/context_builder.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6cccbce72c07197e"}},{"code_sha256_prefix":"c54ee56e2775e7f8","entry":"parse_float_env","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/multiwoz_runner.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/multiwoz_runner.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c54ee56e2775e7f8"}},{"code_sha256_prefix":"d70c8bf280a47742","entry":"parse_gpu_list","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/tau2_runner.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/tau2_runner.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d70c8bf280a47742"}},{"code_sha256_prefix":"3148f3b1b762c95c","entry":"parse_int_env","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/multiwoz_runner.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/multiwoz_runner.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3148f3b1b762c95c"}},{"code_sha256_prefix":"d48c71c1e4ee9648","entry":"parse_str_env","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/multiwoz_runner.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/multiwoz_runner.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d48c71c1e4ee9648"}},{"code_sha256_prefix":"7ee6762b72879277","entry":"render_trajectory_text","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/rewards.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/rewards.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7ee6762b72879277"}},{"code_sha256_prefix":"ba13bc22a31a1877","entry":"summarize_state_graph","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/state_graph.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/state_graph.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ba13bc22a31a1877"}},{"code_sha256_prefix":"ee896b10d027f75b","entry":"task_active_domains","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/context_builder.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/context_builder.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ee896b10d027f75b"}},{"code_sha256_prefix":"49f6575e6e48334b","entry":"workflow_to_graph_updates","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/evolution_pipeline.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/evolution_pipeline.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"49f6575e6e48334b"}},{"code_sha256_prefix":"af99c64467ff7f78","entry":"apply_backend_llm_args","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/llm_backend.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/llm_backend.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"af99c64467ff7f78"}},{"code_sha256_prefix":"47600e82d4312a03","entry":"build_backend_runtime","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/llm_backend.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/llm_backend.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"47600e82d4312a03"}},{"code_sha256_prefix":"484a407b446a96f9","entry":"build_default_memory_snapshot","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/evolve_state.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/evolve_state.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"484a407b446a96f9"}},{"code_sha256_prefix":"87c031372364f053","entry":"build_default_state_graph","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/evolve_state.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/evolve_state.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"87c031372364f053"}},{"code_sha256_prefix":"f2fbd440f5f1f72e","entry":"completion_with_reasoning_fallback","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/llm_backend.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/llm_backend.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f2fbd440f5f1f72e"}},{"code_sha256_prefix":"5ccd7276ca587dda","entry":"get_git_commit","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/tau2_runner.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/tau2_runner.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5ccd7276ca587dda"}},{"code_sha256_prefix":"6f78ab5e7f83e03a","entry":"retrieve_memory_entries","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/retrieval.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/retrieval.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6f78ab5e7f83e03a"}},{"code_sha256_prefix":"e7b71438030cd843","entry":"select_representative_tasks","repo":"anotherbricki/Living-Harness","repo_kind":"found_in_text","path":"src/execution.py","file_url":"https://github.com/anotherbricki/Living-Harness/blob/HEAD/src/execution.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e7b71438030cd843"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","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,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"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}}}