<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>agentminutes</title><link>https://agentminutes.dev/</link><description>Recent content on agentminutes</description><generator>Hugo</generator><language>en-US</language><atom:link href="https://agentminutes.dev/index.xml" rel="self" type="application/rss+xml"/><item><title>Quickstart</title><link>https://agentminutes.dev/docs/quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/quickstart/</guid><description>&lt;h2 id="install"&gt;Install &lt;a href="#install" class="anchor" aria-hidden="true"&gt;&lt;i class="material-icons align-middle"&gt;link&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;macOS users can &lt;code&gt;brew&lt;/code&gt; install:&lt;/p&gt;



 
 
 

 
 
 
 

 

 &lt;div class="prism-codeblock "&gt;
 &lt;pre id="6ed6973" class="language-sh "&gt;
 &lt;code&gt;brew install agent-ecosystem/tap/agentminutes&lt;/code&gt;
 &lt;/pre&gt;
 &lt;/div&gt;
&lt;p&gt;For other install options, including npm, PyPI, go install, and prebuilt
binaries, refer to &lt;a href="https://agentminutes.dev/docs/installation/"&gt;Installation&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="convert-a-transcript"&gt;Convert a transcript &lt;a href="#convert-a-transcript" class="anchor" aria-hidden="true"&gt;&lt;i class="material-icons align-middle"&gt;link&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;To parse a native transcript into a normalized session record, use the
&lt;code&gt;convert&lt;/code&gt; command (the harness is auto-detected):&lt;/p&gt;



 
 
 

 
 
 
 

 

 &lt;div class="prism-codeblock "&gt;
 &lt;pre id="086f0c0" class="language-sh "&gt;
 &lt;code&gt;agentminutes convert ~/.claude/projects/my-project/some-session.jsonl&lt;/code&gt;
 &lt;/pre&gt;
 &lt;/div&gt;
&lt;p&gt;The default output is one JSON document: session metadata, the ordered
events, token totals, and a report accounting for everything that did not
become an event.&lt;/p&gt;</description></item><item><title>Use Cases</title><link>https://agentminutes.dev/docs/use-cases/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/use-cases/</guid><description>&lt;p&gt;Harness transcripts record what an agent actually did: which tools it
chose, what it retrieved, what it saw back, what it spent. That makes
them the evidence base for any question about agent behavior. The catch
is that every harness writes a different format, so any analysis
written against one harness&amp;rsquo;s logs stops at that harness. Normalizing
to one schema is what turns &amp;ldquo;read four formats&amp;rdquo; into &amp;ldquo;answer the
question once.&amp;rdquo; You might want to use agentminutes to:&lt;/p&gt;</description></item><item><title>Installation</title><link>https://agentminutes.dev/docs/installation/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/installation/</guid><description>&lt;h2 id="cli"&gt;CLI &lt;a href="#cli" class="anchor" aria-hidden="true"&gt;&lt;i class="material-icons align-middle"&gt;link&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;


 
 
 

 
 
 
 

 

 &lt;div class="prism-codeblock "&gt;
 &lt;pre id="6ed6973" class="language-sh "&gt;
 &lt;code&gt;brew install agent-ecosystem/tap/agentminutes&lt;/code&gt;
 &lt;/pre&gt;
 &lt;/div&gt;



 
 
 

 
 
 
 

 

 &lt;div class="prism-codeblock "&gt;
 &lt;pre id="ead47dd" class="language-sh "&gt;
 &lt;code&gt;npm install -g agentminutes&lt;/code&gt;
 &lt;/pre&gt;
 &lt;/div&gt;



 
 
 

 
 
 
 

 

 &lt;div class="prism-codeblock "&gt;
 &lt;pre id="8bb215f" class="language-sh "&gt;
 &lt;code&gt;pip install agentminutes&lt;/code&gt;
 &lt;/pre&gt;
 &lt;/div&gt;



 
 
 

 
 
 
 

 

 &lt;div class="prism-codeblock "&gt;
 &lt;pre id="7fee32f" class="language-sh "&gt;
 &lt;code&gt;go install github.com/agent-ecosystem/agentminutes/cmd/agentminutes@latest&lt;/code&gt;
 &lt;/pre&gt;
 &lt;/div&gt;
