chat.xml
HTML gave you ownership over what you read and published.
chat.xml gives you ownership and portability for human-agent chats.
Be sovereign, own your chats.
<?xml version="1.0" encoding="UTF-8"?>
<chat version="0.1" id="ex-minimal-001">
<meta>
<title>Minimal example</title>
<source kind="synthetic"/>
</meta>
<participants>
<human id="omar" name="Omar"/>
<agent id="assist" name="Assist" model="example-model"/>
</participants>
<timeline>
<message id="m1" from="omar">
<text>How should agent retries look in the archive?</text>
</message>
<turn id="t1" from="assist">
<attempt n="1" status="error">
<error kind="timeout">model timed out</error>
</attempt>
<attempt n="2" status="ok" retry-of="1">
<thinking status="complete">
<text>Nest retries under one turn.</text>
</thinking>
<text>One turn, multiple attempts. Timeline stays linear.</text>
<attachment href="media/sketch.txt" mime="text/plain"/>
</attempt>
</turn>
</timeline>
</chat>