Manuscript Offprint
arXiv:2610.36289Compatibility and future-proof testing for multi-agent systems
Yueshan Li, Lorenzo Fiaschi, Andrea Censi, and Emilio Frazzoli
Institute for Dynamic Systems and Control
ETH Zurich
Zurich, Switzerland
Abstract—Independently developed autonomous agents, such as autonomous vehicles, must guarantee joint compatibility, such as safety and task-completion requirements, when they operate in a shared environment. Existing methods require a centrally designed specification, or interaction mechanism before any agent is deployed. However, such centralized design is unrealistic when agent designs are confidential to their developers, and it is not flexible enough to accommodate future agent designs. We study a bi-level structure in which a regulator coordinates developers by publishing seed agents, and each developer independently tests its agent to ensure that it is compatible with every seed-compatible agent, a property we call future-proofness. Under this structure, joint compatibility is guaranteed for any agents that are designed and tested independently, without any coordination with each other. In this work, we first formulate compatibility for general multi-agent systems and show why it is not trivially implied by seed-compatibility. We then characterize the future-proof agents as the closure of the seed and show that this closure is monotone in the seed. Finally, we study a class of executable tests that involve interaction with the seed alone, and we ask to what extent such tests can distinguish the future-proof agents.
Index Terms—autonomous agents, multi-agent systems, certification, safety
I. INTRODUCTION
Autonomous agents increasingly take part in daily life and share their environment with human beings and with other autonomous agents. These agents serve different purposes, come from different vendors, and are designed independently. Guaranteeing compatibility among them is therefore a challenge. For instance, as many as 26 companies have obtained permits to test automated vehicles on public roads in California [1], and drone operators fly through overlapping airspace [2]. Beyond robotics, large-language-model (LLM) agents are expected to cooperate with human beings and with each other [3]. In all these cases, a population of autonomous agents is deployed by different developers without direct coordination. Nevertheless, their joint behavior must remain acceptable, so that safety and efficient task completion are guaranteed. In short, they must be compatible.
Compatibility is typically certified through centralized design. For instance, in aviation a conflict-resolution protocol is imposed on every participant [4], and safety is guaranteed as long as all participants follow the protocol. However, centralized design is unrealistic when agent designs are confidential to their developers and regulators have no right to pre-approve them [5]. Moreover, agents can be updated over the air after

