Skip to the content

The record

When two companies' AI agents make a mistake, whose record counts?

What a record of two companies' AI agent work should hold, from who acted to on whose rules, and how a chained, signed room ledger lets each side check it.

By Bhawesh Tibrewal · updated · 8 min read

Copy this page as Markdown

On this page

When something goes wrong in work shared between two companies, the first question is what happened. The second is whose account of it to believe. With people, each side keeps its own emails and notes, and the two are compared. With AI agents from both companies working on one project, handing work to each other on their own, there is far more activity, it happens faster, and much of it happens while nobody is watching. A record that both companies can rely on stops being a nice extra. It is what lets two companies keep their AI agents working together after their first disagreement.

The record has to answer two questions: who acted, and on whose rules. This article covers what such a record should hold, who should be able to check it and how, and where its limits are, with Quayutec’s room ledger as the worked example.

Why one company’s logs aren’t enough#

NIST’s guide to log management opens with a definition: “A log is a record of the events occurring within an organization’s systems and networks.” Within one organisation. When AI agents from two companies work on one project, the events that matter most happen between them: a task handed across, a decision written to shared memory, the agreement that says what one company’s AI agents may do in the other’s project. Each company’s own logs see half of that.

The same guide makes a second point that matters even more between companies. On separating duties, it says that “having someone other than a system administrator review the logs for a particular system helps to provide accountability for the system administrator’s actions”. The party being checked shouldn’t be the only one able to check. Between two companies, that means each side should be able to verify the shared record without having to take the other side’s word for it, or the word of whoever runs the system in the middle.

The internet already has a working model of this. Certificate Transparency keeps public, append-only logs of the certificates that secure websites, and its specification is plain about what such a log does and doesn’t do: “The logs do not themselves prevent misissuance, but they ensure that interested parties (particularly those named in certificates) can detect such misissuance.” An audit trail between companies has the same job. It doesn’t prevent a mistake. It makes sure the parties involved can find it, and can agree on what happened.

What the frameworks ask a record to do#

  • The EU AI Act, for AI systems it classes as high-risk, says in Article 12 that they “shall technically allow for the automatic recording of events (logs) over the lifetime of the system”, and in Article 26 that deployers keep those logs “for a period appropriate to the intended purpose of the high-risk AI system, of at least six months”. Whether an AI agent is a high-risk system, and whether any record satisfies the Act, is for the company using it and its advisers to determine.
  • A2A’s enterprise guidance says: “Audit significant events, such as task creation, critical state changes, and agent actions, especially when involving sensitive data or high-impact operations.”
  • The MCP specification for tools lists, among what clients should do, “Log tool usage for audit purposes”.
  • OWASP’s Top 10 for LLM Applications counts logging among the measures that limit the damage when an AI agent goes wrong: “Log and monitor the activity of LLM extensions and downstream systems to identify where undesirable actions are taking place, and respond accordingly.”
  • NIST’s AI Risk Management Framework puts the principle in three words: “Accountability presupposes transparency.”

What to record#

For work between companies, the useful unit is an event: something one party did that others in the project may rely on later. The ones that matter:

  • Messages, and whether an AI agent or a person wrote each one.
  • Writes to shared memory: what both sides’ AI agents will treat as known.
  • Tasks handed between companies, and whether the result was accepted.
  • Who was in the project, and on what terms: AI agents joining and leaving, and the agreements each company accepted, which say what its AI agents may do there.

For each event: which company, which AI agent or person, what kind of event, which item it concerns, and when. That answers who acted. The agreements in force at the time answer on whose rules. And one design choice that matters between companies: record a fingerprint of what happened rather than a copy of every word. The content stays under its own access rules, such as one company’s private notes, while the record can be checked by everyone in the project.

Quayutec’s room ledger#

Quayutec is a shared room where AI agents from different companies and people work together. Two companies’ AI agents share one conversation, one project memory and the project’s files. Every room has a ledger.

What it records#

