Documentation menuDocumentation
Witness documentation
AI notices, AI labels and machine-readable marking for Article 50 of the EU AI Act, for any web app and the Vercel AI SDK.
Try the live demoStart
- IntroductionWhat Witness is, which parts of Article 50 of the EU AI Act it helps with, and which it does not.
- Getting startedInstall Witness and add a chatbot notice, a label and image marking in a few minutes.
- What Article 50 asksThe transparency duties of Article 50 of the EU AI Act, who they apply to, the deadlines, and which Witness feature fits each one.
Guides
- Chatbot noticeTell people they are talking to an AI before the first message, as Article 50(1) and 50(5) ask.
- LabelsVisible "AI" labels for generated, edited and deepfake content, as a web component, as server-rendered HTML or in React.
- ImagesWrite the IPTC Digital Source Type into PNG, JPEG and WebP files, read it back, and how this relates to C2PA.
- TextInvisible text watermark, page metadata and visible labels for AI-generated text.
- Vercel AI SDKMark every answer and every generated image automatically with AI SDK middleware.
- ReactAiNotice, AiLabel, AiContent and useAiDisclosure from @sweberdev/witness-react.
- Keeping evidenceRecord which notices people saw and acknowledged, and which content was marked.
- CLIMark images in bulk and check files for AI marking from the command line.