Transparency, Accountability and Audit Evidence
People affected by an agent deserve to know what is happening, and reviewers deserve proof they can check.
Tell people when they are dealing with AI, explain actions from recorded facts rather than from the model's story about itself, keep an agent card for each release and collect audit evidence that links every consequential action to a person, a version, a rule and a result.
What you will learn: disclosure for users and affected people, honest explanations, cards that document models, systems and agents, accountability, audit trails and how to assemble evidence.
Prerequisites: Responsible AI Principles and Governance Council. What to Measure: Metrics, Dashboards and SLOs helps with the records.
The example runs in November 2026 with Python 3.13 and only the standard library. The card fields are a suggested set, not a published standard, and the names and results are invented. Legal points are general information, not legal advice.
Different people need different things
| Audience | Needs to know | Form |
|---|---|---|
| User | That this is AI, what it can do, how to reach a person | Short notice at the start and where it matters |
| Affected person | That AI influenced a decision, why, and how to challenge it | Notice with reasons and a review route |
| Operator and reviewer | Limits, confidence signals, evidence for each proposal | The working screen and training |
| Owner and council | Performance, incidents, changes and open risks | Agent card and regular report |
| Auditor or regulator | Proof that controls operated | Records, test results and traceable decisions |
Disclosure that works
A notice buried in terms of service informs nobody. Good disclosure is early, plain, repeated when stakes change and accessible, including by voice and screen reader.
| Moment | Example wording |
|---|---|
| Start of a chat | "I am an AI assistant. Say 'agent' at any time to reach a person." |
| Start of a call | "You are speaking with an automated assistant. This call is recorded." |
| Before an action | "I will change your delivery address to this one. Shall I go ahead?" |
| Generated content | "Drafted with AI and reviewed by our support team." |
| A significant decision | "An automated tool helped assess this application. You can ask a person to review it." |
Only say "reviewed by our team" if that review really happens. Never let an agent claim to be human when someone sincerely asks.
The AI Act's transparency duties, which apply from 2 August 2026, include telling people when they interact with chatbots, making generated content identifiable and labeling deepfakes and certain AI-written text on matters of public interest. Generative systems already on the market before that date have until 2 December 2026 to meet the machine-readable marking duty. The Commission published a voluntary Code of Practice on marking and labeling in June 2026 and guidelines in July 2026. Check which duties fall on you as provider or as deployer.
Explanations you can trust
A language model can produce a fluent reason that does not match what drove its output. Treat generated reasoning as a clue, not as evidence (Reasoning Traces and Planning Benchmarks). Build explanations from facts your system recorded.
| Weak explanation | Stronger explanation |
|---|---|
| "The AI determined you are not eligible." | "Returns are accepted for 30 days. Your order was delivered 41 days ago." |
| "Based on many factors, this was flagged." | "Flagged because the payee account changed two days before a large payment." |
| "I checked your account." | "I read order A-7 and invoice 22. I did not look at payment details." |
When a decision follows a rule, apply the rule in code and quote it. When it follows judgment by a model, say so, show the sources relied on and make human review easy.
Model, system and agent cards
A card is a short, structured description that travels with the thing it describes. Model cards were proposed in research published in 2019 to report intended use and performance. System cards describe a whole product with its safeguards. An agent card in the governance sense adds tools, permissions and oversight.
| Card | Written by | Key contents |
|---|---|---|
| Model card | Model provider | Intended use, evaluation results, limits |
| System card | Product builder | Components, safeguards, system-level testing |
| Agent card for governance | Agent owner | Purpose, exclusions, tools, data, oversight, owner, review date |
| A2A Agent Card | Agent publisher | Machine-readable skills and endpoint for discovery (What Is A2A? Agent Cards, Tasks and Messages) |
The Agent Card in the A2A protocol helps other software find and call an agent. It is not a risk document. Keep the governance card separate, or link the two.
Check the card and seal the evidence
Cards decay when nobody checks them. A release step can refuse an incomplete card and record fingerprints of the evidence, so later edits are visible.
"""Check an agent card and seal the evidence behind a release."""
import hashlib
import json
REQUIRED = ["name", "version", "owner", "purpose", "not_for", "model",
"tools", "data", "oversight", "known_limits", "contact", "review_by"]
card = {
"name": "support-agent", "version": "2.4.0", "owner": "Support operations",
"purpose": "Answer order questions and prepare refunds for approval",
"not_for": "Legal, medical or credit decisions",
"model": "example-model-2026-09", "tools": ["order.read", "refund.propose"],
"data": "Order records and the public help center",
"oversight": "A person approves every refund",
"known_limits": "", "contact": "agents@example.com", "review_by": "2027-02-28",
}
def card_gaps(c):
return [f for f in REQUIRED if not c.get(f)]
def seal(files):
"""Hash each evidence file, then hash the list, so later edits show."""
items = {n: hashlib.sha256(b).hexdigest() for n, b in sorted(files.items())}
root = hashlib.sha256(json.dumps(items, sort_keys=True).encode()).hexdigest()
return {"files": items, "root": root}
def changed(manifest, files):
now = seal(files)["files"]
old = manifest["files"]
return sorted(n for n in set(old) | set(now) if old.get(n) != now.get(n))
print("Missing card fields:", card_gaps(card))
card["known_limits"] = "English only; weak on multi-order complaints"
print("After the fix:", card_gaps(card))
evidence = {
"agent-card.json": json.dumps(card, sort_keys=True).encode(),
"eval-report.txt": b"cases=120 pass=114 critical_failures=0",
"approval.txt": b"release 2.4.0 approved by j.doe on 2026-11-20",
}
manifest = seal(evidence)
print("Evidence root:", manifest["root"][:16])
print("Untouched:", changed(manifest, evidence))
evidence["eval-report.txt"] = b"cases=120 pass=120 critical_failures=0"
print("After an edit:", changed(manifest, evidence))
Output:
Missing card fields: ['known_limits']
After the fix: []
Evidence root: beac99b6618a86ed
Untouched: []
After an edit: ['eval-report.txt']
The edit to the test report changed its hash, so the comparison names the file. This detects change; it does not stop someone from rewriting both file and manifest. Store the root hash somewhere the editor cannot change, such as a protected release record, or sign it. Human Approval, Thresholds and Secure Logging shows a hash chain for event logs.
Accountability that survives questions
For any consequential action, you should be able to answer six questions from records, not memory.
| Question | Record that answers it |
|---|---|
| Who asked? | Authenticated user or system identity |
| Which agent and version acted? | Agent identifier, release, model and prompt versions |
| What did it rely on? | Identifiers and versions of data and documents |
| Which rule allowed it? | Policy version, decision and reason |
| Who approved? | Approver identity, time and exact parameters |
| What happened? | Result from the system of record, and any reversal |
A responsibility matrix helps before an incident: name who is accountable (one person), who is responsible for doing the work, who must be consulted and who is informed. Include suppliers, with contract terms that give you the logs and notices you need.
Audit trails
An audit trail is narrower and stricter than debugging telemetry. It records security and business events completely, protects them from change and keeps them for a defined period.
| Property | Debug telemetry | Audit trail |
|---|---|---|
| Sampling | Often sampled | Complete for in-scope events |
| Content | Technical detail | Who, what, when, why allowed, result |
| Change protection | Normal access control | Append-only or tamper-evident |
| Access | Engineers | Few people, access itself logged |
| Retention | Short | Set by law, contract and risk |
For high-risk AI systems under the EU AI Act, providers must design for automatic logging, and deployers must keep the logs under their control for a period suited to the purpose and at least six months, unless other law says otherwise. Those high-risk duties start in December 2027 or August 2028, depending on the type of system. See Safe Logging, Sampling and Retention for reconciling them with data minimization.
Assemble an evidence pack
Build the pack automatically for each release, so audit preparation becomes collection rather than reconstruction.
- Agent card and inventory entry.
- Risk tier with the intake answers.
- Evaluation and security test reports tied to exact versions.
- Privacy and, where needed, impact assessments.
- Sign-offs and conditions.
- Monitoring summary, incidents and corrective actions.
- A manifest with hashes and the place the root hash is stored.
How a reviewer samples
An auditor typically picks real transactions and asks you to walk each from request to result. Practice that: choose five actions at random each month and time how long it takes to produce the full record. Gaps found this way are cheaper than gaps found later.
Show reviewers what they need
Oversight depends on transparency inside the organization. An approval screen should state the proposed action in plain words, the exact parameters, the records and passages relied on, the rules that passed or failed, anything the system could not check and how to refuse or edit. Link to the full trace for the rare case that needs it. Avoid a confidence percentage unless you have tested what it means; an uncalibrated number invites misplaced trust.
Be honest about limits
Useful transparency includes what the agent does badly: languages it handles poorly, cases it should refuse, data it cannot see. State how quality was measured and on which population. Avoid single scores without context, and avoid claims such as "unbiased" or "fully secure" that no test can support. Regulators in several countries have acted against overstated AI marketing, so have public claims reviewed against the evidence.
Balance openness with safety and privacy
| Tension | Practical balance |
|---|---|
| Explaining rules could help abuse them | Explain the reason for this decision without publishing detection thresholds |
| Full logs contain personal data | Keep identifiers and decisions longer than raw content |
| Suppliers will not share details | Require what you need for your duties, and record what remains unknown |
| Long notices go unread | Layer them: one sentence, then detail on request |
Close the loop with complaints and review
Disclosure is half of the duty to people. The other half is being able to act when they reply.
- Give every conversation and decision a reference the person can quote.
- Route requests for review to someone who can see the full record and change the outcome.
- Set a response time and tell the person what it is.
- Record the result and whether the agent was wrong, unclear or working as designed.
- Turn confirmed errors into evaluation cases and report themes to the owner.
A rise in "I did not know this was automated" is a disclosure fault. A rise in successful appeals is a quality fault.
Worked example: explaining a refused refund
A customer asks why the agent would not refund an order. The system answers from its records.
| Record | Value |
|---|---|
| Run | r-2210, support agent 2.4.0 |
| Data used | Order A-7, delivered 41 days earlier |
| Rule | Returns policy 2026, 30-day window |
| Decision | Not eligible for automatic refund |
| Next step offered | Review by a person for faulty goods |
To the customer: "This order arrived 41 days ago and our return window is 30 days, so I cannot refund it automatically. If the item is faulty, a colleague can review it. Your reference is r-2210." To the reviewer, the same record links to the policy text, the order and the conversation. To an auditor, it shows the rule version and that no payment was attempted. One set of facts serves all three.
Test your transparency
- Ask people unfamiliar with the product whether they knew it was AI and how to reach a person.
- Check notices on small screens, by voice and with assistive technology, in every supported language.
- Ask the agent directly whether it is human, in several phrasings, and add the cases to regression tests.
- Pick a refused request and confirm the stated reason matches the recorded rule and data.
- Time how long it takes to rebuild one action from last month.
Common mistakes
| Mistake | Better approach |
|---|---|
| Hiding the notice in legal text | Say it where the interaction happens |
| Quoting model reasoning as the cause | Explain from recorded facts and rules |
| A card written once | Check and version it at every release |
| Logging the answer but not the action | Record parameters, rule, approver and result |
| Audit data in a store anyone can edit | Restrict, protect and verify it |
| Promising review that does not exist | Staff the route and measure response times |
Transparency and audit checklist
- People are told they are dealing with AI, early and plainly.
- Significant decisions give reasons and a review route.
- Explanations are built from recorded facts.
- Each release has a complete agent card.
- Every consequential action answers the six accountability questions.
- Audit records are complete, protected and retained deliberately.
- An evidence pack is produced automatically.
- Public claims are checked against test results.
Frequently asked questions
Must every AI-assisted email be labeled?
It depends on the law that applies and whether a person reviews and takes responsibility for it, so set a clear policy and check legal duties.
Is a model card enough documentation?
No. It describes a model, while your system adds tools, data, rules and people that need their own record.
Can we explain a model's internal reasoning?
Not reliably, so explain the inputs, rules, actions and checks you can verify and say where judgment was involved.
How long should audit records be kept?
Set the period from the laws, contracts and risks for that record, then delete on schedule unless a legal hold applies.
References and further reading
- European Commission: Code of Practice on transparency of AI-generated content: questions and answers.
- European Commission: AI Act: transparency and high-risk duties.
- Model Cards for Model Reporting: the research paper that proposed model cards.
- NIST AI Risk Management Framework: accountability and transparency characteristics.
Next steps
Fairness, Privacy, Data and Copyright
Check outcomes, data and rights.
Agent Tracing and OpenTelemetry
Produce the underlying records.
Agent UX, Trust and Onboarding
Design disclosure people understand.