When a language-model "manager" splits a job among several worker agents, the pieces often fail because of what they change indirectly, not what they change directly. One agent unplugs a power strip to move it. Another agent's task silently depends on the lamp plugged into that strip. Current multi-agent systems judge a split with a learned score or with another language model reading the plan. Neither sees these knock-on effects unless it happens to reason about them. Our proposal is to take the knock-on effects out of the language model's hands. We write the domain's causal laws once, in a simple "X causes Y when C" form. A classical compiler then expands every action into its full list of direct and indirect effects. Checking whether two sub-tasks interfere then reduces to a set-intersection test that a program can do exactly.
The idea joins two old lines of work to a new one. Causal rule compilation turns human-readable causal laws into successor state axioms: one formula per fact, saying exactly when that fact becomes true, becomes false, or stays as it is. The same compilation also yields add and delete lists for planners. Causal-logical equivalence results explain why these laws must be directional rather than plain logical implications. Multi-agent task decomposition supplies the application, a setting where no formal guarantee currently exists. The claim we test is narrow. Once side effects are compiled into explicit effect lists, a symbolic interference check catches cross-agent conflicts that the strongest LLM-based plan checkers miss. It does so at lower token cost and with few false alarms. The gain should come specifically from the compiled indirect effects, not from simply showing the model the rules.
Where this sits
The multi-agent side motivates the gap. Agent-Oriented Planning in Multi-Agent Systems (AOP) has a manager agent decompose a query into sub-tasks. A small neural network scores whether each sub-task is solvable by a given agent, and an LLM "Detector" checks the plan for completeness and redundancy. Removing that Detector drops Husky-QA accuracy from 43.7% to 36.6%, so verification of the split clearly matters. The Detector has no model of state, however, and cannot tell whether one sub-task's side effects break another's preconditions. LEGO pairs cause and effect analysts with a critic, but its outputs are prose explanations with no formal semantics. Thinking in a Crowd is a warning for any design that relies on LLM critique. With misleading context, Qwen3-8B's accuracy fell from 96.22% to 77.03% with thinking enabled, below the 74.87% it scored with thinking disabled. Explicit reasoning rationalized the bad input. A checker that is itself an LLM inherits this weakness.
The compilation side supplies the method. Compiling Causal Theories to Successor State Axioms and STRIPS-Like Systems gives a four-stage compiler. It starts from Causes(condition, effect) laws, grounds them over the domain's objects, aggregates direct and indirect causes, and simplifies to loop-free successor state axioms and add/delete lists. It reports compile times of 0.5 seconds for a 3-block Blocks World and about 8 seconds for Monkey and Bananas. Causal Theories of Actions Revisited handles feedback loops, such as two interlocked gears, with a two-stage minimization. It is a proof of concept on micro-domains, and the authors leave an operational compiler to future work. We reuse the first compiler directly and use the second only for a cyclic stretch condition.
The equivalence side constrains the design. Early action languages such as An Action Language Based on Causal Explanation showed that writing "wire cut implies alarm" as a plain implication licenses the contrapositive, so a model could "prevent the alarm" by un-cutting the wire. Pearl's Causality in a Logical Setting shows that structural causal models embed into nonmonotonic logic precisely because their equations are directional. Situation Calculus Semantics for Actual Causality proves that chains of successor state axioms, traced backward by a procedure called regression, match the modified Halpern-Pearl definition of actual causation on simple domains. We use this result to attribute a detected conflict to the specific action that caused it. That paper assumes a hand-built action theory and a single fixed sequence of actions.
For an interference checker, the directionality result predicts a specific, testable failure. Encode the laws as symmetric constraints and the checker should raise spurious conflicts through backward inference.
The closest pair-wise bridge, Agent Planning with World Knowledge Model, attacks the ramification problem for LLM agents with learned knowledge retrieved by nearest-neighbour search. It lifts unseen ALFWorld success to 76.87% against 38.05% for GPT-4, and cuts invalid actions from about 50% to about 30%. It is single-agent and implicit, and it gives no check on how a task is split. No work in the file uses compiled effect axioms to verify a multi-agent decomposition before dispatch.
Core Claim
Let a decomposition assign sub-plan $\pi_i$ to agent $i$. Compilation gives each sub-plan three sets. $E_i^{-}$ holds the facts it may make false, directly or indirectly. $P_i$ holds the facts it needs to hold while it runs. $G_i$ holds the facts it must leave true at the end. For agents allowed to run concurrently, the decomposition is interference-free when
$$E_i^{-} \cap (P_j \cup G_j) = \emptyset \quad \text{and} \quad E_j^{-} \cap (P_i \cup G_i) = \emptyset \quad \text{for all concurrent } i \neq j.$$
This is the classical "threat" test from partial-order planning. It is only sound if $E_i^{-}$ really contains the indirect effects. Supplying those indirect effects is exactly what the causal compiler does and what hand-written action descriptions usually omit.
When the check fails, regression over the compiled axioms names the responsible action and the causal chain that produced the clash. The manager agent receives a concrete repair request, either "order $\pi_j$ before $\pi_i$" or "reassign the action that unplugs the strip." It never receives a vague "something may conflict."
Research Program
We will build three components. The first is a rule-authoring step. For each domain, causal laws are either given as gold or drafted by an LLM from a short natural-language description of the domain and then compiled. Both versions are kept so we can measure how rule errors propagate.
The second is the compiler, following Lin's procedure. Grounding is restricted to objects mentioned in the current decomposition, which keeps it tractable. Checking one proposed split needs far less grounding than planning over the whole domain. For cyclic domains we add the two-stage minimization from Lin and Soutchanski.
The third is the checker and repair loop, inserted where AOP's Detector sits. The manager proposes a decomposition. Each worker's sub-plan is mapped to compiled actions; if the mapping fails, that failure is itself reported as an error. The checker runs the intersection test, regression produces conflict explanations, and the manager replans with at most $k$ rounds.
Analysis focuses on when the check is sound. Because the successor state axioms are loop-free and complete for the compiled laws, the test cannot miss a conflict that follows from those laws. The residual risks are therefore missing laws and sub-plans that the mapping step misreads. We measure both separately rather than hiding them in end-task accuracy.
Baselines
The naive reference point is dispatching the manager's first decomposition with no check at all. The strongest existing method is AOP's loop, with its Detector and replanning operations reimplemented on our testbed. Both use the same manager model, the same worker models, the same replanning budget of $k$ rounds, and the same tokens per episode. On its own benchmark AOP reports 43.7% Husky-QA accuracy, against 39.6% for HUSKY and 33.3% for GPT-4o, all from AOP. There is no reported result found on Lacuna for any method on a multi-agent benchmark with shared-state side effects, so all numbers on our testbed will be new.
A third baseline gives AOP's Detector the same gold causal laws as natural-language text in its prompt. This is the key ablation. It isolates whether compilation matters or merely having the rules. Two further ablations isolate the proposal's ingredients. The first compiles only direct effects, with indirect effects dropped. The second encodes the same laws as symmetric implications rather than directional causes.
A fourth baseline is execute-and-repair: dispatch naively, detect failures at run time, and replan in the style of Reflexion, under matched tokens.
Beating the field means three things on the multi-agent testbed at equal or lower token cost. The first is a higher joint success rate than the Detector with rules in its prompt. The second is a lower rate of cross-agent conflicts reaching execution. The third is a checker false-alarm rate low enough that replanning does not eat the gain; we set 10% in advance as the ceiling. We will also report the direct-effects-only ablation. If it matches the full system, the claimed contribution of compiled side effects is false.
Why not just…?
Why not just put the causal rules into the LLM Detector's prompt? This is the real threat. Modern models may reason out a two-step side effect when shown the rules. Our bet is that they miss longer chains and cross-agent combinations, and that misleading or long context degrades them in the way Thinking in a Crowd documents. The rules-in-prompt baseline settles this directly. We stratify results by chain length of the indirect effect, and we expect the gap to be near zero at length one and to widen with depth. If it does not widen, we would drop the compiler and publish the negative result.
Why not just solve the whole problem with a classical multi-agent planner? On small, fully specified domains a planner will be correct and may be cheaper. We will say so. The trouble is that full grounding grows combinatorially with object count, as the file notes for Lin's compiler. Classical planners also cannot take tasks stated in open language, which is what LLM managers are for. We report planner runtime alongside checker runtime as object counts scale. The claim holds only if checking a proposed split stays cheap in regimes where planning from scratch does not.
Why not just execute and replan on failure? Many side effects are irreversible or silent. A spilled container or a deleted file cannot be retried away, and a violated precondition may only surface much later. We measure irreversible-damage events and tokens per success for execute-and-repair against pre-dispatch checking. Where all effects are reversible and cheap, execute-and-repair may win, and we will report that regime.
Why not just learn the world knowledge, as WKM does? WKM reduces invalid actions for a single agent but offers no statement about pairs of sub-plans. It also still leaves about 30% invalid actions. We include a WKM-guided worker variant, using its code, to show whether better individual workers already remove cross-agent conflicts.
Proposed Experiments
The testbed comes from domains in the file, extended to multiple agents. We use multi-agent versions of Blocks World, Monkey and Bananas, and Logistics and Grid from Lin's evaluation, each augmented with causal laws that create indirect effects. Examples are a gripper shared across a stack, or power and lighting laws. We add a two-agent shared-household variant of ALFWorld, in which tasks are split between agents acting in one kitchen, and a cyclic subset built on the gear and circuit examples. Husky-QA serves as a negative control. It has no shared physical state, so the checker should never fire, and success should match AOP's reported 43.7%.
Metrics are joint task success, conflicts reaching execution, checker precision and recall against conflicts labeled by simulating the gold domain, replanning rounds, and tokens and wall-clock time per episode. The decisive checks are these:
- Does compiled checking beat rules-in-prompt, with the gap growing with side-effect chain depth?
- Does removing indirect effects erase the gain?
- Does the symmetric-implication encoding raise false alarms, as the directionality argument predicts?
- How much of the gain survives when the causal laws are LLM-drafted rather than gold?
The fourth check determines whether this is a usable tool or only an upper bound.
References
- Agent-Oriented Planning in Multi-Agent Systems
- LEGO: A Multi-agent Collaborative Framework with Role-playing and Iterative Feedback for Causality Explanation Generation
- Thinking in a Crowd: How Auxiliary Information Shapes LLM Reasoning
- Compiling Causal Theories to Successor State Axioms and STRIPS-Like Systems
- Causal Theories of Actions Revisited
- An Action Language Based on Causal Explanation: Preliminary Report
- Pearl's Causality in a Logical Setting
- Situation Calculus Semantics for Actual Causality
- Agent Planning with World Knowledge Model
- ALFWorld: Aligning Text and Embodied Environments for Interactive Learning