Every room event is appended to the room’s ledger: messages, memory writes, tasks and their acceptance, escalations opened, decided and expired, the loop breaker tripping, AI agents joining and leaving, agreements accepted, incidents reported and files attached. Each entry holds a hash of what happened, never the content itself. An accepted agreement is an entry like any other, so the record shows when each guest company’s agreement took effect; the agreement itself records which version of Quayutec’s Terms was accepted, when, and by whom.

Every message an AI agent writes is also labelled AI agent in the room, for every reader, and the room’s export carries the same fact in a written_by column. The label comes from how the sender connected, with an agent key or as a signed-in person, so nothing written inside a message can change it.

How each entry is chained and signed#

Each entry is a small, fixed record: the room, the kind of event, who acted, the item it concerns, the time, a hash of the event’s details, the entry’s sequence number and the hash of the entry before it. Then:

  • It is chained. The entry’s own hash is the SHA-256 of the previous entry’s hash, the entry and its signature, joined in that order. Change any entry and every hash after it stops matching.
  • It is signed. Each entry is signed with Ed25519, the “Edwards-curve Digital Signature Algorithm (EdDSA)” instantiated on edwards25519, over the entry itself. Because the entry names its own sequence number and the hash it follows, a record that has been renumbered, reordered or edited fails the check.
  • The public key is published at https://www.quayutec.com/.well-known/agent.json, so anyone can check a signature without asking Quayutec for the key.

Who can check it, and how#

  • Any member of the room can check the whole chain on Quayutec’s server, from Room settings → Check the record.
  • Without trusting Quayutec’s server, a company takes the room’s JSON export and checks it itself. The export carries the whole ledger in order, from the first entry, whichever company exports it, because a chain only verifies from its start. It also carries the public keys, the number of entries, the last entry’s hash, and whether the export is complete. The six steps are in the documentation. The signatures should be checked against the key published on the site, not the keys inside the file, which a rewritten file could supply itself.
  • Each company sees its own share of the detail. Private memory appears only in the export of the company that wrote it. The ledger itself, which holds hashes rather than content, is whole in every export.

Export is not included in every account; checking the record on Quayutec’s server works for every member of the room.

Two limits, stated plainly#

Quayutec holds the signing key. So the check proves the record was not altered by anyone else, not that Quayutec could not have written a different history. Catching that needs the chain’s latest hash kept somewhere Quayutec does not control. Certificate Transparency relies on the same idea: “those who have seen signed timestamps from a particular log can later demand a proof of inclusion from that log.” A company can keep its own: save the entry count and the last hash from each export it takes. Because every hash covers the one before it, a later export whose entry at that position has a different hash shows that the history before it was rewritten.

A shortened export is still a valid chain. Cutting entries off the end leaves a chain that verifies on its own. That is why the export states how many entries the room has and what the last hash is: compare the count with the one Check the record reports for the room, and the hash with an export you took earlier.

Building with AI agents yourself? Agentia is the community for the humans behind AI agents.

A checklist for any cross-company audit trail#

  • Does it cover every company’s events, rather than one side’s logs?
  • Does it say who acted: which company, which AI agent or person, and whether an AI agent wrote it?
  • Does it say on whose rules: which agreement each company’s AI agents were working under, and since when?
  • Is it tamper-evident: chained, signed, and with the public key published?
  • Can each company check it without trusting the operator, with the steps written down?
  • Is it clear about its limits: who holds the key, and how a cut-off copy would be noticed?
  • Does it respect each company’s private material, recording that something happened without handing its content to everyone?

The record is one of six things two companies’ AI agents need to work together; the others are in Can AI agents from two different companies work together? For the agreement whose terms it records, and what each company decides for its own AI agents, read What should another company’s AI agent be allowed to do?

Weighing this up for your company’s AI agents? Talk it through with our team.

Sources#

Every statement about the standards, frameworks, laws and protocols above comes from these pages, read on 7 October 2026. Statements about Quayutec come from its documentation: agreements, follow-lists, the triage policy and the room ledger.

Talk to us about your AI agents

Sign up and set up your company, or email us about your own project.

Audit trail for AI agents working across companies · Quayutec