Fig. 1: Scheme of future-proof testing. A regulator publishes the seed agents (top). Each developer tests its own agents against the seed alone (sides), with no communication between developers. Any agent that passes joins the compatible agent set (centre). It is compatible with every passing agents, although they are never tested against each other.
deployment, and a single update can change two million vehicles overnight [6]. As a result, new testing concepts are needed that rely neither on the implementation details of the agents nor on coordination between developers.
We propose future-proof testing, illustrated in Figure 1. A regulator publishes a set of agents that serves as the common reference for all developers, which we call the seed. The seed is the set of agents that the regulator want to be compatible with all the future ones. For instance, this set can contain the agents already deployed, or represent the conventions that the regulator wants to see in their system. Each developer then tests its agent independently against the seed, without coordination with other developers. Once an agent passes the test, it is compatible with the seed and with every other passing agent, even though the passing agents are never tested against each other.
Seed-based coordination of this kind is already practiced. For example, UN Regulation 157 scripts a family of cut-in manoeuvres that an automated lane-keeping system must survive [7]. However, designing the passing criterion of such a test is non-trivial. Section III-A gives a simple counterexample in which passing against the seed does not imply that the certified agents are safe together.
This paper establishes the theoretical foundations of future-proof testing with safety guarantees. We propose a general formulation of multi-agent systems and acceptance criteria. On this basis, we define a compatible set as a set of agent designs of which any combination can be deployed without violating the acceptance criteria. Within this framework, we first show, both by example and in theory, that seed compatibility does not in general imply mutual compatibility. We then characterize the future-proof agents, which are the target of future-proof testing and provide the desired safety guarantees. Surprisingly, the set of future-proof agents grows with the seed, so a more demanding reference admits more future-proof agents. Finally, we ask what a developer can establish from testing against the seed alone. We answer with a lower bound on the testing loss of seed-based testing, that is, the future-proof agents that no such test can identify.
This paper makes three contributions.
-
We provide theoretical foundations for seed-based coordination and explain why testing against the seed alone does not naturally lead to compatibility among agents.
-
We characterize the target of correct seed-based testing, namely the future-proof agents, and bound the testing loss of seed-based testing from below.
-
We showcase the theory in two case studies: a chain of braking vehicles and a decentralized path finding in a grid-world warehouse.
Formal verification of multi-agent systems. Formal verification uses mathematical methods to prove that a system satisfies a given specification that encodes safety conditions. One widely used approach is reachability analysis, which computes the reachable sets of a system from a target set and checks whether they ever violate the specification. This problem can be formulated as a differential game, whose solution is characterized by the Hamilton–Jacobi (HJ) equations [8]. The formulation is theoretically sound, but solving the HJ equations is computationally demanding and does not scale well with the number of agents [9]. Furthermore, since the specifications of multi-agent systems inherently depend on the joint state of multiple agents, the decomposition techniques [10] that apply to many single-agent systems do not extend to general multi-agent systems. The method has therefore been demonstrated only on small-scale multi-agent systems [11] or on large-scale systems with special structure, such as sequential trajectory planning [12].
To overcome the computational complexity of HJ reachability, set propagation [13] approximates the reachable sets by propagating the initial set through the system dynamics. With specific set representations and system dynamics, set propagation can run in real time and has been applied to the online verification of autonomous vehicles against other road users [14]. The method is limited to short-horizon verification, however, since the sets are only over-approximations of the actual reachable states and their error compounds over time.
Beyond computational complexity, formal verification is a posteriori: it requires knowledge of the mathematical model of each agent, as well as of how the agents interact. Such methods are not applicable to our setting, where agents must be tested independently and must guarantee safety alongside agents that are unknown at testing time.
Synthesis of safe multi-agent systems. Synthesis methods provide a multi-agent system with safe-by-construction guarantees. One synthesis approach is the control barrier function (CBF) method [15], which encodes a control-invariant set and overwrites any action that would drive the system out of it. For control-affine systems, the CBF can be cast as a quadratic program and solved efficient for both single-agent systems [16, 17] and centralized multi-agent systems [18, 19]. Decentralizing the CBF-based controllers, however, is nontrivial. It typically requires hand-crafted responsibility splitting rules to decompose the coupled safety constraints into local ones [18, 20, 21], and such rules face an increasingly severe trade-off between conservatism and infeasibility as the number of agents grows.
Instead of committing every agent to a prescribed control law, an alternative is to coordinate their behaviors through behavioral contracts. Originating in assume-guarantee reasoning for concurrent software [22, 23], a behavioral contract specifies how an agent should behave given certain behaviors of the others [24–26]. The contracts are carefully designed such that once satisfied by all agents, the joint safety of the system is guaranteed. For instance, Responsibility-Sensitive Safety [27] prescribes the minimum distances a vehicle must maintain from other road users under worst-case assumptions on their kinematics. In [28], each vehicle is required to follow a hierarchy of traffic rules under the assumption that all others are homogeneous and follow the same rules. In [29], the contract confines each agent to a predefined envelope specified in signal temporal logic.
Although behavioral contracts scale better than CBFs and admit a wider range of compliant agent designs, they share the drawback of pre-committing to a specific conflict-resolution mechanism. As systems grow more complex and agents are expected to exhibit richer behaviors for more demanding tasks, designing contracts that jointly guarantee safety becomes increasingly difficult. Moreover, how the choice of contract affects the permissiveness of the resulting multi-agent system is not well understood. Furthermore, synthesis must take place before the agents are deployed, which makes these approaches less applicable to agents already in the field, such as existing human drivers on roads.
Standards for joint safety. A technical standard specifies requirements that products are expected to satisfy before entering the market. While most requirements and the associated conformity assessments concern the performance of a product in isolation, standards in several fields have recently begun to address the joint behaviors of products that interact with each other.
For example, the interconnection standard for distributed energy resources (DERs) [30] specifies the interface behavior each DER must exhibit, such as voltage regulation and anti-islanding, with the aim of keeping the grid stable and safe as conformant DERs are interconnected. The conformity assessment of each DER is carried out independently against a common, standardized set of grid conditions [31]. Although effective in practice, the prescribed interface behaviors and test conditions are derived from power-system analysis and established operating limits, and come with no formal guarantee that the resulting interconnected system is safe.
IEEE Std 2846-2022 [32], which concerns assumptions in safety-related models for automated driving systems, represents a step toward incorporating interaction into autonomous vehicle standards. It specifies a minimum set of reasonably foreseeable assumptions on the kinematic behavior of other road users that the safety-related model of the ego vehicle must account for. However, the standard prescribes neither a conformity assessment procedure nor the behavior expected of the ego vehicle, and it provides no guarantee that conformant vehicles remain safe when interacting with one another.
These conformity assessments resemble our notion of future-proof testing in form: each agent is assessed independently against a common set of reference setups, and the requirements are imposed on agent behaviors rather than its implementation. However, there is still no theoretical foundation for choosing the reference setups and for deciding which agents to accept so that joint safety is guaranteed. Our theory fills this gap by formally characterizing the agents that the tests should admit in order to guarantee joint safety, and by showing how the choice of reference affects both the set of agents that can in be admitted and the difficulty of identifying them.
III. FUTURE-PROOF COMPATIBILITY TESTING
In this section, we propose a general framework for future-proof testing. We first show that safety with the seed is not sufficient for certification, because agents that are each safe with the seed are not necessarily safe together. We then characterize exactly which agents are future-proof, and show that enlarging the seed makes more agents future-proof, although it constrains developers more. Finally, we bound the testing loss of seed-based testing, that is, the future-proof agents whose future-proofness a developer cannot establish from the seed alone.
We first illustrate these findings on a simple example of points in the plane, and then develop the theory.
A. Introductory example
Consider agents that are points in the plane. A set of points is safe if any two of them are at most apart. The regulator publishes a set of seed points. Each developer then places a point knowing only the seed. Nevertheless, all points, including the seed, must be safe together.
Safe with the seed, yet unsafe together. Let the seed be a single point . The points that are safe with form a disk of radius centered at , shown as the gray region in Figure 2a. However, two such points may lie on opposite sides of , up to apart, and hence be unsafe with each other. Even in this simple, abstract setting, safety with the seed therefore does not imply joint safety, and a stricter certification criterion is needed. Section III-B identifies the root cause of this phenomenon for general multi-agent systems.
More seed points, more future-proof agents. An agent is future-proof if it is safe together with the seed and with any group of agents that is itself safe with the seed. For the single seed , only itself is future-proof. Indeed, for any other point x, there is a point at distance from on the side opposite to x, which is safe with the seed yet unsafe with x. Adding a second point to the seed, as shown in Figure 2b, shrinks the set of points that are safe with the seed. However, more points become future-proof, because each of them now needs to be safe with fewer seed-safe points. As more points are added to the seed, the set of seed-safe points shrinks while the set of future-proof points grows, until the two eventually coincide. Figure 2c shows this extreme case, in which every point that is safe with the seed is future-proof. This is the best case for a given seed, since no point that is safe with the seed is rejected. Section III-C formally characterizes the future-proof agents and shows that the same trend holds for general multi-agent systems.
Checking against the seed alone. In this example, whether a point is future-proof can be decided from its distances to the seed points alone, without knowing how many other points will be placed or where. With the single seed , a point is future-proof if and only if it coincides with . With two seed points, membership in the future-proof region (purple in Figure 2b) is likewise determined by the distances to and . In the extreme case, a point is future-proof if and only if it is within of every seed point. In general, which future-proof agents can be distinguished from non-future-proof ones is a property of the seed. Section III-D characterizes this property as the separable set of the seed, which lower-bounds the testing loss of seed-based testing.
B. Compatibility Formulation
In this section we first introduce the general formulation of the multi-agent system and the associated notions of compatibility. We then consider the intended end product of our setup, namely which agents should ultimately be admitted, given a seed, so that joint compatibility is guaranteed. In particular, we show that checking seed-compatibility alone is not sufficient to guarantee joint compatibility.
An arena collects the four components needed to describe a shared environment of interacting agents, namely the set of all

