{"id":"d9fc0c7c-ba06-48e8-8d4e-43d313ce1e64","arxiv_id":"2611.25325","paper_version":1,"verdict":"ACCEPT","confidence":"HIGH","novelty_score":6.0,"correctness_risk":"low","formal_verification":"none","parameter_count":0,"one_line_summary":"Safety of language-model-based agents is undecidable due to the agent loop and tools, and remains intractable (PSPACE-complete) under bounded resources.","lead":"This paper proves that the safety of AI agents built by coupling a language model with a general computing device is undecidable in general, and PSPACE-complete under finite constraints. It shows that no algorithm can predict whether an agent will run a semantically equivalent dangerous program, and that safety is not compositional across multiple agents.","discovery_kind":"extension","skeptic_critique":{"audit":{"quote":"Therefore, $\\Ext_{s} \\prts{p}$ is decidable precisely because it is not behavioral: it misses the dangerous programs that are too slow for the computer and it may include programs that have nothing to do with $p$.","status":"already_addressed","question":null,"consequence":null,"objection_id":"O1","published_as":"withdrawn"},"model":"deepseek/deepseek-v4-flash","headline":"Withdrawn: the paper already says this.","rationale":"","tokens_in":39899,"tokens_out":746,"duration_ms":18847,"concrete_test":"","verdict_should_be":null,"load_bearing_attack":"The paper's words: “Therefore, $\\Ext_{s} \\prts{p}$ is decidable precisely because it is not behavioral: it misses the dangerous programs that are too slow for the computer and it may include programs that have nothing to do with $p$.”","agreement_with_reader":null},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper proves that safety of AI agents (language model + computing device) is undecidable in general, using Rice's theorem and reductions from the halting problem. Under finite constraints (bounded context, values, time) safety becomes decidable but PSPACE-complete. Safety is not compositional. The paper also discusses relaxed notions of ε-safety.","tokens_in":40145,"tokens_out":6394,"duration_ms":92318,"significance":"The results are significant for AI safety research, showing fundamental limits on verification. The proofs are rigorous and use standard computability theory. The paper is well-structured and clearly written.","major_comments":[],"minor_comments":[{"quote":"Present artificial intelligence agents are constructed by means of a coupling between a fixed language model with a general computing device.","comment":"The abstract in the manuscript differs slightly from the arXiv metadata. The manuscript abstract says 'Present artificial intelligence agents are constructed by means of a coupling between a fixed language model with a general computing device.' while the arXiv metadata says 'Present artificial intelligence agents are constructed by means of a coupling between a fixed language model with a general computing device.' They appear identical. No issue.","section":"§1","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"For the sake of intuition, one may think of a language model as a three tape machine: one tape holding the weights of the model, one tape for the input (prompt) and an auxiliary tape used as a workspace for the forward pass of the model.","comment":"The definition of Turing machine tapes for language models is intuitive but not used later. It could be removed or shortened.","section":"§2.1","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The notation $\relay_{p,q}$ is defined but the subscript order is not intuitive. Consider clarifying that the first machine is run first, then the second.","section":"§3.1","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Define a machine $m$ with two inputs, an agent $e$ and a context $\\gamma$, that first computes $f\\prts{e}$, i.e., it asks whether $e$ is predicted safe or unsafe, and then outputs the request $\\vbrkt{p,0}$ if $f\\prts{e} = 1$ and the request $\\vbrkt{q,0}$ if $f\\prts{e} = 0$.","comment":"The proof of Proposition 3.4 uses the recursion theorem to construct an agent that checks its own prediction. This is clever but the construction could be explained more intuitively.","section":"§3.3","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"A \\textit{black-box verifier} is a procedure that may observe $\\pi\\prts{\\gamma}$ and, after up to $d$ calls, answers whether $\\pi$ is safe or unsafe.","comment":"The de Bruijn sequence construction for the black-box verifier lower bound is elegant. However, the proof assumes the verifier can only ask about contexts that are reachable in the run of $\n_c$. The definition of black-box verifier allows asking about any context, reachable or not. The proof constructs $\n_1$ and $\n_0$ that differ only on an unreachable context $\n$, so the verifier cannot distinguish them. This is correct but should be clarified.","section":"§5.2","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Thus, it may be desirable to soften the constraints of the problem further, up to a point where we could be able to even grasp an approximate solution to the problem.","comment":"The discussion of $\n$-safety is informal and not used in any proofs. It reads more like a discussion section than a formal contribution. Consider moving it to a discussion or future work section.","section":"§6","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"For the sake of simplicity, we consider that all the agents act at the same time (tools are fast unless they are stuck) and messages and outputs are appended in the order of the index of the agents.","comment":"The multi-agent system definition assumes synchronous execution ('all the agents act at the same time'). This is a strong assumption that may not hold in practice. The paper acknowledges this in a footnote but it should be stated more prominently.","section":"§7","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"From a more practical point of view, in the hacking incident reported in~\\citep{metr2026}, agents exhibited a behavior closer to what we typically observe in disease spreading models.","comment":"The conclusion mentions a hacking incident (METR 2026) as an example. This is a real-world event that illustrates the non-compositionality of safety. However, the reference is to a blog post, which may not be peer-reviewed. Consider adding a note about the reliability of this source.","section":"§8","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The statement 'any set $A$ such that $\n \n_m A$ is undecidable' is correct but the notation $\n$ is used for the halting set. It might be clearer to use $\n$ or $\n$.","section":"§2.2","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The lemma 'For every $N \n \n$, the set of unsafe inputs $\n{x \n \n{x} < N}$ of $\n_{p,q}$ is decidable' is correct but the proof says 'Since there are only finitely many inputs such that $\n{x} < N$, the set is decidable by a finite lookup table.' This is true but the lookup table is not computable in general. The paper acknowledges this in the next sentence. Good.","section":"§3.1","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"We denote by $N \\prts{L,B} = \\prts{B+3}^{L}$ an upper bound on the number of possible constrained contexts.","comment":"The proof of Proposition 5.4 (decidability under constraints) says 'a constrained context has at most $L$ entries after any step, and one at the start, each of them either $x$ or a number at most $B$. Thus, there are finitely many constrained contexts.' This is correct but the bound $N(L,B) = (B+3)^L$ is given later. The constant 3 comes from the input $x$ and the separator? Clarify.","section":"§5.1","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The PSPACE-hardness proof uses a de Bruijn sequence to construct a policy that visits all contexts. The proof is clear but the figure (Fig. 6) is not visible. The caption describes the construction well enough.","section":"§5.2","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The PSPACE-completeness proof for the window construction (Proposition 5.6) uses a reduction from a PSPACE-complete set $A$. The reduction constructs a policy that simulates a Turing machine tape using the context window. This is a standard technique and the proof is sound.","section":"§5.3","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The multi-agent system definition allows agents to send messages to each other. The proof of Proposition 7.2 (non-compositionality) uses a simple handshake protocol. This is clear and convincing.","section":"§7","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Now, instead of iterating over the infinite word, $\\# C_{0} \\#C_{1} \\dots$, we can construct each letter with an agent.","comment":"The population PSPACE-hardness proof (Proposition 7.4) constructs a system of $n$ agents that simulate a Turing machine tape. The construction is complex but the idea is clear: each agent holds one tape cell and they communicate to update the tape. The proof is sound.","section":"§7","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"This suggests that the behavior was not produced by each agent on its own but rather was passed from agent to agent through the messages, in the same way an infection is passed through contacts.","comment":"The conclusion mentions that the hacking incident (METR 2026) shows behavior similar to disease spreading. This is an interesting observation but not formally connected to the paper's results. It would be stronger to state that the paper's results imply such behavior is unpredictable.","section":"§8","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The definition of halting-complete machine: 'A machine $p$ is \n if $\n \n_m \n \n{\n_p}$, i.e., $\n f$, computable, such that $\n_e\n{0} \n \n \n_p\n{f\n{e}} \n$.' This is correct but the notation $\n \n{\n_p}$ is the domain of the partial function computed by $p$. It might be clearer to write $\n \n_m \n(\n_p)$.","section":"§2.3","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The relay policy is defined as $\n_{p,q}$ but the order of arguments is not intuitive: the first machine is run first, then the second. Consider renaming to $\n_{p;q}$ or clarifying in the text.","section":"§3.1","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"The previous corollary only says that such an agent exists and it relies on a \\haltc tool.","comment":"The certification method is defined as an r.e. set of agents that are safe on a fixed input $x_0$. The proof of Corollary 4.1 uses Proposition 3.2 which assumes $p$ is halting-complete. This is fine but the corollary says 'Every certification method $\n$ misses a total agent that is safe on $x_0$.' This is a strong statement that relies on the existence of a halting-complete tool. The paper acknowledges this in the next paragraph.","section":"§4","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Consider the machine $m$ with two inputs, an agent $e$ and a context $\\gamma$, that simulates $m_{\\Cert}$ on $e$ for $\\card{\\gamma}-1$ steps and then outputs the request $\\vbrkt{q,0}$ if the simulation has halted and $\\vbrkt{c,0}$ otherwise.","comment":"The proof of Proposition 4.2 (Gödel agent) uses the recursion theorem to construct an agent that simulates the certification method on itself. This is a standard diagonalization argument and is correctly executed.","section":"§4","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"The previous statement explicitly uses the hypothesis that $\\dset$ is a decidable set, which no behavioral class satisfies (lemma~\\ref{lem:ext_non_trivial}).","comment":"The proof of Proposition 5.4 says 'the set of triplets $\n{x, L, B}$ such that $\n$ is unsafe on $x$ under the constraints $\n{L,B,T}$ is decidable.' This assumes $\n$ is a decidable class. The paper later notes that behavioral classes are not decidable, so this result is only applicable when $\n$ is decidable (e.g., under time bounds). This is correctly stated.","section":"§5.1","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Now, let $V$ be a black-box verifier of depth $d < M \\prts{L,B}$ and use it to verify $\\pi_{c}$.","comment":"The black-box verifier lower bound (Proposition 5.5) uses a de Bruijn sequence to construct a policy that visits all contexts. The proof constructs two policies that differ only on an unseen context, so the verifier cannot distinguish them. This is a standard adversary argument and is correctly executed.","section":"§5.2","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Now, consider some input $y$ and denote by $r=r\\prts{\\card{y}}$ the number of letters in the configurations  of $m$ on input $y$.","comment":"The PSPACE-completeness proof for the window construction (Proposition 5.6) uses a reduction from a PSPACE-complete set $A$. The reduction constructs a policy that simulates a Turing machine tape using the context window. The proof is sound but the construction is complex. The figure (Fig. 7) is not visible but the caption explains the idea.","section":"§5.3","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"For a configuration $C = c_{1} \\dots c_{r}$, let $\\hat{C} = \\sum_{i=1}^{r} c_{i}\\prts{b+1}^{r-i}$ be its representation in base $b+1$.","comment":"The PSPACE-completeness proof for the values construction (Proposition 5.7) uses a similar reduction but encodes configurations as numbers in base $b+1$. This is a standard technique and the proof is sound.","section":"§5.3","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Moreover, this section is intended to be read more as a discussion towards a useful definition of safety than a real one.","comment":"The discussion of $\n$-safety definitions is informal and not used in any proofs. The paper states 'this section is intended to be read more as a discussion towards a useful definition of safety than a real one.' This is fine but the section could be shortened or moved to an appendix.","section":"§6","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"For the sake of simplicity, we consider that all the agents act at the same time (tools are fast unless they are stuck) and messages and outputs are appended in the order of the index of the agents.","comment":"The multi-agent system definition assumes that agents act synchronously and messages are appended in order of index. This is a simplification but may affect the generality of the results. The paper acknowledges this in a footnote.","section":"§7","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"\\end{align*}\nBoth policies are safe in isolation, since $\\alpha_{k}$ never makes a request and $\\beta_{k}$ halts on every input $\\sqbrkt{x}$ when it is alone.","comment":"The proof of Proposition 7.2 (non-compositionality) uses a simple handshake protocol. The policies $\n_k$ and $\n_k$ are safe in isolation but unsafe together when $i=j$. This is a clear counterexample.","section":"§7","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Now, instead of iterating over the infinite word, $\\# C_{0} \\#C_{1} \\dots$, we can construct each letter with an agent.","comment":"The population PSPACE-hardness proof (Proposition 7.4) constructs a system of $n$ agents that simulate a Turing machine tape. The construction is complex but the idea is clear. The proof is sound.","section":"§7","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"This suggests that the behavior was not produced by each agent on its own but rather was passed from agent to agent through the messages, in the same way an infection is passed through contacts.","comment":"The conclusion mentions that the hacking incident (METR 2026) shows behavior similar to disease spreading. This is an interesting observation but not formally connected to the paper's results. It would be stronger to state that the paper's results imply such behavior is unpredictable.","section":"§8","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The statement 'any set $A$ such that $\n \n_m A$ is undecidable' is correct but the notation $\n$ is used for the halting set. It might be clearer to use $\n$ or $\n$.","section":"§2.2","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The lemma 'For every $N \n \n$, the set of unsafe inputs $\n{x \n \n{x} < N}$ of $\n_{p,q}$ is decidable' is correct but the proof says 'Since there are only finitely many inputs such that $\n{x} < N$, the set is decidable by a finite lookup table.' This is true but the lookup table is not computable in general. The paper acknowledges this in the next sentence. Good.","section":"§3.1","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"We denote by $N \\prts{L,B} = \\prts{B+3}^{L}$ an upper bound on the number of possible constrained contexts.","comment":"The proof of Proposition 5.4 (decidability under constraints) says 'a constrained context has at most $L$ entries after any step, and one at the start, each of them either $x$ or a number at most $B$. Thus, there are finitely many constrained contexts.' This is correct but the bound $N(L,B) = (B+3)^L$ is given later. The constant 3 comes from the input $x$ and the separator? Clarify.","section":"§5.1","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The PSPACE-hardness proof uses a de Bruijn sequence to construct a policy that visits all contexts. The proof is clear but the figure (Fig. 6) is not visible. The caption describes the construction well enough.","section":"§5.2","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The PSPACE-completeness proof for the window construction (Proposition 5.6) uses a reduction from a PSPACE-complete set $A$. The reduction constructs a policy that simulates a Turing machine tape using the context window. This is a standard technique and the proof is sound.","section":"§5.3","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The multi-agent system definition allows agents to send messages to each other. The proof of Proposition 7.2 (non-compositionality) uses a simple handshake protocol. This is clear and convincing.","section":"§7","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Now, instead of iterating over the infinite word, $\\# C_{0} \\#C_{1} \\dots$, we can construct each letter with an agent.","comment":"The population PSPACE-hardness proof (Proposition 7.4) constructs a system of $n$ agents that simulate a Turing machine tape. The construction is complex but the idea is clear: each agent holds one tape cell and they communicate to update the tape. The proof is sound.","section":"§7","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"This suggests that the behavior was not produced by each agent on its own but rather was passed from agent to agent through the messages, in the same way an infection is passed through contacts.","comment":"The conclusion mentions that the hacking incident (METR 2026) shows behavior similar to disease spreading. This is an interesting observation but not formally connected to the paper's results. It would be stronger to state that the paper's results imply such behavior is unpredictable.","section":"§8","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The definition of halting-complete machine: 'A machine $p$ is \n if $\n \n_m \n \n{\n_p}$, i.e., $\n f$, computable, such that $\n_e\n{0} \n \n \n_p\n{f\n{e}} \n$.' This is correct but the notation $\n \n{\n_p}$ is the domain of the partial function computed by $p$. It might be clearer to write $\n \n_m \n(\n_p)$.","section":"§2.3","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":null,"comment":"The relay policy is defined as $\n_{p,q}$ but the order of arguments is not intuitive: the first machine is run first, then the second. Consider renaming to $\n_{p;q}$ or clarifying in the text.","section":"§3.1","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":false,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"The previous corollary only says that such an agent exists and it relies on a \\haltc tool.","comment":"The certification method is defined as an r.e. set of agents that are safe on a fixed input $x_0$. The proof of Corollary 4.1 uses Proposition 3.2 which assumes $p$ is halting-complete. This is fine but the corollary says 'Every certification method $\n$ misses a total agent that is safe on $x_0$.' This is a strong statement that relies on the existence of a halting-complete tool. The paper acknowledges this in the next paragraph.","section":"§4","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Consider the machine $m$ with two inputs, an agent $e$ and a context $\\gamma$, that simulates $m_{\\Cert}$ on $e$ for $\\card{\\gamma}-1$ steps and then outputs the request $\\vbrkt{q,0}$ if the simulation has halted and $\\vbrkt{c,0}$ otherwise.","comment":"The proof of Proposition 4.2 (Gödel agent) uses the recursion theorem to construct an agent that simulates the certification method on itself. This is a standard diagonalization argument and is correctly executed.","section":"§4","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"We denote by $N \\prts{L,B} = \\prts{B+3}^{L}$ an upper bound on the number of possible constrained contexts.","comment":"The proof of Proposition 5.4 (decidability under constraints) says 'a constrained context has at most $L$ entries after any step, and one at the start, each of them either $x$ or a number at most $B$. Thus, there are finitely many constrained contexts.' This is correct but the bound $N(L,B) = (B+3)^L$ is given later. The constant 3 comes from the input $x$ and the separator? Clarify.","section":"§5.1","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Now, let $V$ be a black-box verifier of depth $d < M \\prts{L,B}$ and use it to verify $\\pi_{c}$.","comment":"The black-box verifier lower bound (Proposition 5.5) uses a de Bruijn sequence to construct a policy that visits all contexts. The proof constructs two policies that differ only on an unseen context, so the verifier cannot distinguish them. This is a standard adversary argument and is correctly executed.","section":"§5.2","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Now, consider some input $y$ and denote by $r=r\\prts{\\card{y}}$ the number of letters in the configurations  of $m$ on input $y$.","comment":"The PSPACE-completeness proof for the window construction (Proposition 5.6) uses a reduction from a PSPACE-complete set $A$. The reduction constructs a policy that simulates a Turing machine tape using the context window. The proof is sound but the construction is complex. The figure (Fig. 7) is not visible but the caption explains the idea.","section":"§5.3","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"For a configuration $C = c_{1} \\dots c_{r}$, let $\\hat{C} = \\sum_{i=1}^{r} c_{i}\\prts{b+1}^{r-i}$ be its representation in base $b+1$.","comment":"The PSPACE-completeness proof for the values construction (Proposition 5.7) uses a similar reduction but encodes configurations as numbers in base $b+1$. This is a standard technique and the proof is sound.","section":"§5.3","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Moreover, this section is intended to be read more as a discussion towards a useful definition of safety than a real one.","comment":"The discussion of $\n$-safety definitions is informal and not used in any proofs. The paper states 'this section is intended to be read more as a discussion towards a useful definition of safety than a real one.' This is fine but the section could be shortened or moved to an appendix.","section":"§6","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"For the sake of simplicity, we consider that all the agents act at the same time (tools are fast unless they are stuck) and messages and outputs are appended in the order of the index of the agents.","comment":"The multi-agent system definition assumes that agents act synchronously and messages are appended in order of index. This is a simplification but may affect the generality of the results. The paper acknowledges this in a footnote.","section":"§7","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"\\end{align*}\nBoth policies are safe in isolation, since $\\alpha_{k}$ never makes a request and $\\beta_{k}$ halts on every input $\\sqbrkt{x}$ when it is alone.","comment":"The proof of Proposition 7.2 (non-compositionality) uses a simple handshake protocol. The policies $\n_k$ and $\n_k$ are safe in isolation but unsafe together when $i=j$. This is a clear counterexample.","section":"§7","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"Now, instead of iterating over the infinite word, $\\# C_{0} \\#C_{1} \\dots$, we can construct each letter with an agent.","comment":"The population PSPACE-hardness proof (Proposition 7.4) constructs a system of $n$ agents that simulate a Turing machine tape. The construction is complex but the idea is clear. The proof is sound.","section":"§7","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null},{"quote":"This suggests that the behavior was not produced by each agent on its own but rather was passed from agent to agent through the messages, in the same way an infection is passed through contacts.","comment":"The conclusion mentions that the hacking incident (METR 2026) shows behavior similar to disease spreading. This is an interesting observation but not formally connected to the paper's results. It would be stronger to state that the paper's results imply such behavior is unpredictable.","section":"§8","consequence":null,"audit_status":null,"objection_id":null,"quote_matched":true,"required_revision":null,"authors_acknowledge":null,"authors_acknowledge_p":null}],"open_questions":null,"recommendation":"accept"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"This paper does something important and does it cleanly. It formalises the agent loop—a language model coupled with a general computing device—and shows that safety verification for such agents faces fundamental limits drawn from standard computability and complexity theory. The core result is that no algorithm can decide whether an agent will ever execute a program behaviourally equivalent to a known dangerous program; the problem is undecidable. Under finite constraints (bounded context, values, time) the problem becomes decidable but PSPACE-complete, and safety is not compositional: individually safe agents can form an unsafe system. The proofs are rigorous, the reductions are explicit, and the writing is clear. The paper acknowledges its main limitation—the definition of danger as behavioural equivalence to a fixed dangerous program—and does not overclaim. The discussion of epsilon-safety is tentative but appropriately cautious. The work extends earlier Rice's‑theorem arguments (Alfonseca et al., Brcic et al.) by placing them squarely on the agent‑loop model with concrete reductions and by mapping the complexity landscape under finite constraints. No objections to the mathematical content survived a check against the text. This is a solid theoretical contribution that deserves a serious referee; I strongly recommend it proceed to peer review.","headline":"A rigorous demonstration that safety verification of AI agents is undecidable in general and intractable even under finiteness constraints.","tokens_in":40405,"tokens_out":724,"duration_ms":19594},"pith_extraction":{"msc":["03D35","68Q17","68T01"],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"The authors report that the safety of an AI agent that couples a language model with a general computing device is undecidable in general, and even under finite resource constraints it is PSPACE-complete.","keywords":["AI safety","undecidability","Rice's theorem","halting problem","agent safety","computability theory","PSPACE-complete","multi-agent systems"],"falsifier":"If someone exhibits a decidable, sound, and complete guardrail that works for all agents of the form described (language model + general computing device) for some non-trivial behavioural danger class, the paper's Proposition 3.2 would be false. A concrete counterexample would be an algorithm that, given any such agent, correctly decides whether it will ever request a program semantically equivalent to a fixed dangerous program p.","tokens_in":41546,"feed_emoji":"","tokens_out":2200,"duration_ms":31417,"temperature":0.2,"pith_summary":"The paper shows that for any AI agent built as a language model paired with a general computing device, the problem of determining whether that agent will ever execute a program that is behavourally equivalent to a known dangerous program is undecidable. This follows because the agent can inherit the halting problem from its tools: a simple relay agent becomes unsafe exactly when a halting-complete tool halts on its input. Under finite constraints on context size, value range, and running time, safety becomes decidable but is PSPACE-complete, meaning it is practically intractable even for a single fixed agent. The paper further shows that safety is not a compositional property: individually safe agents can form an unsafe system when they interact. These results imply that no algorithm can provide complete a posteriori verification of safety for general AI agents.","feed_headline":"Safety of AI agents is undecidable, authors show","feed_subtitle":"A formal proof that no algorithm can guarantee an agent never runs a program equivalent to a known dangerous one.","key_machinery":"The relay agent R_{p,q} that first runs tool p on the input and, if p halts, runs tool q. This construction links the agent's safety to the halting behaviour of p. When p is a halting-complete machine and q is dangerous, the set of inputs on which R_{p,q} is unsafe is exactly the domain of p, which is undecidable.","core_discovery":"The central claim is that for a language-model-based agent connected to a general computing device, the set of inputs on which the agent will ever request a program that is behavourally equivalent to a dangerous program p is undecidable. This undecidability is established by constructing a relay agent that requests a safe tool first and then a dangerous tool, where the dangerous request occurs iff the safe tool halts on the input. Since the safe tool can be chsen to be halting-complete, deciding whether the agent is unsafe on a given input reduces to the halting problem. The paper also shows that any algorithm that predicts safety can be made to be always wrong on some agent via the recursion theorem. Under finite constraints (bounded context, values, time), safety is decidable but PSPACE-complete, and it is not compositional.","headline_check":{"rule":"report_a_claim_v1","sent_back":false,"unattributed":{}},"pith_inferences":["The undecidability results apply to any agent architecture that includes a general-purpose subroutine or interpreter, regardless of how the agent's policy is learned or encoded.","The PSPACE-completeness results under finite constraints imply that practical safety verification for real agents with large contexts or large value spaces is computationally infeasible, not just theoretically impossible.","The non-compositionality of safety suggests that regulating or certifying individual language models may be insufficient for multi-agent deployments; the interaction dynamics must also be considered.","The paper's analysis does not depend on stochasticity or learning; it applies to any deterministic agent that can call subroutines, including deterministic-language-model agents with fixed weights."],"forward_implications":["No guardrail, blacklist, whitelist, or certification method can guarantee that an agent will never execute a program equivalent to a known dangerous program, because the set of such programs is undecidable.","Safety of finite (bounded) agents is still intractable: unless P = PSPACE, no polynomial-time algorithm can determine whether a given agent is safe under bounded resources.","Certification methods (r.e. sets of safe agents) must miss infinitely many safe agents; there is no complete and sound certification method.","Multi-agent systems cannot be proven safe by verifying each agent in isolation; safety is not compositional.","Relaxed notions of safety (ϵ-safe) are needed but offer only weak guarantees: they are either too costly to compute or easy to game by adversaries."],"supporting_citations":[{"why":"Defines the halting problem and establishes its undecidability, which is the core computational obstacle used throughout the paper.","marker":"[turing1937]"},{"why":"States Rice's Theorem, which implies any nontrivial behavioural property of programs (like danger as behavioural equivalence) is undecidable.","marker":"[rice1953]"},{"why":"S-m-n Theorem used to construct computable mappings, e.g., from inputs to total agents in Lemma 5.","marker":"[kleene1943]"},{"why":"Recursion theorem used to construct an agent that reads its own description, enabling the wrong-prediction result (Prop. 3.4).","marker":"[kleene1938]"},{"why":"Provides evidence that memory-augmented language models are computationally universal, justifying the Turing-machine model.","marker":"[schuurmans2023]"},{"why":"Shows that a single forward pass of a fixed-precision transformer is bounded, motivating the finite-constraints analysis.","marker":"[merrill2023]"},{"why":"Earlier work noting Rice's theorem obstacles to superintelligence containment; this paper extends that to the agent-loop and explicit reductions.","marker":"[alfonseca2021]"},{"why":"Real-world incident of multi-agent hacking that illustrates the non-compositional dangers discussed in Section 7.","marker":"[metr2026]"}],"cache_read_input_tokens":0,"weakest_assumption_plain":"The paper defines a program as dangerous only if it computes exactly the same partial function as a known dangerous program p; this is a very strong, behavioural definition that makes the undecidability result direct but may not capture many practically dangerous programs that are not exactly equivalent.","cache_creation_input_tokens":0},"created_at":"2026-11-20T13:00:01.052512+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium+deepseek/deepseek-v4-flash+p.d60f54226f00","input_kind":"tex","input_chars":118346,"input_total_chars":118346,"passes_missing":[],"published_standing":"established","published_confidence":"high","objection_audit":{"version":"pith-objection-audit@1","counts":{"raised":1,"confirmed":0,"questions":0,"withdrawn":1,"moved_to_minor":0,"math_error_not_certified":0,"withdrawn_reviewer_error":0,"typesetting_minor_dropped":0,"withdrawn_already_addressed":1},"open_questions":[],"standing":{"basis":["first_pass_verdict"],"standing":"established","confidence":"high"},"standing_rule":"1. No standing is published (not_assessed) when the review read only the abstract, when the referee pass or the objection check did not run, or when the first pass gave no verdict. 2. The first pass's verdict sets the start: ACCEPT is established, CONDITIONAL is established_narrower, REJECT is not_supported. 3. Each objection that survived the check against the paper's text caps the standing: one that breaks the central claim caps it at not_supported, one that narrows it at established_narrower, one that weakens it at supported_with_gaps. The standing is the lowest of the start and the caps. 4. A first-pass REJECT stands only if a surviving objection breaks the central claim. Without one, the standing is the lowest cap of the surviving objections, or not_assessed when none survived. 5. The confidence is the lowest of the first pass's confidence and the confidence of each objection that set the standing, and is no higher than moderate while a question is open or part of the paper's text was not supplied. 6. If any objection was withdrawn because Pith's reviewer misread the paper, the confidence is no higher than moderate, whatever the first pass said: a review that misread the paper once may have misread it elsewhere.","input_kind":"tex","nothing_to_audit":false,"bar":{"enabled":false}},"run_record":{"models":["deepseek/deepseek-v4-flash"],"passes":{"reader":{"model":"deepseek/deepseek-v4-flash","effort":"medium","cost_usd":0.004179,"tokens_in":44505,"tokens_out":3370,"duration_ms":71010,"input_sha256":"edad12fb5f4b2de81c3b4d42456e81880f36dd88e9d155ebe0988d67dd86694d","prompt_sha256":"f9ead730038216984cfb56d7cb34332bdf691828296a1de4245f3d6667d4bf56","message_sha256":"953f2f51b9e7195d40ce2cf0888e141d83450b0755655c7e860f72dbbb767e82","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"referee":{"model":"deepseek/deepseek-v4-flash","effort":"medium","cost_usd":0.004817,"tokens_in":40145,"tokens_out":6394,"duration_ms":92318,"input_sha256":"edad12fb5f4b2de81c3b4d42456e81880f36dd88e9d155ebe0988d67dd86694d","prompt_sha256":"a852d99aea0ddfd900e1483f76e20777aae3afde9c016d5b8d6e5db01064c728","message_sha256":"c67dde08ac7fda1837a9c3ad1f6e3c76b93d5495d4c1374ef504d973ede0ea5e","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"skeptic":{"model":"deepseek/deepseek-v4-flash","effort":"medium","cost_usd":0.003767,"tokens_in":39899,"tokens_out":746,"duration_ms":18847,"input_sha256":"edad12fb5f4b2de81c3b4d42456e81880f36dd88e9d155ebe0988d67dd86694d","prompt_sha256":"8f88c0f61488b1e764c317998cddf35fffc33a1f20a3b1be54330d7843386fc7","message_sha256":"c131249291ef018c86e68c860f98ab0c94f66fe752e57a04af51302156306d3a","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"circularity":{"model":"deepseek/deepseek-v4-flash","effort":"medium","cost_usd":0.005599,"tokens_in":39961,"tokens_out":427,"duration_ms":18192,"input_sha256":"edad12fb5f4b2de81c3b4d42456e81880f36dd88e9d155ebe0988d67dd86694d","prompt_sha256":"e9946e39d67b76cc60476379bc32abdc44665b5f0c438659796547bb1041a01f","message_sha256":"579b9216b1e85b038d1bafa35efd86ed93194f35cdb9e5e95317422a9433ef53","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"desk_editor":{"model":"deepseek/deepseek-v4-flash","effort":"medium","cost_usd":0.005745,"tokens_in":40405,"tokens_out":724,"duration_ms":19594,"input_sha256":"edad12fb5f4b2de81c3b4d42456e81880f36dd88e9d155ebe0988d67dd86694d","prompt_sha256":"e7211f6a3d2734c1025ce7e7e6d48f78b0944d0a32d5021f81be63b27721420a","message_sha256":"1bf6e3d2d1f7f708bfac56bb8ba744e61a0456dbf014d719c3dff6c9a5f12f01","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"objection_audit":{"model":"deepseek/deepseek-v4-flash","effort":"medium","cost_usd":0.006808,"tokens_in":40270,"tokens_out":4181,"duration_ms":38311,"input_sha256":"edad12fb5f4b2de81c3b4d42456e81880f36dd88e9d155ebe0988d67dd86694d","prompt_sha256":"6c7a6883d5517cf9e4945d83947200a36dcd152b8b56c32baf7500d8b3841d0a","message_sha256":"6f139ba93ecca638e643434970c5ee446255ba6c2e358138c8e3f86dc55fe052","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"pith_extraction":{"model":"deepseek/deepseek-v4-flash","effort":"medium","cost_usd":0.006088,"tokens_in":41546,"tokens_out":2200,"duration_ms":31417,"temperature":0.2,"input_sha256":"edad12fb5f4b2de81c3b4d42456e81880f36dd88e9d155ebe0988d67dd86694d","prompt_sha256":"e4f56bf568e7854d0a1d2efb6ec96f8697d5132737cdb31cb7fc64acbd923974","message_sha256":"d9909b74052a22ae4660029720479fb8fa6abbc53ad910589b04de1fbb3be822","cache_read_input_tokens":0,"cache_creation_input_tokens":0}},"version":"pith-run-record/v1","prompt_set_sha256":"d60f54226f003b7308ab6f0f9f2951c09c726f00cc66fc05af3456f212247e93","configured_pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium"},"basis":{"kind":"full_text","source":"recorded","chars_given":118346,"chars_total":118346},"receipt":{"review_sha256":"268aee8d6b1e8058bb673e3ec40c14a1f4a6476b407dc764112d45aa6fc12f4a","rule":"pith-review-sha256/v1","hashed_at":"2026-11-20T13:03:52.785188+00:00","fields":["id","arxiv_id","paper_version","created_at","pipeline_version","model_set","run_record","input_kind","input_chars","input_total_chars","passes_missing","verdict","confidence","novelty_score","correctness_risk","formal_verification","parameter_count","discovery_kind","one_line_summary","lead","skeptic_critique","referee_report","author_rebuttal","desk_editor","pith_extraction","objection_audit","published_standing","published_confidence"],"matches_current":true},"falsifier":"If someone exhibits a decidable, sound, and complete guardrail that works for all agents of the form described (language model + general computing device) for some non-trivial behavioural danger class, the paper's Proposition 3.2 would be false. A concrete counterexample would be an algorithm that, given any such agent, correctly decides whether it will ever request a program semantically equivalent to a fixed dangerous program p.","supporting_citations":[],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":"tex"},"url":"https://pith.science/accuracy"},"review_version":1}