Artifact format
The formats every Artifact must be written in.
What it is.
The formats every ArtifactArtifactAny text or file an agent is built from or loads at runtime, such as its manifest, system prompt, prompt fragments, skills, tool definitions and evaluation cases. The agent's own artifacts live in its folder in the repository; shared ones are Registry entries, resolved into the Bundle at build. must be written in: the file type, media (MIME) type or serialization it uses, such as Markdown, JSON, HTML, CSV, PDF, a source-code file or a PNG image. The Artifact schema defines what an output contains. The format defines how that content is written down, stored and sent.
What to consider.
Use these as a checklist when you review an agent. Tick each one you have covered.
Media type
A MIME type or file extension (for example application/json, text/markdown, image/png) so the receiver knows how to open it.
Encoding
Plain text, structured data, or binary (often base64-encoded when embedded in a message).
Delivery mode
Whether the artifact is sent inline, as a file attachment, or as a link to where it's stored.
Rendering expectations
Whether it's meant for machines (JSON, YAML), for people (Markdown, HTML, PDF), or for running (code, scripts).
Why it matters.
The right format makes an output usable wherever it goes next.
JSON suits handoffs between agentsAgentA governed unit of behaviour defined by a manifest: prompt, model, skills, tools and policies. and toolsToolA named operation an agent can call to act outside its own context, such as reading a record or sending a message. A tool is served by a tool server (an MCP server), has an Effect and can be called only if it is on the agent's allowlist., Markdown or HTML suits human review, and native files like .docx or .xlsx suit business workflows. Agents and protocols often negotiate formats. In A2A, for example, agents declare which input and output media types they support, so the sender and receiver agree on a format the receiver can handle.
Related subjects.
Stuck on another word?
Every AI governance term, explained in plain English.