Fig. 2: Motivating example. Left. Two points that are each safe with the seed can be unsafe with each other, and only itself is future-proof. Middle. A second seed point shrinks the seed-safe region but enlarges the future-proof region. Right. In the extreme case, the seed-safe region coincides with the future-proof region.
agents that may enter the system; the set of all outcomes that can be observed when agents operate together; an outcome generator specifying which outcomes are observed for a given group of agents; and the subset of outcomes that are deemed unacceptable. In a robotics context, for instance, a typical observable outcome is the joint trajectory of the agents, and a natural unacceptable outcome is a collision between them. The outcome generator can then be instantiated as a simulator that rolls out a given group of agents over a collection of configurations.
We model the input of the outcome generator as an arrangement of agents, which captures the general case in which the environment offers a set of tasks and each agent can be assigned to any one of them.
Definition 1 (Arrangement). Let be a set. An arrangement of elements from is a finite sequence with and for all .
We denote the space of all such sequences from F by , i.e.
where denotes the n-fold Cartesian product of F.
Definition 2 (Arena). An arena consists of the following four components.
• An agent space .
• An observable outcome space .
• An outcome generator .
• A set of unacceptable outcomes .
Example 1 (Point arena). The motivating example is captured by the arena with
• , i.e. each agent is a point in the plane.
• , the possible distances between agents.
• , which returns the largest pairwise distance within an arrangement.
• , i.e. distances exceeding the threshold .
Remark 1. The arena definition generalizes to non-deterministic systems if the outcome generator outputs all outcomes under bounded disturbances, or all outcomes above a certain likelihood under stochasticity.
A group of agents is said to be compatible only when all arrangements of its members are acceptable.
Definition 3 (Compatible set). A set of agents is compatible in arena iff , .
We denote the collection of all compatible sets in arena A as .
By Definition 3, if a set of agents is compatible, then any of its subsets is also compatible. This property is stated below and proven in Appendix A.
Property 1 (Compatibility is closed under subsets). If and , then .
The seed published by the regulator can be any set of agents, as long as it is itself compatible.
Definition 4 (Seed). A seed is a compatible set .
Given a seed, the ultimate goal of testing is to admit a set of agents that form a compatible set together with the seed. We establish the basic properties of such sets and leave the proofs to Appendix A.
Definition 5 (Compatible sets from a seed). Given a seed , we write for the collection of compatible sets containing the seed.
Definition 6 (Maximal compatible set from a seed). Given a seed , a compatible set is maximal iff , .
Proposition 1 (Existence of a maximal compatible set from a seed). Given a seed , a maximal compatible set from always exists.
Example 2. In the point arena, any set with diameter at most is compatible, and the seed can be any such set. The maximal compatible sets from a seed are the bodies of constant width exactly that contain the seed, which are in general not unique [33].
A straightforward approach to admitting agents is to check whether each of them is compatible with the seed. In the following we show that this check is insufficient to guarantee joint compatibility.
Definition 7 (Seed-compatible agents). Given a seed , the set of seed-compatible agents is
The following theorem reveals the connection between the seed-compatible agents and the maximal compatible sets from the seed.
Theorem 1 (Seed-compatible agents form the union of maximal compatible sets). Given a seed ,
where denotes the collection of all maximal compatible sets from .
Moreover, iff the maximal compatible set from is unique.
Proof. We first show that every is contained in some . Since is compatible, applying Proposition 1 to the seed gives a maximal compatible set from , which is also maximal from because and every superset of contains .
For the equality, let . Then is contained in some , so lies in the union. Conversely, if for some , then is compatible by Property 1, so .
For the uniqueness condition, if , then the equality gives . Conversely, let and let , which exists by Proposition 1. For every , the set is contained in by the equality, so it is compatible by Property 1 and contains . Hence by the maximality of . Thus every equals .
By Theorem 1, whenever the maximal compatible set from the seed is not unique, one can find seed-compatible agents that are incompatible with each other. Such non-uniqueness is common. Even in the simple geometric setting of the motivating example, the maximal compatible set is unique only in special cases. In fact, each maximal compatible set can be viewed as the set of agents committing to a specific convention. For instance, two conventions prevalent worldwide are driving on the left or on the right side of the road. Each convention forms a maximal compatible set, yet two cars that follow different conventions are not compatible with each other.
C. Future-proof agents are characterized by the closure of the seed
As seen in the last section, being seed-compatible does not guarantee mutual compatibility, because different developers can commit to different conventions without coordination. Therefore, in this section we introduce the concept of future-proof agents admitted by a seed. Such agents are not only seed-compatible but also do not pre-commit to any convention. Hence they are guaranteed to be compatible with any other future-proof agent, and they remain compatible once the regulator commits to a specific convention.
We write C for when the arena is clear from the context.
Definition 8 (Future-proof agent admitted by a seed). Given a seed , an agent is future-proof if , . The set of all future-proof agents admitted by is denoted by .
The set of future-proof agents turns out to be characterized by the closure of the seed, which is defined as follows.
Definition 9 (Closure of a seed). The closure of a seed is the intersection of all maximal compatible sets from , i.e.
Theorem 2 (The closure characterizes future-proof agents). Given a seed , an agent is future-proof if and only if , i.e. .
Proof. ( ) Let and . By Theorem 1 there exists with . Since , , which implies that is compatible by Property 1. Furthermore, we have , which means . Since is arbitrary, .
( ) Let and . Since , Definition 8 gives , and the maximality of implies . Since is arbitrary, .
Definition 9 defines a standard closure operator on the space of compatible sets. Below we prove its monotonicity. The remaining properties of a closure operator are proven in Appendix A.
Property 2 (Closure of a seed is monotone). For any compatible sets , we have .
Proof. We first show . Let . Then is compatible and , so . Since is maximal, for every , the set is not compatible, hence . Thus . An intersection over a smaller collection of sets is larger, so
The monotonicity explains the observation in Section III-A, where extending the seed admits more future-proof agents. From the perspective of conventions, extending the seed means that the regulator has committed to a more specific convention. This rules out the maximal compatible sets that do not contain the new seed agents, and the intersection of the remaining sets contains more future-proof agents.
Compared with the behavioral contract approach, our setup coordinates conventions through instances of seed agents instead of a specification of behaviors. Nevertheless, the desired end product is in both cases a set of compatible agents. The difference is that a behavioral contract is designed to commit to a particular convention, so that all agents satisfying it form a compatible set. In many environments, designing a particular convention in advance can be challenging given the existing agents, and it can be overly restrictive for future agent designs. Therefore, in our setting we leave the conventions implicit in the regulator's choice of seed, and we keep open the possibility of extending the seed to commit to a more specific convention.
D. Future-proof single-agent tests
In this section we switch the perspective to the developer and discuss when, and to what extent, developers are able to test the future-proofness of their agents without coordinating with other developers. Specifically, we define seed-only tests, whose results are determined by interaction with the seed alone, and we discuss their fundamental testing loss.
A seed-only test consists of a set of single-agent experiments.
Definition 10 (Single-agent experiment). Let be a placeholder. Given a seed , the set of single-agent experiments is . For and , denotes the arrangement obtained from by replacing every occurrence of with .
Two agents that yield the same outcome in every single-agent experiment cannot be told apart by the seed. We call such agents -equivalent.
Definition 11 ( -equivalence). Given a seed , two agents are -equivalent, written , iff
The equivalence class of under is denoted by .
Under a seed-only test, all -equivalent agents are indistinguishable, so the same test must either admit all of them or reject all of them.
Definition 12 (Seed-only test (SOT)). Given a seed , a seed-only test is a predicate that satisfies
Among all possible designs of SOTs, we focus on those that are sound and have a small testing loss. We call a sound SOT a future-proof SOT, since every agent it admits is future-proof.
Definition 13 (Admissible set of SOT). Given a seed and a SOT , the admissible set of is defined as
Definition 14 (Future-proof SOT). Given a seed , a SOT is future-proof iff .
The testing loss of a future-proof SOT consists of the future-proof agents that it fails to admit. It depends on the design of the SOT. For instance, an extremely conservative SOT that rejects all agents is future-proof, but its testing loss is the entire set . Here we discuss the lower bound on the testing loss over all possible SOT designs, which is determined by the seed and the arena alone.
Definition 15 (Testing loss of a SOT). Given a seed and a SOT , the testing loss of is .
Definition 16 (Separable future-proof agents). Given a seed , the set of separable future-proof agents consists of all agents such that .
Proposition 2 (The separable set lower-bounds the testing loss). Given a seed , every future-proof SOT satisfies .
Proof. If a future-proof SOT admits , then it admits by Definition 12, so by Definition 14. Hence .
Proposition 2 shows that the separable set is the best that any future-proof SOT can achieve, and it is a fundamental property of the arena and the seed. Specifically, the lower bound depends on the outcome space. Refining the outcomes, for example collecting the trajectories instead of a Boolean indicator of safe or not, refines the equivalence classes and can only enlarge the separable set. Case study 1 shows an example of the arena where any seed gives , so zero-loss SOT can in theory be achieved for any seed. In other cases, such as case study 2, the testing loss also depends on the seed selection. Intuitively, a seed whose experiments elicit more diverse interactions separates more agents.
We leave seed selection and practical SOT design as future works, and we discuss them in Section V.
IV. CASE STUDY
In this section, we consider two classical robotic applications, autonomous driving and warehouse delivery, and show that identifying compatible agent sets is non-trivial even with simple environments and agents. Specifically, we formulate each application within our framework and demonstrate that admitting all seed-compatible agents can lead to an incompatible set, and that the choice of seed strongly shapes the resulting future-proof agents. We further examine whether a seed admits zero testing loss and describe the zero-loss SOT when it exists.
A. Autonomous driving: chain of vehicles on a single lane
Setup. Consider a chain of vehicles that follow one another on a straight lane with a common velocity and a common bumper-to-bumper gap , as shown in Figure 3.
The vehicles differ in their braking capability, which we parameterize as , where is the emergency braking rate and is the reaction delay. Hence the agent space is the continuous set .
In such car-following scenarios, whenever the leading vehicle brakes abruptly, the following vehicle must react and brake in time to avoid a collision. This safety requirement can be checked from the minimum signed gap between consecutive agents over the entire rollout, where the gap is negative whenever the two agents overlap. Formally, the outcome space is , where is the vehicle length, and the set of unacceptable outcomes is .
The outcome generator initiates an emergency brake of the leading vehicle and forward-simulates the resulting motion of all vehicles according to their braking capabilities. It then records the minimum signed gap attained during the rollout.
Seed-compatible agents do not form a compatible set. We begin with a single seed agent, i.e. , and identify the corresponding seed-compatible agents. Let denote a chain segment in which follows . An agent is compatible with if and only if the following three conditions hold.
-
In the segment , the braking distance of must be sufficiently short, which depends on both of its parameters.
-
In the segment , the braking rate of must be sufficiently mild for to follow safely.
-
In the segment , the two agents share the same braking rate, so must react before the gap is exhausted.
The agents that satisfy all three conditions constitute the set of seed-compatible agents, as shown in Figure 4a.
However, not all seed-compatible agents are compatible with each other. Consider two agents and with , where is the slowest admissible reaction. When follows , a rear-end collision is inevitable, because consumes the entire gap during its reaction delay and then needs additional distance to stop. By Theorem 1, this counterexample implies that the maximal compatible sets are non-unique. In fact, as Figure 4b reveals, there are infinitely many maximal compatible sets, and each of them is strictly smaller than the seed-compatible set. Each maximal compatible set is determined by a maximal allowed braking rate and the corresponding longest braking distance, which together can be interpreted as the convention that all of its agents commit to. The future-proof agents, in contrast, are those that are compatible with any braking rate allowed by the seed. In other words, they do not pre-commit to any convention.
Future-proof agents. Next, we illustrate how the choice of seed shapes the future-proof agents. Since the maximal compatible sets are determined by the maximal braking rate and the longest braking distance, we let denote the maximal braking rate in the seed. Likewise, we let denote the braking distance of an agent and the longest braking distance in the seed. The closure of the seed then has the following expression.
(1)
In words, a future-proof agent must brake no harder than any seed agent, and it must stop no later than the slowest-stopping seed agent unless it can safely follow even the strongest breaker in . As the seed expands, both B and H are non-decreasing. Therefore, the closure is non-decreasing as well.
Figures 4b to 4d show how the maximal compatible sets and the future-proof agents evolve as the seed expands. From Figure 4b to Figure 4c, the seed grows from a singleton to a set of agents. As a result, the maximal compatible sets that do not contain the new seed are ruled out, and the set of future-proof agents grows. The limit of this process is reached when the seed commits to a single convention. In Figure 4d, only one