&lt;p&gt;The npm and pip packages wrap the same prebuilt Go binary (macOS, Linux,
and Windows on x64/arm64); nothing extra is downloaded at install time.
Prebuilt static binaries are also on the
&lt;a href="https://github.com/agent-ecosystem/agentminutes/releases" rel="external" target="_blank"&gt;releases page&lt;svg width="16" height="16" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path fill="currentColor" d="M14 5c-.552 0-1-.448-1-1s.448-1 1-1h6c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1s-1-.448-1-1v-3.586l-7.293 7.293c-.391.39-1.024.39-1.414 0-.391-.391-.391-1.024 0-1.414l7.293-7.293h-3.586zm-9 2c-.552 0-1 .448-1 1v11c0 .552.448 1 1 1h11c.552 0 1-.448 1-1v-4.563c0-.552.448-1 1-1s1 .448 1 1v4.563c0 1.657-1.343 3-3 3h-11c-1.657 0-3-1.343-3-3v-11c0-1.657 1.343-3 3-3h4.563c.552 0 1 .448 1 1s-.448 1-1 1h-4.563z"/&gt;&lt;/svg&gt;&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>CLI</title><link>https://agentminutes.dev/docs/cli/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/cli/</guid><description>&lt;h2 id="agentminutes-convert"&gt;agentminutes convert &lt;a href="#agentminutes-convert" class="anchor" aria-hidden="true"&gt;&lt;i class="material-icons align-middle"&gt;link&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;To parse a transcript into a normalized session record, use &lt;code&gt;convert&lt;/code&gt;
(harness auto-detected):&lt;/p&gt;



 
 
 

 
 
 
 

 

 &lt;div class="prism-codeblock "&gt;
 &lt;pre id="8414063" class="language-sh "&gt;
 &lt;code&gt;agentminutes convert ~/.claude/projects/my-project/some-session.jsonl&lt;/code&gt;
 &lt;/pre&gt;
 &lt;/div&gt;
