---
title: "Label AI output where people see it · Agent Wranglers"
url: https://agentwranglers.se/playbook/ai-features/guardrails-and-human-review/label-ai-output
updated: 2026-10-20
licence: "All rights reserved"
---

# Label AI output where people see it

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

- Level: Required
- Chapter: [Guardrails and human review](https://agentwranglers.se/playbook/ai-features/guardrails-and-human-review)
- Rule: Mark AI-written text as AI-written wherever it is shown. Store a flag with it, so the label follows the text into emails, exports and other pages.
- How: Show a visible label, such as "Drafted by AI", on every AI answer, summary and suggestion. Store an `ai_generated` flag and the model version in the same row as the text. Clear the flag only when a person has edited and approved the text, and record who did. In the EU, Article 50 of the AI Act has applied since 2 August 2026. It requires telling people when they talk to an AI. Providers of systems that generate content must also mark it in a machine-readable way. The disclosure rule for chats and media is [say when people talk to an AI](https://agentwranglers.se/playbook/website/privacy/disclose-ai).
- Check: A browser test opens each screen that shows AI output and finds the label. A query finds no stored AI output whose flag is empty, and every row with the flag cleared has an approver.

Example:

```ts
await db.replies.insert({ ticketId, body: draft.text, aiGenerated: true, modelVersion: draft.model, approvedBy: null });
```

```python
db.replies.insert(ticket_id=ticket_id, body=draft.text, ai_generated=True, model_version=draft.model, approved_by=None)
```

```html
<p class="ai-label">Drafted by AI. Check it before you send.</p>
```

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers ai features playbook: https://agentwranglers.se/playbook/ai-features/guardrails-and-human-review/label-ai-output`.

- Previous: [Let a person decide what matters](https://agentwranglers.se/playbook/ai-features/guardrails-and-human-review/human-decides)
- [Guardrails and human review](https://agentwranglers.se/playbook/ai-features/guardrails-and-human-review)