Fig. 3: Vehicles following one another on a straight road at uniform gap and speed . The outcome generator triggers an emergency stop of the leading vehicle (red) and monitors for rear-end collisions between adjacent vehicles.

(a)
(b)

(c)
(d)
Fig. 4: Seed-compatible, maximal compatible, and future-proof agents in the single-lane example. (a) The green region depicts all agents that are individually compatible with the seed . The pair demonstrates that the set is not itself compatible. (b) Each outline shows a maximal compatible set, and the purple region depicts their intersection, namely the future-proof closure. (c) Extending the seed (red box) from in (b) admits more future-proof agents, so the purple region grows. (d) Further extending the seed (larger red box) collapses all maximal compatible sets to a unique one, and all seed-compatible agents become future-proof.
maximal compatible set remains, and every seed-compatible agent is then future-proof.
We note that a seed admitting a single maximal compatible set is desirable for testing. However, identifying such a seed is challenging for large agent spaces and complex outcomes, because an analytical expression of the closure, such as Equation (1), is usually unavailable. Therefore, how to select a seed that represents the desired conventions remains an open question.
SOTs with zero testing loss. We now show that in this example every non-empty seed admits zero testing loss. Consider again the seed . Every seed-compatible agent is uniquely identified by the outcomes of the three experiments ( ), , and . Specifically, the first outcome uniquely identifies , and the last two are strictly monotone in once is known, so they uniquely identify


