{"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-2604-25847","title":"From Soliloquy to Agora: Memory-Enhanced LLM Agents with Decentralized Debate for Optimization Modeling","arxiv_id":"2604.25847","date":"2026-04-28","proceeding":null,"authors":["Jianghao Lin","Zi Ling","Chenyu Zhou","Tianyi Xu","Ruoqing Jiang","Zizhuo Wang","Dongdong Ge"],"abstract":"Optimization modeling underpins real-world decision-making in logistics, manufacturing, energy, and public services, but reliably solving such problems from natural-language requirements remains challenging for current large language models (LLMs). In this paper, we propose \\emph{Agora-Opt}, a modular agentic framework for optimization modeling that combines decentralized debate with a read-write memory bank. Agora-Opt allows multiple agent teams to independently produce end-to-end solutions and reconcile them through an outcome-grounded debate protocol, while memory stores solver-verified artifacts and past disagreement resolutions to support training-free improvement over time. This design is flexible across both backbones and methods: it reduces base-model lock-in, transfers across different LLM families, and can be layered onto existing pipelines with minimal coupling. Across public benchmarks, Agora-Opt achieves the strongest overall performance among all compared methods, outperforming strong zero-shot LLMs, training-centric approaches, and prior agentic baselines. Further analyses show robust gains across backbone choices and component variants, and demonstrate that decentralized debate offers a structural advantage over centralized selection by enabling agents to refine candidate solutions through interaction and even recover correct formulations when all initial candidates are flawed. These results suggest that reliable optimization modeling benefits from combining collaborative cross-checking with reusable experience, and position Agora-Opt as a practical and extensible foundation for trustworthy optimization modeling assistance. Our code and data are available at https://github.com/CHIANGEL/Agora-Opt.","url_abs":"https://arxiv.org/abs/2604.25847","url_pdf":"https://arxiv.org/pdf/2604.25847","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=2604.25847","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2604.25847"}},"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/CHIANGEL/Agora-Opt","reach":null}],"summary":{"ran":18,"unverified":3},"by_repo_kind":{"found_in_text":{"samples":21,"ran":18,"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":21,"samples":[{"code_sha256_prefix":"f2e0470ab486dc67","entry":"append_jsonl","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/augment_memory_from_standalone_runs.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/augment_memory_from_standalone_runs.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":"f2e0470ab486dc67"}},{"code_sha256_prefix":"28d4951fdfe6feb5","entry":"enhance_code_with_objective_print","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/execute.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/execute.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":"28d4951fdfe6feb5"}},{"code_sha256_prefix":"330a48901c704bca","entry":"execute_generated_code","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/debug_executor.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/debug_executor.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":"330a48901c704bca"}},{"code_sha256_prefix":"11791e1219a03bdf","entry":"extract_objective_value","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/execute.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/execute.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":"11791e1219a03bdf"}},{"code_sha256_prefix":"0d68281fa7da95c0","entry":"extract_python_code","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/generate_with_memory.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/generate_with_memory.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":"0d68281fa7da95c0"}},{"code_sha256_prefix":"6082897f8202077d","entry":"float_or_none","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/debate_memory_builder.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/debate_memory_builder.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":"6082897f8202077d"}},{"code_sha256_prefix":"dfbd183d86f5f6f0","entry":"get_dataset_config","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/config.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/config.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":"dfbd183d86f5f6f0"}},{"code_sha256_prefix":"c9c307b776287e07","entry":"get_model_config","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/config.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/config.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":"c9c307b776287e07"}},{"code_sha256_prefix":"52c806901ec13ce4","entry":"get_prompt_template","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/config.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/config.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":"52c806901ec13ce4"}},{"code_sha256_prefix":"725fe4f58fd50b1d","entry":"has_disagreement","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/debate_memory_builder.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/debate_memory_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":"725fe4f58fd50b1d"}},{"code_sha256_prefix":"095d38e3f8704a02","entry":"load_benchmark_data","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/build_memory_from_eval_results.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/build_memory_from_eval_results.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":"095d38e3f8704a02"}},{"code_sha256_prefix":"8602e112f33f478a","entry":"load_debug_records","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/debug_memory_builder.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/debug_memory_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":"8602e112f33f478a"}},{"code_sha256_prefix":"76d7c42b9a7c9133","entry":"load_evaluation_results","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/build_memory_from_eval_results.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/build_memory_from_eval_results.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":"76d7c42b9a7c9133"}},{"code_sha256_prefix":"b85a1300a89a5565","entry":"load_json","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/augment_memory_from_standalone_runs.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/augment_memory_from_standalone_runs.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":"b85a1300a89a5565"}},{"code_sha256_prefix":"888f5c53e1db5aa6","entry":"load_jsonl","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/augment_memory_from_standalone_runs.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/augment_memory_from_standalone_runs.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":"888f5c53e1db5aa6"}},{"code_sha256_prefix":"70016d2a0a8b58c9","entry":"load_jsonl","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/debate_memory_builder.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/debate_memory_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":"70016d2a0a8b58c9"}},{"code_sha256_prefix":"451817235bd5536a","entry":"load_solution_code","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/build_memory_from_eval_results.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/build_memory_from_eval_results.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":"451817235bd5536a"}},{"code_sha256_prefix":"c6a41ea70936e4ee","entry":"sanitize_code","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/debug_utils.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/debug_utils.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":"c6a41ea70936e4ee"}},{"code_sha256_prefix":"e6aced355e6f72e7","entry":"execute_code","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/execute.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/execute.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":"e6aced355e6f72e7"}},{"code_sha256_prefix":"bc49cf903440df48","entry":"get_response","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/llm.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/llm.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":"bc49cf903440df48"}},{"code_sha256_prefix":"a725ed26059672fb","entry":"load_dataset","repo":"CHIANGEL/Agora-Opt","repo_kind":"found_in_text","path":"code/Agora-Opt/src/debate_memory/generate_with_memory.py","file_url":"https://github.com/CHIANGEL/Agora-Opt/blob/HEAD/code/Agora-Opt/src/debate_memory/generate_with_memory.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":"a725ed26059672fb"}}]},"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}}}