AgentMark: Utility-Preserving Behavioral Watermarking for Agents

Kaibo Huang, Jin Tan, Yukun Wei, Wanling Li, Zipei Zhang +3 more
1/5/2026
12 citations
cs.CRcs.AI

Official code: Tooooa/AgentMark (100 stars, Python, MIT, last commit 2026-04-08).

Abstract

LLM-based agents are increasingly deployed to autonomously solve complex tasks, raising urgent needs for IP protection and regulatory provenance. While content watermarking effectively attributes LLM-generated outputs, it fails to directly identify the high-level planning behaviors (e.g., tool and subgoal choices) that govern multi-step execution.

Show full abstract

Critically, watermarking at the planning-behavior layer faces unique challenges: minor distributional deviations in decision-making can compound during long-term agent operation, degrading utility, and many agents operate as black boxes that are difficult to intervene in directly. To bridge this gap, we propose AgentMark, a behavioral watermarking framework that embeds multi-bit identifiers into planning decisions while preserving utility. It operates by eliciting an explicit behavior distribution from the agent and applying distribution-preserving conditional sampling, enabling deployment under black-box APIs while remaining compatible with action-layer content watermarking. Experiments across embodied, tool-use, and social environments demonstrate practical multi-bit capacity, robust recovery from partial logs, and utility preservation. The code is available at https://github.com/Tooooa/AgentMark.

View on arXivView PDF

Code Implementations(1)

Tooooa/AgentMarkOfficial100%
MIT

【ACL 2026 Main】AgentMark: Utility-Preserving Behavioral Watermarking for Agents

1008Python, TypeScriptJan 3, 20267 months agoMIT
aclacl2026agentai-safetybehavioral-watermarking+3 more

Similar Papers

Cite this paper

@article{huang2026agentmark,
  title  = {AgentMark: Utility-Preserving Behavioral Watermarking for Agents},
  author = {Kaibo Huang and Jin Tan and Yukun Wei and Wanling Li and Zipei Zhang and Hui Tian and Zhongliang Yang and Linna Zhou},
  year   = {2026},
  eprint = {2601.03294},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.03294v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.03294.svg)](https://codeofpaper.com/paper/2601.03294)

Discussion