conflict resolved
in collision
both yield
Fig. 5: Warehouse delivery setup. Left. An example configuration. The yielding zone of the blue robot at the center is shown, and the dashed cells are the candidate starts and goals. Right. An encounter can lead to three outcomes, namely the conflict is resolved, the agents collide, or both agents yield.
b. The same reasoning holds when the seed contains more agents. As a result, all future-proof agents are separable for every non-empty seed, and hence SOTs with zero testing loss exist.
Let denote the outcome of the segment . For , a zero-loss SOT admits an agent iff
The first condition requires the admitted agent to brake no harder than the seed agent. The second condition requires its braking distance to be no longer than that of the seed agent, or short enough to safely follow the strongest braker that can exist in the agent space. Since the seed is compatible with itself, we have . Therefore, Equation (2) is stricter than the seed-compatibility condition, as expected, since the latter offers no guarantee of set compatibility.
B. Warehouse delivery: multi-agent path finding in grid world
Setup. We consider a set of agents operating in a grid world with obstacles, as illustrated in Figure 5. Each agent acts in a decentralized fashion.
All agents share the same path-planning strategy. At every tick, an agent moves to the adjacent cell with the lowest cost-to-go to its goal cell, unless it must yield to other agents. The agents differ in their yielding zone, which is a subset of the eight cells surrounding the agent in the block ahead of it. An agent stops only if an unfinished agent occupies a cell in its yielding zone. Since the yielding zone has possible options, the agent space has cardinality .
As shown in Figure 5, an encounter between agents with different yielding zones may result in conflict resolution, a collision, or a deadlock. We say that a combination of agents is acceptable if, in all arrangements, the agents are collision-free

