SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.25847 · 2026

From Soliloquy to Agora: Memory-Enhanced LLM Agents with Decentralized Debate for Optimization Modeling

Chenyu Zhou, Tianyi Xu, Jianghao Lin, Dongdong Ge, Zi Ling, Ruoqing Jiang, Zizhuo Wang

arXiv · PDF · Open in the Atlas

Code that ran

18 of 21 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 14 failures of our instrument; 3 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2604.25847.json · badge: /api/ran/2604.25847.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
CHIANGEL/Agora-Opt canonical (classifier label)
classifier basis: census
18 ran · 3 no recorded run
FunctionStatusWhere it lives
append_jsonl Ran
ran, honoured the contract we drafted
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/augment_memory_from_standalone_runs.py
pointer only (licence: NONE) · get_code("f2e0470ab486dc67")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

enhance_code_with_objective_print Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/execute.py
pointer only (licence: NONE) · get_code("28d4951fdfe6feb5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

execute_generated_code Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/debug_executor.py
pointer only (licence: NONE) · get_code("330a48901c704bca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_objective_value Ran
ran, honoured the contract we drafted
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/execute.py
pointer only (licence: NONE) · get_code("11791e1219a03bdf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_python_code Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/generate_with_memory.py
pointer only (licence: NONE) · get_code("0d68281fa7da95c0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

float_or_none Ran
ran, honoured the contract we drafted
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/debate_memory_builder.py
pointer only (licence: NONE) · get_code("6082897f8202077d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_dataset_config Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/config.py
pointer only (licence: NONE) · get_code("dfbd183d86f5f6f0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_model_config Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/config.py
pointer only (licence: NONE) · get_code("c9c307b776287e07")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_prompt_template Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/config.py
pointer only (licence: NONE) · get_code("52c806901ec13ce4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

has_disagreement Ran
ran, violated the contract we drafted
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/debate_memory_builder.py
pointer only (licence: NONE) · get_code("725fe4f58fd50b1d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_benchmark_data Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/build_memory_from_eval_results.py
pointer only (licence: NONE) · get_code("095d38e3f8704a02")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_debug_records Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/debug_memory_builder.py
pointer only (licence: NONE) · get_code("8602e112f33f478a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_evaluation_results Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/build_memory_from_eval_results.py
pointer only (licence: NONE) · get_code("76d7c42b9a7c9133")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_json Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/augment_memory_from_standalone_runs.py
pointer only (licence: NONE) · get_code("b85a1300a89a5565")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_jsonl Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/augment_memory_from_standalone_runs.py
pointer only (licence: NONE) · get_code("888f5c53e1db5aa6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_jsonl Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/debate_memory_builder.py
pointer only (licence: NONE) · get_code("70016d2a0a8b58c9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_solution_code Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/build_memory_from_eval_results.py
pointer only (licence: NONE) · get_code("451817235bd5536a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sanitize_code Ran
ran; our contract draft was wrong, not the code
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/debug_utils.py
pointer only (licence: NONE) · get_code("c6a41ea70936e4ee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

execute_code Not yet run
unverified (harvested, no recorded run)
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/execute.py
pointer only (licence: NONE) · get_code("e6aced355e6f72e7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_response Not yet run
unverified (harvested, no recorded run)
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/llm.py
pointer only (licence: NONE) · get_code("bc49cf903440df48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_dataset Not yet run
unverified (harvested, no recorded run)
CHIANGEL/Agora-Opt/code/Agora-Opt/src/debate_memory/generate_with_memory.py
pointer only (licence: NONE) · get_code("a725ed26059672fb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CHIANGEL/Agora-Opt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 21 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2604.25847")
get_code_for_paper("2604.25847")
have("2604.25847")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2604.25847.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2604.25847.svg)](https://syntology.ai/paper/2604.25847)

Connect an agent — have() is free.