Traces now supports Prime Agent, the self-improving RLM harness from Prime Intellect. Your Prime Agent sessions are now captured in Traces
Prime Agent is a self-improving RLM (Recursive Language Model) harness built for long-running, autonomous coding tasks. It executes through IPython and maintains a self-modifiable harness state, so it can refine its own behavior mid-run. Prime Agent also spawns nested RLM sub-sessions to break work apart. Traces can capture all of it.
Prime Agent writes each root session as a JSONL event log under ~/.prime/agent/sessions/, and child transcripts under /.prime/agent/session-artifacts/.
Each JSONL line is discriminated by type. Traces normalizes into a commmon structure:
thinking blocks, assistant text, tool calls, and tool results all map to their own trace events, capturing the complete back-and-forth.ipython) and mark a result as failed when Prime reports details.status: error or isError.prime-agent.refinement records when it edits its own harness, which captures the refinement's scope, summary, rationale, harnessStatePath, and the exact before/after appliedEdits. Traces surfaces these as agent_state.update system events so you can see the agent improving itself.parentSession and rlmDepth. Traces walks those links so a session and every sub-session it spawns stay connected.Session titles come from the first user prompt, git metadata (remote URL, branch, commit) is picke dup from the session header when present.
With this update, you can:
~/.prime/agent/sessions/ and publishes the full execution with traces share.prime-agent --resume <id>.traces share to publish a Prime Agent session and get a link.