Fig. 6: The 38 self-compatible agents, each drawn as a robot with its yielding zone, arranged by the side they yield to. The outlines mark the largest compatible set among the left-yielding agents (five agents) and among the right-yielding agents (four agents). No maximal compatible set contains more than five agents.
and reach their goals within a reasonable amount of time. The outcome is a pair of Booleans that indicate the occurrence of a collision and of a timeout, so and . We set the time limit of an instance to 10 times the longest cost-to-go among its tasks.
The outcome generator runs a synchronized simulation on a collection of maps and goal assignments, and it monitors the occurrence of collisions and timeouts. The configurations used in this case study are detailed in Appendix B.
Randomness is introduced to break symmetry and mitigate deadlocks. Specifically, an agent yields for only 1, 2, or 3 ticks with equal probability, and then it moves to an adjacent free cell. In addition, when multiple cells have the same cost-to-go, one of them is picked at random.
Self-compatible agents are rarely compatible with one another. We begin by identifying all self-compatible agents. In our framework, these are the seed-compatible agents of the empty seed . As shown in Figure 6, 38 of the 256 agents are self-compatible. Every one of them yields to at least one of the two front-diagonal cells. We group them by that side into 18 yield-to-left agents, 16 yield-to-right agents, and 4 agents that yield to both sides.
Self-compatibility, however, does not imply mutual compatibility. The 38 agents induce 96 maximal compatible sets, whose sizes are shown in the histogram of Figure 6. Most of the maximal compatible sets consist of a single pair of agents, and the largest set contains only five agents. As a result, if all self-compatible agents are permitted in the environment, they are very likely to be incompatible with each other.
Although the compatibility results may change due to randomness, a collision between a yield-to-left and a yield-to-right agent is unavoidable. Therefore, any maximal compatible set contains agents of at most one of these two kinds. In other words, each maximal compatible set commits to a single yielding convention.
The seed determines which maximal compatible set is

