TRACE: Robust Attribution Watermark for LLM Agents

TRACE introduces a two-channel watermark for LLM agents, resistant to erasure and rewrites, while maintaining path integrity.

11 jul 2026 • 5 min read • Q2BSTUDIO Team

Unwavering Attribution in LLM Agent Journeys

The emergence of AI-based agents has been a game-changer in multiple industries, from customer service to complex process automation. However, with this new capability comes a critical challenge: how do you ensure that an LLM (Large Language Model) agent actually comes from the developer it claims to be, when intermediaries and resellers can modify, replace, or even falsify the underlying model? The answer lies in attribution watermarking, a field that combines cryptography, information theory, and machine learning. In this article, we explore TRACE, a novel watermarking system designed specifically for LLM agents, and analyze its relevance from a technical and business perspective.

Let's imagine a common scenario: a company acquires an AI agent to handle customer inquiries. The original developer sells it through a reseller, who can rename the product or even replace the underlying model with a cheaper one. If a dispute arises over authorship, the only evidence available is usually the trajectory log: the sequence of tool calls, observations, and actions executed. The model's internal reasoning is not stored, so attribution must be based on that record, which is completely under the control of the reseller. This is where traditional watermarks fail: its identification signal can be read directly from the log, and an adversary with read/write access can alter or delete it without leaving a trace.

TRACE proposes a radically different solution. Instead of embedding a visible mark in the agent's content or decisions, it uses two orthogonal channels that overlap without interference: the selection channel and the count channel. The first determines which specific action the agent chooses in each step, using a key derived from the local content of the path. This makes it robust against deletions, because the key is automatically resynchronized after each deletion. The second channel determines how many records each decision group contains, based solely on the log skeleton (the group structure), which is immune to rewrites. The key is that no adversary can simultaneously modify the content and position without corrupting the trajectory it intends to sell.

From a technical point of view, TRACE is a behavioral watermark. It does not alter the agent's share distribution, which means that the utility of the model remains intact. Each decision pays at least half of its entropy to embed the signal, but deterministic decisions pay nothing, ensuring that the agent does not lose effectiveness. In tests with environments such as ToolBench and ALFWorld, the TRACE-marked agent maintains the same success rate as the unmarked one, while its selection channel achieves detection scores close to z=100 over long horizons, remains detectable even under 70% step elimination, and the count channel remains unchanged against LLM rewrites of any intensity.

Why is this relevant for companies? The traceability of AI agents is becoming a requirement for compliance and trust. If an organization deploys a virtual assistant to manage sensitive data, it needs to know exactly what model powers it and who developed it. Unscrupulous resellers can try to save costs by replacing a premium model with an open source one, but with TRACE the original can prove its authorship even when the log has been tampered with. This opens the door to smart contracts, licenses based on actual usage, and reliable external audits.

In addition, this technology fits perfectly into the ecosystem of custom applications and custom software that many companies need to integrate AI into their processes. At Q2BSTUDIO we develop solutions that combine the power of LLM agents with the robustness of attribution watermarks, ensuring that every interaction is verifiable. Our AI services for enterprises include the implementation of security mechanisms such as TRACE, allowing our customers to deploy virtual assistants with complete confidence in where they come from.

In the field of cybersecurity, the ability to detect agent impersonation is essential. An adversary that succeeds in replacing a legitimate agent with a malicious one could steal data or induce erroneous decisions. TRACE acts as a seal of authenticity that resists even active attacks on the activity log. Combined with AWS and Azure cloud services, we can deploy scalable infrastructures where each agent bears their own invisible signature, auditable in real time. This is especially valuable in regulated environments such as finance or healthcare, where traceability is mandatory.

Another practical application is found in dashboards and analytics. Our Business Intelligence with Power BI services allow you to visualize watermark detection metrics, helping compliance teams monitor if any agents have been tampered with. By integrating TRACE with AI for Business, we offer a complete ecosystem where artificial intelligence not only automates processes, but also authenticates itself. This is key to avoiding fraud in hiring AI agents through third parties.

From a business perspective, adopting robust watermarks like TRACE reduces litigation costs and increases customer confidence. Instead of relying on verbal agreements or easily alterable records, companies can mathematically prove the authorship of each action. In addition, because TRACE is compatible with any LLM agent architecture, its implementation does not require redesigning existing models. In our artificial intelligence service we help companies to integrate this technology transparently, maximizing the value of their investment in AI.

In short, TRACE represents a significant advance in LLM agent attribution. Its dual watermark channel, resistant to erasures and rewrites, solves a problem that no previous method could address. For businesses looking for bespoke applications with guarantees of authenticity, this technology is a key enabler. At Q2BSTUDIO, we combine our expertise in custom software, cybersecurity, and AWS and Azure cloud services to deliver complete solutions that protect intellectual property and data integrity. The era of AI agents has arrived, and with TRACE, we can ensure that everyone carries their own indelible digital footprint.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.