Reference · Agent Kit
<agent-kit-artifact>
Agent Kit element
You set the type and language and author the content; the card renders it as a cached specimen with a refresh stamp.
Children
-
<agent-kit-artifact-content>`<agent-kit-artifact-content>` — the current version's content, authored (markdown source, JSON text, diff text, or code as authored); exactly one. The document's own escaping governs — the element never parses, re-renders, or executes it.
Example
agent-kit-artifact.html
source
1
<agent-kit-artifact org="acme" project="semtext" key="artifact-spec" type="markdown">
2
<agent-kit-artifact-content>
3
# Extraction spec
4
5
The record is the authored body…
6
</agent-kit-artifact-content>
7
</agent-kit-artifact>
render
No shipped runtime for this element — the authored example renders as plain HTML.
Source: spec/schema/agent-kit/artifact.md