Fig. 7: Maximal compatible sets containing agent 5, one per column. Agents 1–5 form the only compatible set of five, and a–d are other agents. With , the closure is the seed itself. Adding agent 2 leaves two maximal sets and , whereas adding agent 1 leaves only the five-agent set, so .
admitted. We now examine how the choice of seed shapes the future-proof agents, using the five-agent compatible set labeled 1 to 5 in Figure 7. The figure also shows all six maximal compatible sets to which agent 5 belongs. With the single-agent seed , the closure is the intersection of all plotted maximal compatible sets, which have only the seed in common. How much the closure grows depends on which agent is added to the seed. Adding agent 2 leaves two maximal compatible sets and enlarges the closure only to . Adding agent 1 instead leaves the five-agent set as the unique maximal compatible set, so the closure becomes and every seed-compatible agent is future-proof. In other words, the second seed agent commits the arena to one convention, and committing to the more selective agent 1 admits more agents.
Zero testing loss requires a unique maximal compatible set. In this case study, a seed admits a zero-loss SOT only if it lies in a unique maximal compatible set. The restriction stems from the Boolean outcome. Every seed-compatible agent yields the same outcome, namely neither a collision nor a timeout, in all experiments with the seed, so the seed-compatible agents form a single -equivalence class. Hence, if the seed lies in several maximal compatible sets, not all seed-compatible agents are future-proof, and none of the future-proof agents is separable from the non-future-proof ones. Consequently, no future-proof SOT admits any agent.
There are two ways to enable a meaningful SOT. One is to enrich the outcome space with more information, such as the trajectories of all agents. The other is to choose the seed such that it admits a unique maximal compatible set.
V. CONCLUSION
This paper establishes a theory of compatibility for multi-agent systems. The framework is general in three respects. First, it applies to any multi-agent system and any specification, since an arena requires only an agent space, an outcome generator, and a set of unacceptable outcomes. Second, it is agnostic to agent design, because agents enter the theory solely through the outcomes they produce. Third, it accounts for both the agents that exist today and the agents admitted in the future, which is the setting in which deployed systems evolve. Within this framework, we formalized compatibility, characterized the future-proof agents permitted by a seed as its closure, and introduced seed-only tests together with a lower bound on their testing loss.
The results open two research directions. The first is seed selection. The seed determines not only the extent of the closure but also the testing loss, as both case studies demonstrate. A principled method for choosing a seed that admits many future-proof agents while keeping the testing loss small is therefore of immediate practical value. The second is the design of future-proof SOTs. The separable set bounds what any future-proof SOT can admit, yet computing it requires the closure and is in general intractable. Practical SOTs must therefore approximate the separable set from inside, and the central question is how to trade permissiveness against computational cost.
Throughout this work, the agent space is fixed, whereas in practice it grows as new designs appear. For a given seed, such growth can only reduce the existing future-proof agents, because new agents may form additional maximal compatible sets with which some existing future-proof agents are incompatible. The same holds for the separable future-proof agents. Indeed, a new agent may be -equivalent to an existing future-proof agent without being future-proof itself. Enlarging the seed counters both effects, as it enlarges the closure and refines the equivalence classes. We therefore regard the stability of the closure and the separable set under an expanding agent space as part of the seed selection problem, which we leave for future work.
APPENDIX A PROOFS
Proof of Property 1. , so holds for every .
Proof of Proposition 1. The idea is to grow by adding agents as long as compatibility is preserved. By Zorn's lemma, this process terminates at a maximal set as long as every chain of growing compatible sets has a compatible upper bound.
Order by inclusion, which is non-empty since . Let be a chain. If , then is an upper bound of the chain. Otherwise, let and let . For each entry , there exists such that . Since the chain is totally ordered, the largest of the sets contains all entries, and we denote it by . Since is compatible and , we have . As is arbitrary, is compatible, and gives . Hence every chain in has an upper bound in , and by Zorn's lemma has a maximal element with respect to inclusion. That is, for every , so is a maximal compatible set from by Definition 6.
Property 3 (Future-proof closure of a seed is a closure operator). The Future-proof closure operator is a closure operator on the space of compatible sets C, i.e. it satisfies
(C1)
(C2)
(C3)
Proof of Property 3 (closure operator). (C1) holds because for all , so . (C2) holds by Property 2.
(C3) holds Let be a compatible set. We denote . , we have that is a maximal compatible set and . Thus . Similarly, , we have that is a maximal compatible set and . Thus . Therefore, , and we have .
APPENDIX B
IMPLEMENTATION DETAILS OF SECTION IV-B
The map collection three corridor scenarios, which size , and , and 4, 5 and 6 agents respectively. 360 instances are created by randomly select the start and goal assignments from the pockets on one of the three maps. The trivial instances where blind agents can solve are filtered out and not counted in the 360 instances.
REFERENCES
[1] California Department of Motor Vehicles, “Autonomous vehicle testing permit holders,” https://www.dmv.ca.gov/portal/vehicle-industry-services/autonomous-vehicle-testing-permit-holders/, 2026, accessed Oct. 6, 2026.
[2] ASTM International, “ASTM F3548-21: Standard specification for UAS traffic management (UTM) UAS service supplier (USS) interoperability,” ASTM International, West Conshohocken, PA, USA, Tech. Rep., 2021.
[3] L. Hammond et al., “Multi-agent risks from advanced AI,” arXiv:2502.14143, 2025.
[4] Federal Aviation Administration, “Introduction to TCAS II, version 7.1,” U.S. Department of Transportation, Federal Aviation Administration, Tech. Rep., 2011.
[5] National Highway Traffic Safety Administration, “Notice regarding the applicability of NHTSA FMVSS test procedures to certifying manufacturers,” Federal Register, vol. 85, p. 83168, Dec. 2020.
[6] —, “Part 573 safety recall report 23v-838,” NHTSA, Tech. Rep., 2023.
[7] United Nations Economic Commission for Europe, “UN regulation no 157: Uniform provisions concerning the approval of vehicles with regard to automated lane keeping systems,” Official Journal of the European Union, L 82, pp. 75–137, Mar. 2021.
[8] I. M. Mitchell, A. M. Bayen, and C. J. Tomlin, “A time-dependent Hamilton–Jacobi formulation of reachable sets for continuous dynamic games,” IEEE Transactions on Automatic Control, vol. 50, no. 7, pp. 947–957, 2005.
[9] S. Bansal, M. Chen, S. Herbert, and C. J. Tomlin, “Hamilton–Jacobi reachability: A brief overview and recent advances,” in IEEE Conference on Decision and Control (CDC), 2017.
[10] M. Chen, S. L. Herbert, M. S. Vashishtha, S. Bansal, and C. J. Tomlin, “Decomposition of reachable sets and tubes for a class of nonlinear systems,” IEEE Transactions on Automatic Control, vol. 63, no. 11, pp. 3675–3688, 2018.
[11] A. Lin and S. Bansal, “Generating formal safety assurances for high-dimensional reachability,” in 2023 IEEE International Conference on Robotics and Automation (ICRA), 2023, pp. 10525–10531.
[12] S. Bansal, M. Chen, K. Tanabe, and C. J. Tomlin, “Provably safe and scalable multivehicle trajectory planning,” IEEE Transactions on Control Systems Technology, vol. 29, no. 6, pp. 2473–2489, 2021.
[13] M. Althoff, G. Frehse, and A. Girard, “Set propagation techniques for reachability analysis,” Annual Review of Control, Robotics, and Autonomous Systems, vol. 4, no. 1, pp. 369–395, 2021.
[14] M. Althoff and J. M. Dolan, “Online verification of automated road vehicles using reachability analysis,” IEEE Transactions on Robotics, vol. 30, no. 4, pp. 903–918, 2014.
[15] P. Wieland and F. Allgöwer, “Constructive safety using control barrier functions,” in IFAC Symposium on Nonlinear Control Systems (NOL-COS), ser. IFAC Proceedings Volumes, vol. 40, no. 12, 2007, pp. 462–467.
[16] A. D. Ames, J. W. Grizzle, and P. Tabuada, “Control barrier function based quadratic programs with application to adaptive cruise control,” in IEEE Conference on Decision and Control (CDC), 2014, pp. 6271–6278.
[17] A. D. Ames, X. Xu, J. W. Grizzle, and P. Tabuada, “Control barrier function based quadratic programs for safety critical systems,” IEEE Transactions on Automatic Control, vol. 62, no. 8, pp. 3861–3876, 2017.
[18] L. Wang, A. D. Ames, and M. Egerstedt, “Safety barrier certificates for collisions-free multirobot systems,” IEEE Transactions on Robotics, vol. 33, no. 3, pp. 661–674, 2017.
[19] D. Pickem, P. Glotfelter, L. Wang, M. Mote, A. Ames, E. Feron, and M. Egerstedt, “The Robotarium: A remotely accessible swarm robotics research testbed,” in IEEE International Conference on Robotics and Automation (ICRA), 2017, pp. 1699–1706.
[20] L. Lindemann and D. V. Dimarogonas, “Decentralized control barrier functions for coupled multi-agent systems under signal temporal logic tasks,” in European Control Conference (ECC), 2019, pp. 89–94.
[21] Y. Zhang, Y. Lyu, S. Jo, Y. Yang, and W. Luo, “Adaptive deadlock avoidance for decentralized multi-agent systems via CBF-inspired risk measurement,” in IEEE International Conference on Robotics and Automation (ICRA), 2025, pp. 14917–14923.
[22] C. B. Jones, “Tentative steps toward a development method for interfering programs,” ACM Transactions on Programming Languages and Systems, vol. 5, no. 4, pp. 596–619, 1983.
[23] T. A. Henzinger, S. Qadeer, and S. K. Rajamani, “You assume, we guarantee: Methodology and case studies,” in Computer Aided Verification (CAV), ser. LNCS, vol. 1427, 1998, pp. 440–451.
[24] A. Saoud, A. Girard, and L. Fribourg, “Assume-guarantee contracts for continuous-time systems,” Automatica, vol. 134, p. 109910, 2021.
[25] M. Sharf, B. Besselink, A. Molin, Q. Zhao, and K. H. Johansson, "Assume/guarantee contracts for dynamical systems: Theory and computational tools," IFAC-PapersOnLine, vol. 54, no. 5, pp. 25–30, 2021.
[26] R. Dewes and R. Dimitrova, “Contract-based design and verification of multi-agent systems with quantitative temporal requirements,” in AAAI Conference on Artificial Intelligence, vol. 39, no. 22, 2025, pp. 23 152–23 159.
[27] S. Shalev-Shwartz, S. Shammah, and A. Shashua, “On a formal model of safe and scalable self-driving cars,” arXiv preprint arXiv:1708.06374, 2017.
[28] K. X. Cai, T. Phan-Minh, S.-J. Chung, and R. M. Murray, “Rules of the road: Formal guarantees for autonomous vehicles with behavioral contract design,” IEEE Transactions on Robotics, vol. 39, no. 3, pp. 1853–1872, 2023.
[29] S. Liu, A. Saoud, and D. V. Dimarogonas, “Controller synthesis of collaborative signal temporal logic tasks for multiagent systems via assume-guarantee contracts,” IEEE Transactions on Automatic Control, vol. 70, no. 9, pp. 5894–5909, 2025.
[30] IEEE Standard for Interconnection and Interoperability of Distributed Energy Resources with Associated Electric Power Systems Interfaces, IEEE Std 1547-2018, 2018.
[31] IEEE Standard Conformance Test Procedures for Equipment Interconnecting Distributed Energy Resources with Electric Power Systems and Associated Interfaces, IEEE Std 1547.1-2020, 2020.
[32] IEEE Standard for Assumptions in Safety-Related Models for Automated Driving Systems, IEEE Std 2846-2022, 2022.
[33] H. Martini, L. Montejano, and D. Oliveros, Bodies of Constant Width: An Introduction to Convex Geometry with Applications. Cham, Switzerland: Birkhäuser, 2019.