{"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-2605-24486","title":"AgentFugue: Agent Scaling for Long-Horizon Tasks through Collective Reasoning","arxiv_id":"2605.24486","date":"2026-05-23","proceeding":null,"authors":["Yuyang Hu","Hongjin Qian","Shuting Wang","Jiongnan Liu","Tong Zhao","Xiaoxi Li","Zheng Liu","Zhicheng Dou"],"abstract":"Recent progress on long-horizon agentic tasks has been driven largely by scaling up individual agents through stronger models, better tools, and more effective scaffolding. In contrast, much less is understood about scaling out: whether multiple peer agents, all targeting the same task, can become an additional source of capability without relying on explicit role specialization or workflow orchestration. We study this question and propose AgentFugue, a collective reasoning framework built around a shared reasoning hub. As peer agents explore the same task in parallel, the hub records concise notes on what each agent has established, attempted, or ruled out, and enables each agent to selectively access what other agents have discovered in a form useful for its current search. This design turns otherwise isolated trajectories into a connected ecology of reusable intermediate reasoning without requiring centralized planning. We instantiate the hub as a plug-in communication layer, trained with supervised fine-tuning and end-to-end reinforcement learning. Across the challenging long-horizon settings we study, AgentFugue improves over strong baselines. Our results suggest that collective reasoning can turn scaling out peer agent systems into a distinct source of capability gains, rather than merely a way of spending more compute.","url_abs":"https://arxiv.org/abs/2605.24486","url_pdf":"https://arxiv.org/pdf/2605.24486","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/2605.24486","atlas_url":"https://app.syntology.ai/?focus=2605.24486","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.24486"}},"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/qhjqhj00/cabeza","reach":null}],"summary":{"ran":1,"ran_draft_wrong":8,"unverified":9},"by_repo_kind":{"found_in_text":{"samples":18,"ran":9,"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":"43d8757da6517a22","entry":"PageStore","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"43d8757da6517a22"}},{"code_sha256_prefix":"defa3dd392465820","entry":"_expand","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"defa3dd392465820"}},{"code_sha256_prefix":"e1c65b3b9001c7f1","entry":"_render_page_block","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e1c65b3b9001c7f1"}},{"code_sha256_prefix":"53a7af5f4fe310ca","entry":"_render_page_summary","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"53a7af5f4fe310ca"}},{"code_sha256_prefix":"ac262dc23908a74d","entry":"_select_final_answer","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ac262dc23908a74d"}},{"code_sha256_prefix":"269635948ac1aa69","entry":"_step_to_dict","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"269635948ac1aa69"}},{"code_sha256_prefix":"a00336aafbac4277","entry":"_strip_thinking","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a00336aafbac4277"}},{"code_sha256_prefix":"9104f0838b9d2ee2","entry":"clone_agent_for_spec","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9104f0838b9d2ee2"}},{"code_sha256_prefix":"2022fc81fe74cab2","entry":"parse_agent_specs","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2022fc81fe74cab2"}},{"code_sha256_prefix":"d271c6ffa95d2de5","entry":"AgentSpec","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d271c6ffa95d2de5"}},{"code_sha256_prefix":"14e80ee22c664316","entry":"RunResult","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"14e80ee22c664316"}},{"code_sha256_prefix":"9648c50ac5c68546","entry":"SharedPageStore","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9648c50ac5c68546"}},{"code_sha256_prefix":"53324bb074b48287","entry":"Step","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"53324bb074b48287"}},{"code_sha256_prefix":"7db91e0d507dfbb1","entry":"Summarizer","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7db91e0d507dfbb1"}},{"code_sha256_prefix":"4dfc0a21de056b96","entry":"ToolCall","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4dfc0a21de056b96"}},{"code_sha256_prefix":"a5dbb6e91662c61a","entry":"_build_summarizer_for","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a5dbb6e91662c61a"}},{"code_sha256_prefix":"4fa9749852c0127f","entry":"_run_member","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4fa9749852c0127f"}},{"code_sha256_prefix":"a9acdcdf557f7fc7","entry":"run_fugue","repo":"qhjqhj00/cabeza","repo_kind":"found_in_text","path":"src/cabeza/swarm/fugue.py","file_url":"https://github.com/qhjqhj00/cabeza/blob/HEAD/src/cabeza/swarm/fugue.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a9acdcdf557f7fc7"}}]},"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}}}