&lt;p&gt;The default output is one JSON document: session metadata, the ordered
events, token totals, and a report accounting for everything that did not
become an event. &lt;code&gt;totals&lt;/code&gt; is omitted entirely when the transcript records
no usage (Antigravity), so a measured zero is never conflated with &amp;ldquo;not
recorded&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;This is the output for a minimal two-message session, with the middle of
the event list trimmed:&lt;/p&gt;</description></item><item><title>Go Library</title><link>https://agentminutes.dev/docs/library/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/library/</guid><description>&lt;h2 id="whole-file-parsing"&gt;Whole-file parsing &lt;a href="#whole-file-parsing" class="anchor" aria-hidden="true"&gt;&lt;i class="material-icons align-middle"&gt;link&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;To parse a transcript in one call, use &lt;code&gt;Parse&lt;/code&gt;:&lt;/p&gt;



 
 
 

 
 
 
 

 

 &lt;div class="prism-codeblock "&gt;
 &lt;pre id="880f7dd" class="language-go "&gt;
 &lt;code&gt;f, err := os.Open(&amp;#34;session.jsonl&amp;#34;)
if err != nil {
 return err
}
defer f.Close()

s, err := agentminutes.Parse(f, harness.ClaudeCode, harness.Options{})
if err != nil {
 return err
}

fmt.Println(s.Meta.HarnessVersion, len(s.Events), s.Totals.OutputTokens)&lt;/code&gt;
 &lt;/pre&gt;
 &lt;/div&gt;
&lt;p&gt;&lt;code&gt;harness.Options&lt;/code&gt; carries the per-parse choices: &lt;code&gt;Permissive&lt;/code&gt; (preserve
unclassifiable records as &lt;code&gt;unknown&lt;/code&gt; events instead of failing),
&lt;code&gt;KeepRaw&lt;/code&gt; (retain native records in provenance), &lt;code&gt;MaxPayloadBytes&lt;/code&gt;
(replace oversized tool results with a placeholder), &lt;code&gt;HarnessVersionHint&lt;/code&gt;
(for formats that record no version), &lt;code&gt;OnSkip&lt;/code&gt; (a callback per skipped
record), and &lt;code&gt;TextForm&lt;/code&gt; (&lt;code&gt;TextBare&lt;/code&gt;, the default, or &lt;code&gt;TextDelivered&lt;/code&gt;,
which puts injected text in a &lt;code&gt;system&lt;/code&gt; event&amp;rsquo;s &lt;code&gt;Text&lt;/code&gt; as the harness
delivered it, wrapper included, where the transcript records that form;
the CLI&amp;rsquo;s &lt;code&gt;--text-form&lt;/code&gt;).&lt;/p&gt;</description></item><item><title>Session Discovery</title><link>https://agentminutes.dev/docs/discovery/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/discovery/</guid><description>&lt;p&gt;Harnesses write transcripts to global, harness-owned locations
(&lt;code&gt;~/.claude/projects&lt;/code&gt;, &lt;code&gt;~/.codex/sessions&lt;/code&gt;,
&lt;code&gt;~/.copilot/session-state&lt;/code&gt;, &lt;code&gt;~/.gemini/antigravity-cli/brain&lt;/code&gt;). Discovery scans those roots, reads
each transcript&amp;rsquo;s identity cheaply (a header read via the real parser,
never a second format), and filters by the keys harnesses actually
record.&lt;/p&gt;
&lt;h2 id="from-the-cli"&gt;From the CLI &lt;a href="#from-the-cli" class="anchor" aria-hidden="true"&gt;&lt;i class="material-icons align-middle"&gt;link&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;The &lt;code&gt;sessions&lt;/code&gt; command is the discovery entry point; see
&lt;a href="https://agentminutes.dev/docs/cli/#agentminutes-sessions"&gt;CLI&lt;/a&gt; for its filters and examples.&lt;/p&gt;
&lt;h2 id="from-go"&gt;From Go &lt;a href="#from-go" class="anchor" aria-hidden="true"&gt;&lt;i class="material-icons align-middle"&gt;link&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;code&gt;agentminutes.Scan&lt;/code&gt; enumerates every harness&amp;rsquo;s default root.
&lt;code&gt;agentminutes.Locate&lt;/code&gt; resolves a known session ID to its transcript
path(s), which is the capture-time primitive for runners that archive
transcripts right after a headless invocation:&lt;/p&gt;</description></item><item><title>Subagents</title><link>https://agentminutes.dev/docs/subagents/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/subagents/</guid><description>&lt;p&gt;Harnesses can delegate work to subagents: separate conversations with
their own context windows, tool loops, and token usage. Three of the
four supported harnesses write each subagent conversation somewhere
other than the parent transcript, and the fourth writes it inside the
parent. Either way, a naive reading of one file gets the task wrong: it
either misses the delegated work entirely (the tool calls, the files
read, and roughly all of the subagents&amp;rsquo; token usage are in files you
never opened) or it counts the subagent&amp;rsquo;s work as the parent&amp;rsquo;s.&lt;/p&gt;</description></item><item><title>The Schema</title><link>https://agentminutes.dev/docs/schema/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/schema/</guid><description>&lt;p&gt;A normalized session is an ordered list of events. Exactly one payload
field is set per event, matching its &lt;code&gt;kind&lt;/code&gt;:&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Kind&lt;/th&gt;
 &lt;th&gt;Payload&lt;/th&gt;
 &lt;th&gt;ACP analog&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;session_meta&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Session identity: harness, version, session ID, cwd, subagent markers&lt;/td&gt;
 &lt;td&gt;none (extension)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;user_message&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;User-role content, with an origin marker: &lt;code&gt;human&lt;/code&gt; or &lt;code&gt;harness&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;user_message_chunk&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;assistant_message&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;One complete assistant API message&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;agent_message_chunk&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;thinking&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Extended-thinking block&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;agent_thought_chunk&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;tool_call&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Tool invocation with full input&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;tool_call&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;tool_result&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Tool outcome, correlated by tool call ID&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;tool_call_update&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;system&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Harness/API activity: injected context (its model-visible text in &lt;code&gt;text&lt;/code&gt;), diagnostics, errors&lt;/td&gt;
 &lt;td&gt;none (extension)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;unknown&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Unclassifiable record, preserved verbatim (permissive mode only)&lt;/td&gt;
 &lt;td&gt;none (extension)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="points-worth-knowing"&gt;Points worth knowing &lt;a href="#points-worth-knowing" class="anchor" aria-hidden="true"&gt;&lt;i class="material-icons align-middle"&gt;link&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The event vocabulary is shared.&lt;/strong&gt; Event kinds and
tool classifications follow the
&lt;a href="https://agentclientprotocol.com/" rel="external" target="_blank"&gt;Agent Client Protocol&lt;svg width="16" height="16" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path fill="currentColor" d="M14 5c-.552 0-1-.448-1-1s.448-1 1-1h6c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1s-1-.448-1-1v-3.586l-7.293 7.293c-.391.39-1.024.39-1.414 0-.391-.391-.391-1.024 0-1.414l7.293-7.293h-3.586zm-9 2c-.552 0-1 .448-1 1v11c0 .552.448 1 1 1h11c.552 0 1-.448 1-1v-4.563c0-.552.448-1 1-1s1 .448 1 1v4.563c0 1.657-1.343 3-3 3h-11c-1.657 0-3-1.343-3-3v-11c0-1.657 1.343-3 3-3h4.563c.552 0 1 .448 1 1s-.448 1-1 1h-4.563z"/&gt;&lt;/svg&gt;&lt;/a&gt;&amp;rsquo;s
session-update vocabulary where an analog exists. Token usage fields
follow OTel GenAI semantic conventions. Every field in the schema is
tagged with its provenance (&lt;code&gt;acp&lt;/code&gt;, &lt;code&gt;otel&lt;/code&gt;, or &lt;code&gt;ext&lt;/code&gt;), enforced by a
test, so the mapping cannot rot.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Token fields carry provider semantics; totals carry a derived
comparable field.&lt;/strong&gt; The field names are shared, and the meanings
follow the provider: OpenAI-style usage (codex, and copilot from
1.0.105) reports &lt;code&gt;input_tokens&lt;/code&gt; as the total prompt with the cache
fields as subsets of it (codex&amp;rsquo;s native &lt;code&gt;cache_write_input_tokens&lt;/code&gt;
and copilot&amp;rsquo;s &lt;code&gt;cacheWriteTokens&lt;/code&gt; map to
&lt;code&gt;cache_creation_input_tokens&lt;/code&gt;), while Anthropic-style usage
(claude-code, and antigravity from agy 1.4.12) reports it as only the
uncached remainder alongside disjoint cache read and creation fields.
Adapters preserve what the harness recorded, so &lt;code&gt;input_tokens&lt;/code&gt; is
never directly comparable across harnesses (and transcripts from
before those releases record no per-message usage at all, so their
&lt;code&gt;totals&lt;/code&gt; are omitted; see
&lt;a href="https://agentminutes.dev/docs/token-comparison/"&gt;Comparing Token Counts&lt;/a&gt;). Session totals therefore also carry
&lt;code&gt;total_prompt_tokens&lt;/code&gt;, derived from each harness&amp;rsquo;s documented
convention: that is the number to compare. See the
&lt;a href="https://agentminutes.dev/docs/example-comparison/#what-the-comparison-shows"&gt;worked comparison&lt;/a&gt;
for a real case where the naive &lt;code&gt;input_tokens&lt;/code&gt; reading is wrong by
four orders of magnitude, and
&lt;a href="https://agentminutes.dev/docs/token-comparison/"&gt;Comparing Token Counts&lt;/a&gt; for the full field
guide (caches, reasoning tokens, missing usage, and cost caveats).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;assistant_message&lt;/code&gt; is the accounting anchor.&lt;/strong&gt; Harnesses may split
one API message across many records with usage written as a growing
snapshot. The adapter folds them and takes the final snapshot. Exactly
one &lt;code&gt;assistant_message&lt;/code&gt; is emitted per API message, even when all of
its content became &lt;code&gt;thinking&lt;/code&gt; or &lt;code&gt;tool_call&lt;/code&gt; events, so token totals
are always derivable. Events from the same API message share a
&lt;code&gt;message_id&lt;/code&gt;. When a harness interleaves a subagent&amp;rsquo;s conversation
into the parent transcript (copilot), every event of that
conversation carries the subagent&amp;rsquo;s &lt;code&gt;agent_id&lt;/code&gt;; it is empty for the
main agent.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;One session record covers one transcript; a task can span
several.&lt;/strong&gt; A harness that delegates to subagents writes each
subagent conversation as its own transcript, and each parses to its
own session with its own &lt;code&gt;totals&lt;/code&gt;. Where the harness records it
(claude-code, codex), a subagent&amp;rsquo;s meta shares the parent&amp;rsquo;s
&lt;code&gt;session_id&lt;/code&gt; and carries &lt;code&gt;subagent_id&lt;/code&gt; with &lt;code&gt;is_subagent: true&lt;/code&gt;, so
grouping a task is a &lt;code&gt;session_id&lt;/code&gt; match. Copilot CLI is the
exception: its subagents write into the parent transcript, so one
session record already covers the task, and &lt;code&gt;agent_id&lt;/code&gt; is what
separates the parent&amp;rsquo;s events from each subagent&amp;rsquo;s. Task-scope
numbers come from &lt;code&gt;stats --include-subagents&lt;/code&gt; (or
&lt;code&gt;agentminutes.Task&lt;/code&gt;), which gathers a session&amp;rsquo;s transcripts and
reports an aggregate plus a &lt;code&gt;by_agent&lt;/code&gt; split; a single session&amp;rsquo;s
&lt;code&gt;stats&lt;/code&gt; carries &lt;code&gt;by_agent&lt;/code&gt; itself when its events span more than one
agent. See &lt;a href="https://agentminutes.dev/docs/subagents/#task-summaries"&gt;Subagents&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;tool_call&lt;/code&gt; and &lt;code&gt;tool_result&lt;/code&gt; stay separate, in stream order.&lt;/strong&gt;
Ordering is data. Interleaving, parallel tool execution, and retries
are visible in the sequence. &lt;code&gt;Session.ToolInteractions()&lt;/code&gt; provides the
joined view, including unanswered calls and orphaned results.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Results carry what the model saw, plus what the harness knew.&lt;/strong&gt;
&lt;code&gt;tool_result.content&lt;/code&gt; is the post-pipeline content the model actually
received. Harness sidecar data rides along verbatim in &lt;code&gt;enrichment&lt;/code&gt;,
with retrieval metrics promoted to &lt;code&gt;fetch&lt;/code&gt; (URL, raw bytes fetched,
status, duration) when present. For summarizing pipelines like Claude
Code&amp;rsquo;s WebFetch, comparing &lt;code&gt;fetch.raw_bytes&lt;/code&gt; against the content size
measures the pipeline&amp;rsquo;s compression directly. Which field the model
saw is a per-tool decision the adapters pin with a test: every long
string in &lt;code&gt;enrichment&lt;/code&gt; that the content does not account for is
listed with its reason (the raw file behind a numbered rendering, a
UI diff, the call&amp;rsquo;s own input, output the harness persisted instead
of showing). An image the model saw
is an &lt;code&gt;image&lt;/code&gt; content block holding the harness&amp;rsquo;s own descriptor:
the bytes inline for Claude Code, a path beside the transcript for
Antigravity, and a reference to a separate asset record for Copilot
CLI, so the block is always present and its size is not comparable.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;is_error&lt;/code&gt; means the call failed as far as the model could tell,
and fetch failures are the exception to compare with care.&lt;/strong&gt; Every
adapter marks a tool that could not run (a denied or absent path, an
edit whose target text is missing) and a shell command that exited
nonzero as failed, including harnesses that record the nonzero exit
as a successful tool run. Fetch failures diverge: Copilot CLI and
Antigravity flag a 404, Claude Code does not (the status is in
&lt;code&gt;fetch.status_code&lt;/code&gt; and the content is prose about the failure), and
Codex records nothing that distinguishes a failed fetch from a
successful one. &lt;code&gt;stats.tool_errors&lt;/code&gt; inherits these conventions, so a
cross-harness error rate needs the fetch calls separated out; see
&lt;a href="https://agentminutes.dev/docs/harnesses/#validation-coverage"&gt;Harness Support&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;system.text&lt;/code&gt; is the record&amp;rsquo;s model-visible text, when it carries
one.&lt;/strong&gt; Injected context surfaces as &lt;code&gt;text&lt;/code&gt;, bare: the system prompt,
a CLAUDE.md body, a reminder, a delivered skill body, a listing. The
tags of any wrapper the harness delivered it in (Claude Code&amp;rsquo;s
&lt;code&gt;&amp;lt;system-reminder&amp;gt;&lt;/code&gt;, Copilot&amp;rsquo;s &lt;code&gt;&amp;lt;skill-context&amp;gt;&lt;/code&gt;) stay in &lt;code&gt;details&lt;/code&gt;,
while content the wrapper carries of its own (Copilot&amp;rsquo;s names the
skill&amp;rsquo;s base directory and lists the files under its directory) is in
&lt;code&gt;text&lt;/code&gt;; &lt;code&gt;convert --text-form delivered&lt;/code&gt; (library: &lt;code&gt;Options.TextForm&lt;/code&gt;)
puts the wrapped form in &lt;code&gt;text&lt;/code&gt; instead, where the transcript records
it. &lt;code&gt;text&lt;/code&gt; is also where
a diagnostic&amp;rsquo;s message lands (an abort reason, an API error, a
session notice), which the model never saw; &lt;code&gt;subtype&lt;/code&gt; tells the two
apart. What deliberately stays in &lt;code&gt;details&lt;/code&gt; only is enumerated per
adapter with a reason (bytes, paths, tool schemas, echoes of text
surfaced by another event), and a test holds each adapter to that
list over its fixtures and the local corpus.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Every event points back at its source.&lt;/strong&gt; &lt;code&gt;provenance&lt;/code&gt; carries the
1-based line range in the native transcript, and optionally the
verbatim records (&lt;code&gt;--keep-raw&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The report closes the loop.&lt;/strong&gt; &lt;code&gt;report&lt;/code&gt; counts skipped record types
(harness UI bookkeeping with no model-visible content), unknown
events, and orphaned tool results. Between events, skips, and errors,
every input line is accounted for.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The JSON encoding of &lt;code&gt;Session&lt;/code&gt; and &lt;code&gt;Event&lt;/code&gt; is the cross-language output
contract; the &lt;code&gt;agentminutes_schema&lt;/code&gt; field identifies its revision
(currently &lt;code&gt;0.2.0&lt;/code&gt;).
The Go types in
&lt;a href="https://github.com/agent-ecosystem/agentminutes/tree/main/session" rel="external" target="_blank"&gt;&lt;code&gt;session&lt;/code&gt;&lt;svg width="16" height="16" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path fill="currentColor" d="M14 5c-.552 0-1-.448-1-1s.448-1 1-1h6c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1s-1-.448-1-1v-3.586l-7.293 7.293c-.391.39-1.024.39-1.414 0-.391-.391-.391-1.024 0-1.414l7.293-7.293h-3.586zm-9 2c-.552 0-1 .448-1 1v11c0 .552.448 1 1 1h11c.552 0 1-.448 1-1v-4.563c0-.552.448-1 1-1s1 .448 1 1v4.563c0 1.657-1.343 3-3 3h-11c-1.657 0-3-1.343-3-3v-11c0-1.657 1.343-3 3-3h4.563c.552 0 1 .448 1 1s-.448 1-1 1h-4.563z"/&gt;&lt;/svg&gt;&lt;/a&gt;
are documentation for it.&lt;/p&gt;</description></item><item><title>Comparing Token Counts</title><link>https://agentminutes.dev/docs/token-comparison/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/token-comparison/</guid><description>&lt;p&gt;Token counts are the first thing stakeholders ask for and the easiest
thing to get wrong. Two transcripts from different harnesses both report
an &lt;code&gt;input_tokens&lt;/code&gt; number, the fields have identical names in the
agentminutes schema, and a naive comparison of them can be off by four
orders of magnitude. This page explains where each number comes from,
which numbers are comparable across harnesses, and which comparisons
need more care than a single subtraction.&lt;/p&gt;</description></item><item><title>Harness Support</title><link>https://agentminutes.dev/docs/harnesses/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/harnesses/</guid><description>&lt;h2 id="supported-harnesses"&gt;Supported harnesses &lt;a href="#supported-harnesses" class="anchor" aria-hidden="true"&gt;&lt;i class="material-icons align-middle"&gt;link&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Harness&lt;/th&gt;
 &lt;th&gt;Status&lt;/th&gt;
 &lt;th&gt;Native format&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Antigravity CLI&lt;/td&gt;
 &lt;td&gt;Supported&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;~/.gemini/antigravity-cli/brain/&amp;lt;id&amp;gt;/.system_generated/logs/transcript_full.jsonl&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Claude Code&lt;/td&gt;
 &lt;td&gt;Supported&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;~/.claude/projects/&amp;lt;project&amp;gt;/*.jsonl&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Codex CLI&lt;/td&gt;
 &lt;td&gt;Supported&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl&lt;/code&gt; (or &lt;code&gt;.jsonl.zst&lt;/code&gt;, compressed)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Gemini CLI (classic)&lt;/td&gt;
 &lt;td&gt;Not planned&lt;/td&gt;
 &lt;td&gt;Retired for individual users June 2026; Antigravity is its successor&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;GitHub Copilot CLI&lt;/td&gt;
 &lt;td&gt;Supported&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;~/.copilot/session-state/&amp;lt;session-id&amp;gt;/events.jsonl&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="validation-coverage"&gt;Validation coverage &lt;a href="#validation-coverage" class="anchor" aria-hidden="true"&gt;&lt;i class="material-icons align-middle"&gt;link&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Adapters are validated against real transcripts with two mechanical
checks. Line accounting: every source line becomes an event, a counted
skip, or an error. Text surfacing: every long string an event keeps in
its &lt;code&gt;details&lt;/code&gt; or &lt;code&gt;enrichment&lt;/code&gt; is either accounted for by the event&amp;rsquo;s
&lt;code&gt;text&lt;/code&gt; or content, or listed by the adapter with the reason it is not
model-visible text, and where a harness records that it delivered text
(Claude Code&amp;rsquo;s rendered reminders, Copilot CLI&amp;rsquo;s skill delivery hash)
the adapter is held to that record. See the
&lt;a href="https://agentminutes.dev/docs/schema/"&gt;schema page&lt;/a&gt; for what &lt;code&gt;text&lt;/code&gt; promises.&lt;/p&gt;</description></item><item><title>Design Notes</title><link>https://agentminutes.dev/docs/design/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/design/</guid><description>&lt;p&gt;The behaviors agentminutes encodes, made explicit:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Loud failure.&lt;/strong&gt; An unrecognized record type or a malformed record is
a parse error identifying the harness, harness version, and line,
never a silent skip. Dropped events corrupt behavioral metrics; if you
prefer degraded output over failure, opt in with &lt;code&gt;--permissive&lt;/code&gt; and
the dropped-nothing guarantee moves into &lt;code&gt;unknown&lt;/code&gt; events. Adapters
are tested with a line-accounting invariant that mechanically verifies
the guarantee.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Model-visible text is surfaced, never buried.&lt;/strong&gt; A &lt;code&gt;system&lt;/code&gt; event&amp;rsquo;s
&lt;code&gt;text&lt;/code&gt; is the record&amp;rsquo;s model-visible text when it carries one (a
system prompt, an injected reminder, a delivered skill body), and a
tool result&amp;rsquo;s &lt;code&gt;content&lt;/code&gt; is what the model received, with the
harness&amp;rsquo;s sidecar in &lt;code&gt;enrichment&lt;/code&gt;. Consumers that trace a phrase
across a session read those fields and never harness-shaped
&lt;code&gt;details&lt;/code&gt;, so an adapter that left text there would hide it. A second
invariant enforces this: every long string an event keeps in its
details or enrichment either is accounted for by the event&amp;rsquo;s text or
is enumerated per adapter with the reason it is not text (a path,
bytes, a tool schema, a UI rendering the model never saw), and where
a harness records that it delivered text, the adapter is held to that
record with no length threshold.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Parsing is post-hoc, never in-band.&lt;/strong&gt; agentminutes reads the
transcripts harnesses already write. Driving harnesses through adapter
protocols could perturb the behavior being measured, so ACP
contributes its schema here, not its transport.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Streaming is the core.&lt;/strong&gt; Adapters emit
&lt;code&gt;iter.Seq2[session.Event, error]&lt;/code&gt;; whole-file parsing is a thin
accumulator over it. Note that streaming does not guarantee constant
memory for every harness: line-oriented formats (Claude Code) stream
genuinely, while single-document formats must buffer internally.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Explicit registry.&lt;/strong&gt; Supported adapters are a visible list in the
facade, never &lt;code&gt;init()&lt;/code&gt; side effects.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="contributing-an-adapter"&gt;Contributing an adapter &lt;a href="#contributing-an-adapter" class="anchor" aria-hidden="true"&gt;&lt;i class="material-icons align-middle"&gt;link&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Adapters live under
&lt;a href="https://github.com/agent-ecosystem/agentminutes/tree/main/harness" rel="external" target="_blank"&gt;&lt;code&gt;harness/&lt;/code&gt;&lt;svg width="16" height="16" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path fill="currentColor" d="M14 5c-.552 0-1-.448-1-1s.448-1 1-1h6c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1s-1-.448-1-1v-3.586l-7.293 7.293c-.391.39-1.024.39-1.414 0-.391-.391-.391-1.024 0-1.414l7.293-7.293h-3.586zm-9 2c-.552 0-1 .448-1 1v11c0 .552.448 1 1 1h11c.552 0 1-.448 1-1v-4.563c0-.552.448-1 1-1s1 .448 1 1v4.563c0 1.657-1.343 3-3 3h-11c-1.657 0-3-1.343-3-3v-11c0-1.657 1.343-3 3-3h4.563c.552 0 1 .448 1 1s-.448 1-1 1h-4.563z"/&gt;&lt;/svg&gt;&lt;/a&gt;,
one package per harness, implementing the &lt;code&gt;harness.Adapter&lt;/code&gt; interface.
To add one, follow
&lt;a href="https://github.com/agent-ecosystem/agentminutes/blob/main/DEVELOPMENT.md" rel="external" target="_blank"&gt;DEVELOPMENT.md&lt;svg width="16" height="16" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path fill="currentColor" d="M14 5c-.552 0-1-.448-1-1s.448-1 1-1h6c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1s-1-.448-1-1v-3.586l-7.293 7.293c-.391.39-1.024.39-1.414 0-.391-.391-.391-1.024 0-1.414l7.293-7.293h-3.586zm-9 2c-.552 0-1 .448-1 1v11c0 .552.448 1 1 1h11c.552 0 1-.448 1-1v-4.563c0-.552.448-1 1-1s1 .448 1 1v4.563c0 1.657-1.343 3-3 3h-11c-1.657 0-3-1.343-3-3v-11c0-1.657 1.343-3 3-3h4.563c.552 0 1 .448 1 1s-.448 1-1 1h-4.563z"/&gt;&lt;/svg&gt;&lt;/a&gt;:
it covers the full process from generating fresh ground-truth
transcripts and writing a format inventory through implementation
conventions, the standard test suite, registration, and verification.&lt;/p&gt;</description></item><item><title>Example: Comparing Harnesses</title><link>https://agentminutes.dev/docs/example-comparison/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://agentminutes.dev/docs/example-comparison/</guid><description>&lt;p&gt;This page walks a real comparison end to end, then widens it. The first
part follows one task on two harnesses in detail; the second puts all
four supported harnesses side by side on three tasks. The same task ran
on Claude Code and Codex CLI:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Create a file named hello.txt containing exactly the word hello, then
reply done.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Both harnesses created the file and replied &lt;code&gt;done&lt;/code&gt;. Everything below is
about what the transcripts reveal happened between the prompt and that
identical answer, and every number on this page comes from the two real
sessions.&lt;/p&gt;</description></item></channel></rss>